Skip to content

Flow Variable Switch

Routes execution based on the value of a variable. Creates one output per case.

Inputs: 1 · Outputs: default + dynamic outputs

INFO

If you only need to compare a variable against one value, consider using the If / Else node instead.

Settings

SettingTypeRequiredDefaultDescription
Variable to CheckStringYesVariable or placeholder whose value determines the route.
Comparison TypeSelectYesEqualsHow to compare the variable to each case: =, ≠, >, <, ≥, ≤.
CasesString ArrayYesPossible values. Each creates an output. Non-matching values go to default.
Case SensitiveBooleanNofalseWhether matching is case-sensitive.

Example

Route by player rank:

  1. Variable to Check: %player_group%
  2. Cases: vip, admin, member
  3. Connect each output to its rank-specific logic
  4. default → handle unknown ranks

Oasis Admin Editor Documentation