To run a task in loop, use the Loop task. This task provides for and while loop functionalities through a UI. To run multiple tasks in a loop, group them under a Meta task.
In this example, a For loop task is created in the workflow, which will loop the task over multiple machines in this particular entity.
Loop Type: Determine whether you are using a For or While loop
Loop Over list: Macro specified that fetches a list machines associated with the entity
Loop Variable: The variable name into which the machine is copied
Speedup factor: The number of parallel tasks to be run in the loop
Exit Condition: Determines when the loop should exit. Select Child Failure if you want the loop to exit when a child loop fails. Select Don't Care if you want the loop to complete the specified iterations regardless of the status of the Child loop.