Flow Controlregistry-listed

Branch

Branch chooses one of two execution paths from a boolean condition.

Registry listing does not certify support for every language or host environment. Check the selected target’s diagnostics and generated output.

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 boolean value 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

IdDirTypeLabel
exec_ininexecution-
conditionindata_booleanCondition
true_execoutexecutionTrue
false_execoutexecutionFalse
exec_outoutexecutionAfter

Options

IdTypeDefaultNotes
No options on this kind.