Flow Control

DoWhile

A DoWhile loop is a control flow statement that executes a block of code and then the condition is evaluated. If it is true, the body of the loop is executed again. This process is repeated as long as the expression evaluates to true. If the expression is false, the loop terminates and robot transfers to the activity following the DoWhile loop. The DoWhile activity architecture causes the body of activity to be executed at least once.

This activity consists of two parts: body and condition. In body part, an activity to perform should be placed. Below this section, there is a field for the condition. The condition can be defined as a complex condition (created using logical operators).

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