Lanka Lanka docs

Switch

A path of its own for each value of a variable, plus an "otherwise" path for anything that did not match.

The "Switch" step in the editor

When to use it

  • A language: "uk", "en", "pl" — each to its own branch.
  • A city, a plan, an order status.

How to set it up

  1. Pick the variable.
  2. Type the values — each gets its own branch.
  3. Add "otherwise" for the rest.

Values are compared as text, exactly.