Do While

A looping activity that executes contained activities at least once, until a condition is no longer true.

Do While Designer

Designer Properties#

Condition The condition checked at the end of the loop to determine whether the loop is executed again. Body The child activity to be executed with every iteration.

Properties#

Reload Current page properties

General Properties#

See General Properties.

Misc#

See Misc.

Out Error#

See Out Error.

Example#

Do While

In this example, we log in the output window the numbers from 0 to 4. As you may notice from the example, even if there is a condition on index > 0 and initial value of the index is 0, the value is still printed. This is because the condition is checked after the "Write Line" activity is executed.