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).
Acquired Text | String | Output | text input by user |
---|---|---|---|
Condition | Boolean | Input | expression to evaluate for True/False value |
Display Name | Literal | Input | changes display name of the activity |