Skip to main content
Version: 0.23.1

Flow Control Actions

Actions in the Flow Control group — branching, assertions, pauses and early exit. Loops have their own sub-group, Loop.

note

The group was renamed from Flow to Flow Control. Create variable moved to Tools, and Section and Comment moved to Project.

Condition

Branches the scenario. Inserting it automatically creates the True and False sub-sections; put the actions for each outcome inside them.

📸 Screenshot needed — /img/editor/actions/flow/condition.png

Capture: the Condition form next to the Commands tree, so the generated True and False branches are visible.

ParameterDescription
ConditionExpression whose truth value selects the branch. Click VAR to insert variables.

Assert

Verifies that a condition holds. If it does not, the scenario stops with your error message.

📸 Screenshot needed — /img/editor/actions/flow/assert.png

Capture: the Assert form with a condition and a message filled in.

ParameterDescription
ConditionLogical expression that must evaluate to true.
MessageText logged and raised when the assertion fails.
tip

Use Assert as a checkpoint after a critical step — for example that the invoice total the robot read is greater than zero. Failing early with a clear message is much easier to debug than a wrong value quietly flowing through the rest of the run.

Sleep

Pauses the scenario for a fixed time.

📸 Screenshot needed — /img/editor/actions/flow/sleep.png

Capture: the Sleep form showing the Timeout field. Note: the old page described this action with the wrong text (it repeated the Section description) — the new caption must describe a pause.

ParameterDescription
TimeoutNumber of seconds to pause. Default 5.
warning

Prefer Wait For over Sleep wherever the screen can tell you when it is ready. See Choosing the right wait.

Exit

Terminates the scenario immediately. Takes no parameters beyond Run Action.

Combined with Condition, this is the clean way to stop when there is nothing to do — for example when a Read Emails action returned an empty list.