If
Use this Node to evaluate a boolean expression and route execution to one of two branches.
Revision History
0.0.0.8 - Current release.
Setup Notes
You can add this Node to a Workflow without authentication or external setup.
Methods
The If Node exposes one method.
If
Evaluates Expression and routes execution to either the true branch or the false branch.
| Parameter | Type | Description |
|---|---|---|
Expression |
Boolean | A required boolean value. If the value is true, the true branch runs. If the value is false, the false branch runs. |
| Return | Type | Description |
|---|---|---|
Result |
String | Returns true or false to indicate which branch was selected. |
Usage Notes
- The Step must contain exactly two branches named
trueandfalse. Only the branch that matches the evaluated result is run. Expressionmust evaluate to eithertrueorfalse.- If
Expressionis empty, the Node raises an error. - If you need to prepare a value before evaluating it, do that in an earlier Node and pass the boolean result into
Expression.