Do While

Runs the activities in the body, then evaluates the condition; repeats this as long as the condition is True. The body runs at least once.


⬅️INPUT

Parameter

Type

Required

Description

Condition

Boolean

✅ Yes

The condition evaluated after each iteration. If True, the body runs again; if False, the loop ends. Entered in the Condition field on the canvas.


➡️OUTPUT

Parameter

Type

Description

Index

Int32

Inside the body, the number of the current iteration (one-based).


Usage

  • On the canvas, the body (Add Activity) is at the top and the Condition field is below it.

  • If the body is empty, the loop does not run.

  • Inside the body, Break ends the loop immediately; Continue skips the rest of the iteration and the condition is evaluated.