NextGen Knowledge Center

Iterator Transformer Step

This is a special type of step that allows you to perform extract / transform operations while iterating through an array or list of XML nodes. For additional information, see Working With Iterators .

Item NameDescription
Iterate OnThe element to iterate on. This may be a list of E4X XML nodes, or a Java / JavaScript array.
Index VariableThe index variable to use for each iteration.
Drag-and-Drop Substitutions

When drag-and-dropping values into the children underneath this Iterator, the index variable (e.g. "[i]") will be injected after any of these prefixes.

For example if your index variable is i and you have msg['PID'] in the Drag-and-Drop Substitutions table, when you drag the value msg['PID']['PID.3']['PID.3.1'].toString() from the Message Trees Tab into a child step, it will automatically be replaced with msg['PID'][i]['PID.3']['PID.3.1'].toString().