Skip to content

Switch

  • Type flow.switch
  • Group Flow
  • Role action
  • Risk reads only
  • Side effect none
  • Runs once per item

Sends items to one output per rule

mode

Mode · string · required · default rules · one of rules, expression

How the step works; the fields below change with it.

rules

Rules · array · optional

Fields:

  • conditions (object) Conditions
  • output (string) Output

output

Output · string · optional

Shown when mode is expression.

fallback

Fallback output · boolean · optional · default false

allMatching

Send to every matching output · boolean · optional · default false

The outputs depend on the parameters (for example one per rule).

← All nodes