A While loop is a control flow statement that allows code to be executed repeatedly based on a given Boolean condition. The While activity consists of a condition and a block of code (body). First the condition is evaluated, and if it is true, the body part of activity is executed. This repeats until the condition becomes false. If the condition is false, the loop terminates and robot transfers to the activity following the While loop.
The condition can be defined as a complex condition (created using logical operators).
|you can change the name of activity for greater clarity of the scenario