Skip to content

Branch

Branches the execution flow based on a condition.

If the condition input is true, execution flows to the Then output. Otherwise, it flows to the Otherwise output.

This node is the equivalent of an if-else statement.

Inputs#

Port Description
Triggers the node's execution.
The condition that determines which execution path to take.

Outputs#

Port Description
Then
Execution path if the condition is true.
Otherwise
Execution path if the condition is false.

ID: core/branch@v1