For Each group is a loop element that can be used for iterating through array elements. The
For Each activity is very useful to determine these array elements dynamically at run time.
tab has the following fields.
|| The name to be displayed as the label for the activity in the process.
||The type of group. The default is
||The name of the counter or Index variable.
check-box makes the index variable available for the activities outside the loop.
|Start Counter Value
||The start value for the counter ($index) which is specified through an XPath expression. This can be a literal value.
|Final Counter Value
||The final value of the counter which is set using an XPath expression. This value is obtained by the count of the number of elements of a specific type in the request message.
||Select this check-box to accumulate the output of one of the activities in a group.
The output of the selected activity is accumulated each time the activity is executed.
||Select the activity from the group of activities for an output reference when executing the loop.
||The name of the list of the accumulated output of the selected activity.
|| The variable to be reset during each iteration of the
For Each group.
icon, and select the variable to be reset.
To delete the variable, click the variable in the
Reset Variables field. The
icon with a tooltip 'Remove
<variable name>'' is displayed. Click the
icon to remove the variable from the
Reset Variables field.
Provide a short description for the activity in this field.
A group of shared variables. Depending on the group selected in
Container displays the group. For example, if the
For Each group is selected in the
Group Type field, it displays For Each in
Container. You can add multiple complex or simple types variables.
You can select from the following available
Variable Type options: