else if
This block is part of the flow group and was last modified in core v10.4.28.
else if v10.4.28 In pins 1 + flow
- flow
flow - ———————— required
condition
Out pins 0 + flow
- default
flow - ————>>
flow
Multi-way branch: evaluates condition_1, condition_2, ... in order with JS truthiness (true, non-zero numbers, and non-empty strings pass; nil, false, 0, and "" do not) and follows the first matching flow_N pin; when none match, the default pin runs. Unlike branch, truthy non-booleans DO match. Example: condition_1="" condition_2="x" -> flow_2 runs.
A typical wiring for else if: a function trigger starts the flow; the default out pin feeds debug.
Version history
Introduced in v10.4.28.
Back to
flow Return to the main group to view all sub-groups Back to flow Return to the group to view all blocks within this group 