Flow Controlstable
Branch
Branch chooses one of two execution paths from a boolean condition.
Overview
- Kind id
- flow_branch
- Semantics
- flow.branch
- Source
- CORE_NODE_REGISTRY
When to use
Connect the condition to a boolean value, then wire the True and False execution outputs to the actions for each case.
Graph to code example
A comparison supplies the condition. The True output connects to Print String with “Ready”; the False output connects to Print String with “Wait”. Generate produces a conditional with the two actions in separate branches.
Watch for
Both paths require visible connections. An unwired path has no action to generate.
Ports
| Id | Dir | Type | Label |
|---|---|---|---|
| exec_in | in | execution | - |
| condition | in | data_boolean | Condition |
| true_exec | out | execution | True |
| false_exec | out | execution | False |
Options
| Id | Type | Default | Notes |
|---|---|---|---|
| No options on this kind. | |||