Loop Actions
Actions in the Flow Control → Loop sub-group. Actions nested under a loop run once per iteration.
Repeat for each item in
Iterates over a collection — the rows of a loaded CSV, the messages returned by Read Emails, a list built in Python.
/img/editor/actions/loop/for_loop.pngCapture: the Repeat for each item in form with a collection variable selected, plus the Commands tree showing nested child actions.
| Parameter | Description |
|---|---|
| Collection Of Items variable | Variable holding the list to iterate over. |
| Current Item variable | Name of the variable that holds the item being processed. Default item. |
Settings → General → Auto Load Cycle Iterable controls whether the Editor loads the
collection while you are building the loop, so the Variables panel can show you the
real shape of item — Ask, Always or Never.
Repeat x times
Runs the nested actions a fixed number of times.
/img/editor/actions/loop/repeat_times.pngCapture: the Repeat x times form showing Times and Iterator variable. Why it is new: this action did not exist in 0.14.2 and has no screenshot.
| Parameter | Description |
|---|---|
| Times | How many iterations to run. Accepts a number or a variable. Default 1. |
| Iterator variable | Variable holding the current iteration number. Default i. |
Repeat until
Repeats while a condition holds.
/img/editor/actions/loop/while_loop.pngCapture: the Repeat until form with the Repeat type control visible. Why it must be retaken: Repeat type is new — the old screenshot shows only the condition field.
| Parameter | Description |
|---|---|
| Condition | Logical expression evaluated each iteration; the loop ends when it becomes false. |
| Repeat type | Repeat until evaluates the condition before the first iteration, so the body may never run. Repeat until (at least once) runs the body once and then evaluates — the do-while form. |
Stop the loop
Exits the innermost loop immediately. No parameters.
Skip to the next iteration
Skips the rest of the current iteration and continues with the next one. No parameters.
Repeat until can spin forever if the condition never flips — for example when the action that was supposed to advance the page silently failed. Guard every conditional loop:
- add a counter with Repeat x times as the outer bound, or
- add a Condition + Stop the loop on an iteration limit, or
- make the condition depend on something the screen actually shows, checked with Wait For.