Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

  • The Switch action is an advanced decision-making mechanism that efficiently handles multiple possible outcomes or conditions.

  • Unlike simple if-else conditions, the Switch action tests a single variable or expression against a predefined set of values. Based on which value matches the variable, the corresponding action is executed.

...

  • This method is especially useful when there are numerous possible outcomes, as it avoids repetitive and nested conditions, simplifying the workflow.

  • It is often used in situations where a workflow must take distinct actions based on user choices, status updates, or other distinct categories of input data.

  • Let’s explore the screens that follow, after drag-n-drop of Switch action on workflow canvas.

Config

The Config tab is used for defining switch conditions when creating or editing workflows within the platform.

...