中文
Node Documentation

Typed switch

FlowTarget independentflow.switch

Compare a configurable number of same-typed cases in order and emit the first matching route or Default.

Example use

Handle ready, busy and done separately; configure the case count and values, with unmatched values going to Default.

Node preview

Right-drag to pan and scroll to zoom. Expand inputs and edit parameters to see how ports change. This preview does not run the node; reopening the page restores the example.

Loading node preview…

This node has dynamic parameters or ports. The reference below describes the initial example; after editing, inspect the preview for the current ports.

Data inputs 4

Match valuevalueMatching type inferred from connections

Typed value that selects the control-flow output.

RequiredDefault: None
Case 1case-1Matching type inferred from connections

First optional value of the same type.

OptionalDefault: None
Case 2case-2Matching type inferred from connections

Second optional value of the same type.

OptionalDefault: None
Case 3case-3Matching type inferred from connections

Third optional value of the same type.

OptionalDefault: None

Configuration 1

Case countcaseCountInteger

Creates 1–32 stable case inputs and matching execution routes; reducing the count removes out-of-range connections.

OptionalDefault: 3
  • Minimum: 1
  • Maximum: 32

Control and error ports

InputinInput · Control
An incoming control signal enters this operation.
DefaultdefaultOutput · Control
Continue from this result or stage; see the node description for branch conditions.
FailedfailedOutput · Error
Emitted when the operation fails; connect error handling here.
case-1case-1Output · Control
Continue from this result or stage; see the node description for branch conditions.
case-2case-2Output · Control
Continue from this result or stage; see the node description for branch conditions.
case-3case-3Output · Control
Continue from this result or stage; see the node description for branch conditions.
Version and node identity

Version 1.0.0

sha256:cd9c4e652f85cbb783cca006fc3e240c25a71fe750fc682a0b740ad3e51517dd