Loop N times
For example, if you have a process that requires adding an item to a SharePoint list three times, add a Loop N times action to your design and place a SharePoint Online Create an item action inside it. Then, set the Repeat Count field for the Loop N times action to 3.
Note:
Configure the Loop N times action
See the Loop N times action fields, buttons, and settings table for all the configuration fields.
In the Designer page:
-
Add the action to the designer canvas and open the action configuration panel. For more information, see Add an action to the workflow.
- In the Repeat Count field, enter the number of times you want the loop to run.
- Add child actions to the point inside the Loop N times action, as necessary.
Loop N times action fields, buttons, and settings
|
Field |
Description |
Variable types |
|---|---|---|
|
Repeat Count |
The number of repetitions for the loop to iterate through. The maximum number of repetitions is 1,000. |
Integer |