FlowDSL Node Catalog
Switch
Route the packet to one of N labeled branches based on a value.
Overview
| Property | Value |
|---|---|
| Node ID | core/switch |
| Kind | router |
| Module | core-flowdsl |
| Repo | go-flowdsl |
| Handler | github.com/redelay/go-flowdsl/nodes/core.Switch |
| Icon | lucide:split |
| Color | #f59e0b |
| Tags | control-flow, router |
Outputs
default— (no description)
Settings
| Property | Type | Required | Default | UI Group | Description |
|---|---|---|---|---|---|
cases | array | yes | [] | — | |
default | string | — | default | — | |
sourcePath | string | yes | — | — |
Example
yaml
# Use this node in a flow:
nodes:
- id: my_step
name: My Step
kind: router
action_ref: core/switch
config:
cases: []
default: default
sourcePath: some.packet.path