Flow Control

While

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).

while_001
while_002
Parameter nameParameter TypeIn/OutDescription
ConditionBooleanInputboolean expression
DisplayNameLiteralInputyou can change the name of activity for greater clarity of the scenario