Use a For Each when it is necessary to iterate over a set of records, or a list of values, and generate an output record for each one.
Properties Tab
Field
Description
Example Value
Name
The name given to the node and displayed on the canvas.
MyForEach
Input Expression
The Input Expression iterates over the data provided in the Input Parameters and the records are passed to the Output Attributes in the form _result.value.
Input Parameters are referenced using their name, prefixed with the name of the connector. For example, in.MyAttribute
If an empty record set or list is provided then no output will be generated.
// Receives a list of Invoice IDs, these are iterated over using
in.InvoiceID
Inputs Parameters
Can accept a single Driving input connection point.
The grid contains a list of all input connection points and their type.
To add an Input Parameter, in the section toolbar click Add New and set its properties.
To edit an existing Input Parameter, double-click it in the list to open its properties.
To remove an Input Parameter, select one (or more) from the list and in the section toolbar click Delete.
Input Parameters can be mapped to by clocking on the incoming connector.
Output Attributes
The grid contains a list of all Output Attributes.
To add an Output Attribute, in the section toolbar click Add New and set its properties.
To edit an existing Output Attribute, double-click it in the list to open its properties.
To remove an Output Attribute, select one (or more) from the list and in the section toolbar click Delete.
New Output Attribute
Field
Description
Example Value
Name
The name given to the node and displayed on the canvas.