Model fields
workflow.config:switch
Switch Node Configobject array string
Switch node selects one output branch from alternatives using workflow-expression predicates
casesRequiredThe cases to test, in order; the first that matches wins.
- Minimum items
2
List items
object string string
expressionRequiredThe condition for this case, for example input.value > 10.
nameRequiredThe branch to take; it must match an edge's when label.
defaultOptionalBranch to take when no case matches. It must match an edge's when label.