Nabrio Help
Nabrio Help

Getting Started

Nara Overview

Understanding Nara

Using Nara

Components

If-ThenFor LoopWhile LoopPause ForProcedure OrderStopSwitch Case

Miscellaneous

Nomenclature
Troubleshooting
Notice and DisclaimerEULA
NodesOperation

Switch Case

Slot Usage: 0

Overview

Switch Case compares one input value against up to four case values and routes to the first matching case output, otherwise to default.

Supports string and number comparison modes.

Input

Input Type

string

Comparison mode:

  • String (string): compares switch value to string case values.
  • Number (number): compares switch value to numeric case values.

Default: string

Switch Value (String Mode)

string

Value to evaluate when Input Type = string.

Case 1-4 Value (String Mode)

string

Case match values for string mode.

Comparison is exact equality.

Switch Value (Number Mode)

number

Value to evaluate when Input Type = number.

Case 1-4 Value (Number Mode)

number

Case match values for number mode.

Each case is optional. Only provided values are checked.

Output

No custom output fields besides common metadata.

Branching

Case 1 / Case 2 / Case 3 / Case 4

Triggered when switch value matches corresponding case value.

Default

Triggered when no case matches.

Stop

Previous Page

Variable Array Create

Next Page

On this page

OverviewInputInput TypeSwitch Value (String Mode)Case 1-4 Value (String Mode)Switch Value (Number Mode)Case 1-4 Value (Number Mode)OutputBranchingCase 1 / Case 2 / Case 3 / Case 4Default