Most of us have this misconception that transformers can not be used inside loop. well i had this misconception. Recently i got insight into this and got clarification that transformer can be used inside loop.

Transformers can be used in a loop. What they do not do is accept a list when a single item is expected. The error message generated in this case is completely misleading. If you receive this error, you’re passing a list instead of a single item. Pass a single item and the error will disappear.

Thanks Reamon for the clarification.

2 Responses

Leave a Reply

Your email address will not be published. Required fields are marked *