The While action is a type of loop that will evaluate a specified condition either at the beginning or at the end of each iteration, and that will continue to loop whilst the condition is true.
Properties
Condition
The condition that will determine whether the loop will continue or not.
Test
Select 'Before' if you want the condition to be tested before the next loop iteration.
Select 'After' if you want the condition to be tested after each loop iteration.
Use 'After' when you want to execute the body of the loop at least once, even if the condition fails.
How to create a While loop
Drag a While action onto the canvas.
Set the Condition property by adding a condition expression.
Set the Test property by selecting either 'Before' or After'.
Drag onto your While action's loop sub-section all the actions that must execute in each loop iteration, e.g. SetValue.