If

Runs different activities depending on a condition: if the condition is true, the Then section runs, otherwise the Else section. Any number of Else If sections can be added in between.


⬅️INPUT

Parameter

Type

Required

Description

Condition

Boolean

✅ Yes

Condition to evaluate. If True, the Then section runs. In the designer it is the Condition field.


Usage

The activity has the following fields, from top to bottom:

  • Condition: Expression that returns a Boolean result.

  • Then: Activities that run when the condition is True.

  • Else If: Additional section with its own condition and activities. Added with the Add Else If (+) button, deleted with the Delete button, reordered by dragging. An Else If section whose condition is left empty causes a validation error.

  • Else: Activities that run when no condition is met.

Conditions are evaluated from top to bottom: first Condition, then each Else If condition in turn. Only the first section whose condition is met runs; if none is met, Else runs. The Then and Else sections can be left empty.