The
Repeat group activity is responsible for repeating the series of grouped activities until the specified condition evaluates to
true. The activities are always executed once before checking whether the condition is
true. After executing the series of activities, the initial evaluation of the condition is done, and it does not repeat when the condition evaluates as
true. The
Repeat activity evaluates the loop's conditional statement to determine whether or not more iterations of the loop are required.
General
The
General tab has the following fields.
Field
|
Description
|
Name
|
The name to be displayed as the label for the activity in the process.
|
Group Type
|
The type of group. The default is
Repeat.
|
Index Name
|
Use this field to specify a name for the index variable.
Note: Select the
Global check box to make the index variable available for the activities outside the loop.
|
Condition
|
The condition ($index) is specified through an XPath expression which can be a literal value. Click the
Edit XPath Expression button to set an XPath expression.
|
Accumulate Output
|
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.
|
Output Activity
|
Select the activity from the group of activities for an output reference when executing the loop.
|
Output Name
|
The name of the list of the accumulated output of the selected activity.
|
Reset Variables
|
The variable to be reset during each iteration of the
Repeat group.
Click the
Add
icon, and select the variable to be reset.
To delete the variable, click the variable in the
Reset Variables field. The
Remove
icon with a tooltip 'Remove
<variable name> ' is displayed. Click the
Remove
icon to remove the variable from the
Reset Variables field.
|
Description
Provide a short description for the group in this field.
Variables
A group of shared variables. The
Container displays the group. This depends on the group selected in
Group Type. For example, if the
Repeat group is selected in the
Group Type field, it displays Repeat in
Container. You can add multiple variables of complex or simple type.
You can select from the following available
Variable Type options:
- String
- Integer
- Decimal
- Boolean
- Date&Time
Copyright © Cloud Software Group, Inc. All rights reserved.