Edge conditions

An edge connects two nodes. A condition determines when the target node is executed: on success, on failure, always, or after comparing values.

Setting a condition

  1. Select the edge on the canvas.
  2. Choose the condition in the properties panel.
  3. Save and publish the workflow.

Basic conditions

ConditionEffect
AlwaysAlways execute the target node
On SuccessExecute only after the source node succeeded
On FailureExecute only after the source node failed
ExpressionCompare values using your own rules

A custom condition

A custom condition consists of:

  • a value from a previous activity, a trigger or a global variable,
  • a comparison such as equals, not equals, greater than, less than, contains or is empty,
  • a value to compare against.

Several comparisons can be combined with AND, OR and NOT.

Example:

{{diskCheck.param.freeGb}} is less than 5

The following node runs only if less than 5 GB are free.

Disabled connections

A disabled edge is not considered. If a node then has no reachable incoming path, it is skipped.

All chapters