switch

This block is part of the flow group and was last modified in core v10.4.28.

switch v10.4.28

In pins 1 + flow
  • flow
    flow
  • expression required
    value
Out pins 1 + flow
  • default
    flow
  • match
    condition

    Returns true in case a match was found.

Routes the flow by comparing the expression pin, lowercased, against this block's configured case values (case-insensitive string compare): only the flow pin of the FIRST matching case runs, and default runs when no case matches. The matched condition pin outputs whether any case matched. The block itself executes as a no-op : all routing happens during flow traversal.

A typical wiring for switch: branch feeds the flow pin; the default out pin feeds branch.

Studio canvas example for the switch block: typical wiring for switch.

Commonly used with

In production blueprints, this block is most often wired together with:

  • branch: wired in both directions with this block.
  • get fields: feeds into this block. Gets the selected fields from the given object.

Version history

Introduced in v10.4.28.


Back to flow Return to the main group to view all sub-groups Back to flow Return to the group to view all blocks within this group