### 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

- Creating an Invoking External Service
- Creating an Invoking External Service
- Split-Join Properties View - For Each

#### Defining the For Each Logic

To define the For Each logic:

1. 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.
2. Define the Counter Variable Name by clicking on the counter string.
3. 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."

4. 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.

1. 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.
2. To add Documentation to a node, open the Properties view and enter any notes that you think are important in the Documentation field.