Cisco Cisco Unified IP Interactive Voice Response (IVR) 8.0(1) Leaflet
Chapter 2 CRS Editor Palette Step Descriptions
General Steps
2-26
Cisco CRS Scripting and Development Series: Volume 2, Editor Step Reference Guide, Release 6.0(1)
Switch Step
Use the Switch step to cause the program logic to branch to one of a number of
cases based on the evaluation of a specified expression.
cases based on the evaluation of a specified expression.
Figure 2-19
Switch Customizer Window
A case is a method for providing script logic based on the value of a variable at a
point in time. You can assign one case for each value. The Switch step lets you
define any number of case output branches. You can then create a separate script
logic for each branch.
point in time. You can assign one case for each value. The Switch step lets you
define any number of case output branches. You can then create a separate script
logic for each branch.
Note
Use a subflow in a script (instead of a redirect) to transfer a call to another script.
The Switch step supports switching based on the following variables:
•
Integer—Comparison of integers
•
String—Comparison of string variables (case insensitive)
•
Language—Comparison of language variables