Repeat
Built-in step · 3 steps
Run steps more than once.
To learn when to use these steps, with examples, read Repeat steps.
Close each section with an End repeat step.
Steps
| Step | What it does |
|---|---|
| Repeat for each item | Run these steps once for each item in a list. |
| Repeat N times | Run these steps a fixed number of times. |
| Repeat while | Repeat these steps while something is true. |
Repeat for each item
Run these steps once for each item in a list. Useful for handling contacts, rows, files, or other items one at a time.
Inputs
- List
itemslistRequired - The list or collection to loop over.
Outputs
No output. Inside the loop, each item in turn is available under the loop variable's name.
Repeat N times
Run these steps a fixed number of times. Use this when you know exactly how many times the steps should run.
Inputs
- Number of times
countnumberRequired - How many times to run the steps. Must be a whole number that is zero or greater.
Outputs
No output. The steps inside run the given number of times.
Repeat while
Repeat these steps while something is true. Use this when you do not know ahead of time how many times the steps should run.
Inputs
- Keep repeating while
conditiontextRequired - The condition checked before each iteration. The loop keeps running as long as it holds. Make sure something in the loop eventually makes it false.
Outputs
No output. The steps inside repeat for as long as the condition holds.