Previous Topic: Set Operator StatusNext Topic: Timeout Settings


Loop Settings

The Loop property specifies the number of times that an operator is repeated. When an operator is run in a loop, the exit conditions and the connecting links from the operator are evaluated only when the loop is terminated.

Loop settings have the following properties:

Repeat count

Specifies the number of times that an operator should be repeated. This value can be specified with an integer or a CA Process Automation expression that returns an integer at run time. The default value of 1 executes a loop on an operator a single time in a workflow. To execute an infinite loop, click the Infinite loop check box.

A Boolean expression can also be used. The expression is evaluated after the operator has executed. As long as the expression evaluates to true, an operator in a workflow executes a continual loop. If the expression is false, the operator exits.

Infinite Loop

Creates an infinite loop. The operator or process keeps repeating until either the process is interrupted or the loop is stopped from a different branch using a stop loop command link to the Loop operator.

Delay between iterations

CA Process Automation supports an inherent delay option for every operator that has a loop option. The Delay between iterations text field takes an expression. The expression is evaluated into an integer and the value is taken as delay in seconds. Before the next iteration is run, there is a delay as specified by the user after an iteration in the loop.

The minimum value for delay is zero. The default delay is zero seconds. CA Process Automation takes delay as zero seconds for all invalid inputs.