While

This activity causes a workflow to repeat activities until a condition is met. For example, while the variable count < 3, continue to repeat an activity and increment count. It can be executed in two different modes. "While" mode evaluates the condition first, and the loop is not executed if it is already met. "Do While" mode executes the loop and then evaluates the condition, so it is guaranteed to execute it at least once.

This activity is used with a Continue or Break activity to return to the While activity and evaluate the condition or break out of the While loop. This activity should be used carefully so that an infinite loop is not created.

Table 1. While action - Inputs
Parameters Description

WhileType

Set to 'While' to evaluate the condition before the loop is executed or set to 'Do While' to evaluate the condition after the loop has executed. This ensures that the loop will always execute once.

Condition

Condition to be evaluated to determine whether the loop should continue.

Table 2. While action - Throughputs
Parameters Description

Iteration

Indicates the number of times that the loop executed.