This is a common misperception caused by an ill-worded error message.
There is no problem with using transformers inside a loop. What you can’t do is try to pass a list (an array) to a transformer that expects a single variable–and this is true whether the transformer is in a loop or not.
The Developer User’s Guide covers this in the section named “Transformers and Array Variables.”
#Flow-and-Java-services#Integration-Server-and-ESB#webMethods