Versions Compared

Key

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

A “Switch Panel” is used to evaluate an interaction variable and enable different output paths or execution based on the comparison result. It is commonly used to make decisions based on user input or other dynamic factors.

...

Configuration

The Switch Panel is configured using three main parameters:

  • Variable Name: Set as Flow Initiator: By selecting "Set as Flow Initiator," this panel will serve as the starting point of the IVR flow, before proceeding to subsequent panels within the Logic+ flow.

  • Panel Name: It is recommended that you choose a name and keep it consistent. You will also need to specify the variable name to update. If the variable does not exist, it will be created.

  • Panel Description: It is recommended to provide a clear description of the panel, detailing its purpose and functionality. This is akin to documentation, making it easier for others to understand and identify its intended use when they encounter it.

  • Value: A string value that represents the variable to compare. This could be any variable in the program, such as user input or a calculated value.

  • Name: The name of the comparison.

  • Value to Evaluate: This parameter defines the value(s) to compare the current variable value against. Multiple values can be specified, separated by commas. The comparison can be a string or numerical value.

  • Operator: The operator is used when comparing the current variable against all specified comparison values. Common operators include equals, greater than, less than, greater than or equal to, less than or equal to, and not equal to.

...

Exit Paths

The Switch Panel creates different exit paths based on the matches that are added to it. Each match that is added creates a new exit path, which can be linked to another panel.The Switch Panel has three default exit pathshas one default exit path:

  • Default: If none of the matches evaluates to true for the provided variable, the default exit path is used.Invalid Input: If one or more of the configuration inputs was invalid, the invalid input exit path is used.

  • Custom Added Matches: Any exit paths created for added matches that evaluate to true.

...