Creating a For Each
The For Each is used to create conditional logic for iterating through a variable number of requests. It is primarily used to create dynamic Split-Joins. Configuring a For Each can include the following tasks:
- Define the For Each Logic
- Add General Information
Related Topics
Defining the For Each Logic
To define the For Each logic:
- Set the Parallel property to yes or no. If you choose yes, individual branches will be processed in parallel. If you select no, they are processed sequentially.
- Define the Counter Variable Name by clicking on the counter string.
- Enter the Start Counter Value. If necessary, use the Browse button to create a new value in the XPath Expression Builder.
Note: |
The lowest possible starting counter value is "1." |
- Enter the Final Counter Value. If necessary, use the Browse button to create a new value in the XPath Expression Builder.
Note: |
The lowest possible starting counter value is "1." |
Adding General Information
General information is useful for making a node more legible. It includes the ability to add a unique identifier, or Label, to the node and to supplement it with notes, or Documentation. General information is optional.
- To add a Label to a node, open the Properties view and enter a unique, identifying string in the Label field. The Label that you enter appears underneath the node in the Canvas area. Alternatively, you can simply double-click the string under the icon and edit.
- To add Documentation to a node, open the Properties view and enter any notes that you think are important in the Documentation field.