While
Runs the activities in the body repeatedly as long as the condition is True. The condition is evaluated before each iteration; if it is False on the first evaluation, the body never runs.
⬅️INPUT
Parameter | Type | Required | Description |
|---|---|---|---|
|
| ✅ Yes | The condition evaluated before each iteration. When it is False, the loop ends. Entered in the Condition field on the canvas. |
➡️OUTPUT
Parameter | Type | Description |
|---|---|---|
|
| Inside the body, the number of the current iteration (one-based). |
Usage
On the canvas, the Condition field is at the top and the body (Add Activity) is below it.
If the body is empty, the loop does not run; the condition is not evaluated either.
Inside the body, Break ends the loop immediately; Continue skips the rest of the iteration and the condition is evaluated again.