# Switch

The node to be executed will be switched to the destination that matches the input value.

## Properties

Property name | Type | Description
--- | --- | ---
Input port | InputExecutePort | Executed by connecting with ExecuteWire or TransitionWire
Type Selection | `SerializableType` | The type of the value to compare
Value | `InputField` | The value to be evaluated.
Cases | List of `CaseData` | A list of the values ​​to be judged and ExecutePort. If Value and When match, the node to which Then is connected is executed. When InputField for the value to be judged Then OutputExecutePort executes the destination node when Value and When match
Default | OutputExecutePort | Executes if none of the Cases conditions are met.
Completed | OutputTransitionPort | Transition occurs when the running node reaches Exit.

## Accepting flow termination nodes

- Exit
  Finishes execution and transitions to `Completed`.