Skip to content

Switch

Overview

The Switch node produces a constant boolean value based on its configuration. It serves as a static source for true or false values within a flow.

Use Switch when:

  • Controlling flow logic with a constant state
  • Setting a boolean parameter for logic nodes

💡 Tip

Use this node to enable or disable specific parts of your flow during development or testing.

Outputs

NameTypeDescription
outputboolThe configured boolean value.

Parameters

ParameterDefaultValid valuesTunable
Boolean valuetruebool

Boolean value

The boolean value that the node delivers as its output.

Example

Enabling a sub-flow

A flow contains an optional logging sequence. The Switch node is used to enable this sequence.

Configuration:

  • Boolean value: true

Result: The node outputs true to the logic gate, allowing the logging sequence to execute.

💡 Tip

Use a Boolean tunable with the Switch node to enable or disable specific parts of the flow at runtime.

Reference:

  • Boolean Input — receives boolean data from an external connection
  • Boolean Output — exit point for logical true or false data from the flow