Add a Loop action to a task
Use the Loop action in a task sequence to make your process repeat a series of actions before it goes on to the next action in your design. Loop actions can be used to try a specific action at a specific number of times before giving up and moving on. For more information about the different types of loops and using the Loop action, see the Suggested content.
- From the Architect home page, click or hover over the Flows menu and select the desired flow type.
- Create a new flow or select an existing one. The flow’s configuration page opens.
- Select the task and click Click to open. The task editor opens.
- From the Toolbox, expand the Loop category and drag the Loop action to the desired location in the task sequence.
- In the Loop action design area, in the Name field type a meaningful name for the switch action. This name becomes the name of the Loop action in the task editor.
- In the Loop Count field, use the + or – buttons to set the number of times to repeat the sequence of commands.
- In the Current Index Data Name, type the label to identify the variable on tasks.
- Add the desired variable inside the loop action.
- Optionally add Next Loop and Exit Loop actions to the previous action’s Yes and No output paths.
- Continue building the task per your flow design.