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
- Select the edge on the canvas.
- Choose the condition in the properties panel.
- Save and publish the workflow.
Basic conditions
| Condition | Effect |
|---|---|
| Always | Always execute the target node |
| On Success | Execute only after the source node succeeded |
| On Failure | Execute only after the source node failed |
| Expression | Compare 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,containsoris 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.