Skip to main content

If

Branches the workflow based on a specified condition.

Category: Flow Control & Logic · Group: Flow Control · Activity name: IfCondition

The IfCondition activity in the designer

Example

if items.length > 0:
WriteLine("Items found")
else:
WriteLine("No items")

Inputs

NameTypeRequiredDefaultDescription
ConditionbooleanYes``A boolean expression or condition to evaluate.

Branches

  • trueBranch
  • falseBranch