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
Acquired TextStringOutputtext input by user
ConditionBooleanInputexpression to evaluate for True/False value
Display NameLiteralInputchanges display name of the activity