Cisco Unity Express 1.1.1 Script Editor Guide
Introducing the Cisco Unity Express Script Editor

Table Of Contents

Installing and Using the Cisco Unity Express Script Editor

Overview

Installing the Cisco Unity Express Script Editor Software

Prerequisites

Procedure

Cisco Unity Express Script Editor Window

Using the Menu Bar

File Menu Options

Edit Menu Options

Tools Menu Options

Window Menu Options

Help Menu Options

Using the Toolbar

Palette Pane

Using Steps from the Palette Pane

Design Pane

Creating a Script

Customizing a Step

Variable Pane

Defining Variables

Using Basic Built-in Variable Types

Boolean

Character

Float

Integer

String

Date

Time

BigDecimal

BigInteger

Double

Long

Exporting Variables using Parameters

Expressions

Using Expression Input Formats

Boolean

Character

Float

Integer

String

Date

Time

BigDecimal

BigInteger

Double

Long

Using Operators with the Expression Editor

Debug Pane

Basic Error Handling

Continue on Prompt Errors

Error Output Branches


Installing and Using the Cisco Unity Express Script Editor


The Cisco Unity Express Script Editor allows you to create and validate scripts for handling calls that reach the auto attendant application. The chapters in this document provide the following information about the script creation process:

This chapter and "Advanced Scripting Techniques" describe the Cisco Unity Express Script Editor software and scripting techniques.

"Designing an Auto Attendant Script" is an example of the script creation process.

The remaining chapters describe the types of steps available for use in the scripts.

This chapter describes how to install and use the interface and features of the Cisco Unity Express Script Editor and contains the following topics:

Overview

Installing the Cisco Unity Express Script Editor Software

Cisco Unity Express Script Editor Window

Palette Pane

Design Pane

Variable Pane

Expressions

Debug Pane

Basic Error Handling

Overview

The Cisco Unity Express Script Editor is a visual programming environment for creating auto attendant application scripts. You can use the Cisco Unity Express Script Editor on any PC with Microsoft Windows software.

The Cisco Unity Express Script Editor simplifies script development by providing blocks of contact-processing logic in easy-to-use Java-based steps. Each step has its own unique capabilities, such as simple incrementing, generating and playing out prompts, and obtaining user input.

Although the steps are written in Java, you do not need to understand Java programming to build a Cisco Unity Express script. You can assemble a script by dragging step icons from a palette on the left pane of the workspace to the design area on the right pane of the workspace.

The Cisco Unity  Express Script Editor supplies the code required to connect the steps; you provide the variable definitions and other parameters. You can validate the completed script directly in the Cisco Unity Express Script Editor.

Installing the Cisco Unity Express Script Editor Software

Use a web browser to download the Cisco Unity Express Script Editor installation program from Cisco.com or install the Cisco Unity Express Script Editor from the Cisco Unity Express Application Software CD.

Prerequisites

To use the Cisco Unity Express Script Editor, install one of the following operating systems:

Windows NT (Workstation or Server) with Service Pack 4 or later

Windows 2000 (Professional or Server)

Windows XP Professional

Procedure

Follow these steps to install the Cisco Unity Express Script  Editor software:


Step 1 Double-click the executable Cisco Unity Express Script Editor file (CiscoCUEEditorv1.1.1.exe).

The InstallShield Wizard appears and begins extracting files for the installation. (This process may take a few minutes.)

Step 2 At the Welcome prompt, click Next.

The Software License Agreements dialog box appears.

Step 3 Read the software license agreements, then click Yes.

The Choose Destination Location dialog box appears.

Step 4 Do one of the following:

Click Next to accept the default directory option, C:\Program Files\wfavvid.

The Select Program Folder dialog box appears.

Perform the following procedure to choose a different destination:

Click Browse.

The Choose Folder dialog box appears.

Browse to the desired location, and then click OK.

The Choose Folder dialog box closes, and the destination appears in the Choose Destination Location dialog box.

Click Next.

The Select Program Folder dialog box appears.

Step 5 In the Select Program Folder dialog box, do one of the following to add program icons to the program folder:

Accept the default location.

Type the name of the new folder.

From the list of folders, choose the folder in which you want to store the program icons.

Step 6 Click Next.

The Start Copying Files dialog box appears.

Step 7 Do one of the following:

To change any of your previous choices, click Back, make the desired changes, return to the Start Copying Files dialog box, and click Finish.

If you accept all your choices, click Finish.

The InstallShield Wizard closes, and the Cisco Unity Express Script Editor is installed at the indicated destination.


Cisco Unity Express Script Editor Window

The Cisco Unity Express Script Editor provides a means to develop a wide variety of interactive scripts.

To start the Cisco Unity Express Script Editor, use the following path:

Start > Programs > Cisco CUE Developer > Cisco CUE Editor

The Cisco Unity Express Script Editor window appears, as shown in Figure 1.

Figure 1 Cisco Unity Express Script Editor Window

Table 2 describes the four panes of the Cisco Unity Express Script Editor window:

Table 2 Cisco Unity Express Script Editor Window

Pane Number
Pane Name
Description
1

Palette pane

Use the Palette pane to choose the steps you need to create your script. See "Palette Pane" for a description of this pane.

2

Design pane

Use the Design pane to create your script. See "Design Pane" for a description of this pane.

3

Debug pane

Use the Debug pane to view messages when you are validating a script. See "Debug Pane" for a description of this pane.

4

Variable pane

Use the Variable pane to create, modify, and view variables for your script. See "Variable Pane" for a description of this pane.


The following sections describe other features of the Cisco Unity Express Script Editor window:

Using the Menu Bar

Using the Toolbar

Using the Menu Bar

The following sections describe the menu bar options in the Cisco Unity Express Script Editor window.

File Menu Options

Edit Menu Options

Tools Menu Options

Window Menu Options

Help Menu Options

File Menu Options

Use File menu options to perform a variety of tasks with files as shown in Table 3:

Table 3 File Menu Options 

Option
Description

New

Creates a new script and places a Start step in the Design pane.

(The Start step is the first step of every new script.)

Open

Displays a standard Open window that allows you to choose and open an existing script (.aef) file.

Use the Open option to modify an existing script.

Close

Closes the current script file.

Save

Saves the current script file.

Save As

Opens a standard Save As window that you can use to save your current script by entering a filename with an .aef extension.

Print

Prints the current file.

Properties

Provides two tabs:

General—Describes the type, location, and size of the opened file.

Summary—Provides fields you can use to enter descriptive information about the opened file.


Edit Menu Options

Use Edit menu options to perform various editing tasks as shown in Table 4:

Table 4 Edit Menu Options 

Option
Description

Undo

Undoes last action

Redo

Redoes last action

Cut

Cuts selected items

Copy

Copies selected items

Paste

Pastes selected items


Tools Menu Options

The only Tools menu option is Validate.

Use the Validate menu option to check that your script sequence and your step properties usage conform to the general syntax that the Cisco Unity Express Script Engine requires.

Window Menu Options

Use Window menu options to control how multiple files appear in the Design pane as shown in Table 5:

Table 5 Window Menu Options 

Option
Description

Cascade

Displays files as stacked windows

Tile Horizontally

Displays files as equal windows tiled horizontally

Tile Vertically

Displays files as equal windows tiled vertically


Help Menu Options

Use Help menu options to obtain more information about Cisco Unity Express Script Editor screens, fields, and software as shown in Table 6:

Table 6 Help Menu Options

Option
Description

Help

Displays information about the Cisco Unity Express Script Editor screens and fields.

About

Displays the version number of the Cisco Unity Express Script Editor software.


Using the Toolbar

The Cisco Unity Express Script Editor toolbar provides icons you click to choose some of the same options available from the Menu bar. (See Figure 2.)

Figure 2 Cisco Unity Express Script Editor Toolbar

Table 7 describes the function of each numbered tool on the toolbar shown in Figure 2.

Table 7 Cisco Unity Express Script Editor Window Toolbar Functions 

Tool Number
Description
1

Creates a script

2

Opens a script

3

Saves a script

4

Prints selected file

5

Cuts selected item

6

Copies selected item

7

Pastes selected item

8

Undoes previous command

9

Redoes previous command


Palette Pane

The Palette pane of the Cisco Unity Express Script Editor contains all the steps available for developing scripts. (See Figure 3.)

Figure 3 .Cisco Unity Express Script Editor Palette Pane

For complete descriptions of the steps in every palette pane category, go to:

"General Step Descriptions"

"Contact Step Descriptions"

"Call Contact Step Descriptions"

"Media Step Descriptions"

"User Step Descriptions"

"Prompt Step Descriptions"

Using Steps from the Palette Pane

To display the contents of a palette, click the plus sign (+) to the left of the palette icon in the Palette pane.

To create your script, click a step in the Palette pane and drag it on top of the step that it should follow in the Design pane. Each step performs a specific function and creates a portion of the underlying programming. You can customize most of the steps once you have placed them in the Design pane.

Your cursor will display the international prohibited sign until you move a step into a location that the Cisco Unity Express Script Editor allows.


Note If you try to drag a step to the Design pane when a customizer window is open, the Design pane will not accept the step. Before you drag a step to the Design pane, close any open customizer window(s), one or more of which may be hidden behind the Cisco Unity Express Script Editor window.


Design Pane

The Design pane of the Cisco Unity Express Script Editor is the location where you perform the largest portion of your script development.

This section describes the following topics:

Creating a Script

Customizing a Step

Creating a Script

To begin a new script in the Design pane of the Cisco Unity Express Script Editor window, choose File > New. The Cisco Unity Express Script Editor adds the Start step automatically and provides the starting point to which you add your steps.

To add a step to your script, drag the step icon from the Palette pane and drop it onto the step it will follow in the Design pane. Place the steps in logical order for the script you are building.

To change the order of a step in the script, drag the individual step icon from its old location to its new location. To delete a step, select the step icon and press the Delete key.

To end the script, click the General palette and drag End to your script. The End step appears.

Figure 4 shows an example of how a script displays in the Design pane.

Figure 4 Script Example in the Design Pane

Many steps have output branches under which you add steps to provide desired script logic based on the exit condition of the step.

In Figure 4 above, for example, the Menu step has five output branches:

DialByExtn

DialByName

Operator

Timeout

Unsuccessful

Output branches often contain steps and other output branches. In Figure 4, for example, the DialByExtn output branch contains five steps below it, one of which (the Get Digit String step) contains three output branches.

To expand the script under a step, click the plus sign (+) to the left of the step icon. To contract the script under a step, click the minus sign (-) to the left of the step icon.

At run time, each script follows a hierarchical sequence, as indicated by the vertical lines connecting steps. In Figure 4, for example, if the script reaches the Timeout output branch of the Get Digit String step, the script will move to the next step at the level of the Menu step, which, in this example, is the Play Prompt step.

Customizing a Step

You can customize most of the steps in the Cisco Unity Express Script Editor by opening windows called customizer windows. A customizer window contains text fields, called properties, that you can configure to meet the needs of your script. Depending on the step, the properties may be grouped under multiple tabs.

To display the customizer window for a step, perform the following procedure:


Step 1 In the Design pane, right-click the step you want to customize.

The Properties popup menu appears. For example, Figure 5 shows the Menu step Properties popup menu.

Figure 5 Properties Popup Menu—Menu Step

Step 2 Click Properties.

The customizer window of the step appears. For example, Figure 6 shows the Menu customizer window.

Figure 6 Menu Customizer Window

Step 3 Enter appropriate data to customize the step. See each step description later in this guide for the explanation of the customizer window properties for that step.

Each customizer window contains four buttons:

OK—Applies the changes and closes the customizer window.

Apply—Applies the changes without closing the customizer window.

Cancel—Closes the customizer window without applying any changes.

Help—Displays context-sensitive help for this step.

Customizer windows may also have additional buttons that you use to modify and display various properties within a step.

Step 4 Click the appropriate button after you finish making the changes to the step.


Variable Pane

The Variable pane of the Cisco Unit  Express Script Editor is the location where you add and modify the variables used by the script. (See Figure 7.)

Variables store data that a script uses when it executes the steps.

Any step in your script can use variables once you define them in the Variable pane of the Cisco Unity Express Script Editor window. (See Figure 1.)

You can also map variables you define for your script to variables you define in a subflow, which is a set of steps that function as part of another script, called the primary script. A subflow can use and manipulate a variable, then return the data that is stored in the variable to the primary script. Scripts cannot share variables with other scripts, except in the case of default scripts, in which the primary script automatically transfers the values of its variables to a default script.

The value of a variable can change during execution.

This section includes the following topics:

Defining Variables

Using Basic Built-in Variable Types

Exporting Variables using Parameters

Defining Variables

To define a new variable, click the New Variable icon at the top left corner of the Variable pane of the Cisco Unity Express Script Editor window. The Edit Variable window appears. (See Figure 7.)

Figure 7 Variable Pane and Edit Variable Window

Table 8 describes the function of each tool in the Variable pane.

Table 8 Variable Pane Toolbar Functions

Tool Number
Description
1

New Variable icon

2

Delete Variable icon

3

Modify Variable icon


After you use the Edit Variable window to define your variables, the variables appear in the Variable pane. You can select a variable and use the Modify or Delete icons to make any necessary changes.

Table 9 describes the fields in the Edit Variable window.

Table 9 Edit Variable Properties 

Property
Description

Name

Name of the variable you want to declare.

Type

Type of variable you want to declare. See "Using Basic Built-in Variable Types" section for the available variable types.

Java Type

Fully qualified class name located using the CLASSPATH environment variable on your computer.

Note The field displays the actual Java type corresponding to the built-in data type chosen in the Type drop-down menu.

Value

Data you initially assign to a variable. The type of data you enter must match the data type you declared in the Type field.

Parameter

If checked, sets the value for this parameter in the auto attendant web interface when you provision applications that use this script.


Using Basic Built-in Variable Types

The following sections describe these basic built-in variable types:

Boolean

Character

Float

Integer

String

Date

Time

BigDecimal

BigInteger

Double

Long

Boolean

A Boolean variable is either true or false, and is used primarily by the If step in the General palette of the Cisco Unity Express Script Editor.

Java Class Name—java.lang.Boolean

Variable Input Format:

t, f

true, false

Character

A Character variable consists of characters, such as the letters in the alphabet.

Java Class Name—java.lang.Character

Variable Input Format:

Lowercase letters a to z

Uppercase letters A to Z

Digits 0 to 9

Any escape sequence: "\t", "\r", "\0", "\n", "\f", "\\", "\"

"\uXXXX" can be used to represent any character using the character hexadecimal Unicode number XXXX

Float

A Float variable consists of decimal numbers.

Java Class Name—java.lang.Float

Variable Input Format (examples):

3.14159

2E-12

-100

Integer

An Integer variable consists of whole numbers, from -2147483648 to 2147483647, inclusive.

Java Class Name—java.lang.Integer

Variable Input Format (examples):

234556789

0

-23

String

A String variable consists of a set of Unicode characters, from "\u0000" to "\uffff" inclusive.

Java Class Name—java.lang.String

Variable Input Format (examples):

"Hello", "C:\WINNT\win.ini"—This format does not support any escape characters or Unicode characters.

u"\"This is a quoted string\"", u"\tHello", u"\u2222\u0065", u"C:\\WINNT\\win.ini", and so forth. This format supports the same escape sequences or Unicode characters described for the Character type. (See Character.)

Date

The Date variable contains date information.

Java Class Name—java.util.Date

Variable Input Format (examples):

D[12/13/03]

D[Dec 13, 2003]

D[January 20, 2003]

D[Tuesday, April 12, 2003]

D[12/13/03]

D[12/13/03 5:50 PM]

D[April 1, 2003 12:00:00 AM PST]

The parameter specified in between D[] is parsed based on any combination of the following two formats:

"<date>"

"<date> <time>"

The Cisco Unity Express Script Editor supports four <date> specification formats:

SHORT is completely numeric, such as "12/13/03"

MEDIUM is somewhat longer, such as "Jan 12, 2003"

LONG is longer, such as "January 12, 2003"

FULL is completely specified, such as "Tuesday, April 12, 2003"

Time

The Time variable contains time information.

Java Class Name—java.sql.Time

Variable Input Format (examples):

T[3:39 AM]

T[11:59:58 PM EST]

The parameter specified inside brackets of T[] is parsed based on the format "<time>".

The Cisco Unity Express Script Editor supports three <time> specification formats:

SHORT is short, such as "3:30 PM"

MEDIUM is longer, such as "3:30:32 PM"

LONG and FULL (which are identical) are more complete, such as "3:30:42 PM PST"

BigDecimal

The BigDecimal variable consists of an arbitrary-precision integer along with a scale, where the scale is the number of digits to the right of the decimal point.

Java Class Name—java.math.BigDecimal

Variable Input Format (examples; same as Float variable):

3.14159

2E-12

-100

BigInteger

The BigInteger variable represents arbitrary-precision integers.

Java Class Name—java.lang.BigInteger

Variable Input Format (examples; same as Integer variable):

234556789

0

-23

Double

The Double variable represents an expanded Float variable.

Java Class Name—java.lang.Double

Variable Input Format (examples; same as Float variable):

3.14159

2E-12

-100

Long

The Long variable is an expanded Integer variable.

Java Class Name—java.lang.Long

Variable Input Format (examples; same as Integer variable):

234556789

0

-23

Exporting Variables using Parameters

You can declare variables as parameters by checking the Parameter check box in the Edit Variables dialog box.

This feature allows you to set the value for a parameter in the auto attendant web interface. Because the value is initialized at configuration time for the script that uses it, you can change the value without having to edit the script in the Cisco Unity Express Script Editor. Such a variable is called an exported variable.

For example, when you add a new automated attendant using the AA Wizard, then Page 2 of the AA wizard (Script Parameters page) provides a list of the parameters with their default or current values. You can modify the values in this list.

The variable types that Cisco Unity Express supports for parameters include Number, Character, String, Boolean, and Prompt.

Expressions

Expressions are useful if you do not know the exact value at design time and instead enter a formula that can be evaluated at run time. The resulting type of the expression must match the expected input type or types (which you check at design time).

Many steps include an Expression Editor (...) button in the customizer window, which you can use to enter an expression. (See Figure 8.)

Figure 8 Expression Editor Button in a Customizer Window Example

You can type an expression directly in the input text field, or click the Expression Editor (...) button to open the Expression Editor. (See Figure 9.)

Figure 9 Expression Editor

You can enter the expression in the text field, or you can use the Variable drop-down menu to get quick access to variables you have previously defined in the script. When you choose a variable from the Variable drop-down menu, the variable name appears in the input text field.

After you enter the expression, click OK.

The Expression Editor closes.

This section includes the following topics:

Using Expression Input Formats

Using Operators with the Expression Editor

Using Expression Input Formats

This section describes the expression input formats for the following variable types:

Boolean

Character

Float

Integer

String

Date

Time

BigDecimal

BigInteger

Double

Long

Boolean

The expression input format for the Boolean variable is true, false.

Character

The expression input format for the Character variable is the same as for its variable input format:

"a", "1", "Z", and so forth

any escape sequence: "\t", "\r", "\0", "\n", "\f", "\\", "\"

"\uXXXX" can be used to represent any character using the character hexadecimal Unicode number XXXX

Float

The expression input format for the Float variable is the same as for its variable input format:

3.14159

2E-12

-100

The script keeps all Float values in Double representation and typecasts down only when it assigns the value to a Float variable. This feature prevents any loss in precision by how Java stores Float values.

If the script cannot hold the value by a Float, the script automatically stores the value as a BigDecimal and typecasts it to a Float when it assigns the value to a variable, with some loss in precision.

Integer

The expression input format for the Integer variable is the same as for its variable input format:

234556789

0

-23

The script first parses the value as an Integer. If this attempt is unsuccessful, the script parses the value as a Long. If this attempt fails, the script parses the value as a BigInteger. The script may typecast the value to an Integer when the value is assigned to a variable. If the script cannot represent the value as an Integer, the result may be unknown.

String

The expression input format for the String variable is the same as the variable input format:

"Hello", "C:\WINNT\win.ini"—This format does not support any escape characters or Unicode characters.

u"\"This is a quoted string\"", u"\tHello", u"\u2222\u0065", u"C:\\WINNT\\win.ini", and so forth. This format supports the same escape sequences or Unicode characters described for the Character type.

Date

The expression input format for the Date variable is the same as for its variable input format:

D[12/13/03]

D[Dec 13, 2003]

D[January 31, 2003]

D[Tuesday, April 12, 2003]

D[12/13/03]

D[12/13/03 5:50 PM]

D[April 1, 2003 12:00:00 AM PST]

The script parses the parameter specified in between D[] based on any combination of the following two formats:

"<date>"

"<date> <time>"

The Cisco Unity Express Script Editor supports four <date> specification formats:

SHORT is completely numeric, such as "12/13/03"

MEDIUM is longer, such as "Jan 12, 2003"

LONG is longer, such as "December 23, 2003"

FULL is completely specified, such as "Tuesday, April 12, 2003"

The <time> specification supports the following three formats:

SHORT, such as "3:30 PM"

MEDIUM is longer, such as "3:30:32 PM"

LONG and FULL are identical and more complete, such as "3:30:42 PM PST"

Time

The expression input format for the Time variable is the same as for its variable input format:

T[3:39 AM]

T[11:59:58 PM EST]

The script parses the parameter specified inside brackets of T[] on the following three format specifications:

SHORT, such as "3:30 PM"

MEDIUM is longer, such as "3:30:32 PM"

LONG and FULL are identical and more complete, such as "3:30:42 PM PST"

BigDecimal

The expression input format for the BigDecimal variable is the same as for its variable input format:

3.14159

2E-12

-100

BigInteger

The expression input format for the BigInteger variable is the same as for its variable input format:

234556789

0

-23

Double

The expression input format for the Double variable is the same as for its variable input format:

3.14159

2E-12

-100

If the script cannot hold the value by a Double, the script automatically stores it as a BigDecimal and typecasts it down to a Double when the script assigns a value to a variable, with some loss in precision.

Long

The expression input format for the Long variable is the same as for its variable input format:

234556789

0

-23

The script first parses the value as a Long and if it fails, the script parses the value as a BigInteger. The script may typecast the value to a Long when the script assigns the value to a variable. If the script cannot represent the value as a Long, the result may be unknown.

Using Operators with the Expression Editor

The Cisco Unity Express Script Editor accepts the following operators, which are listed in order of execution priority:

1. Parentheses (...)—Works with any expression; allows you to give priority to the expression contained in the parentheses.

2. Multiplication (*), Division (/)—Works with any number expression (integer, long, float, decimal, BigInteger, BigDecimal)

Number operands are properly promoted to a valid type before testing.

3. Addition (+), Subtraction (-)—Works with any number expression (integer, long, float, decimal, BigInteger, BigDecimal)

Number operands are properly promoted to a valid type before testing.

4. Less Than (<), Greater Than (>), Less Than or Equal (<=), Greater Than or Equal (>=)

Comparison operands work only on String, Character, and Number operands.

5. Equal to (==), Not Equal to (!=)

Testing for the <null> constant is supported by the two equality operators.

6. And (&&)— Works only with Boolean expressions.

7. Or (||)—Works only with Boolean expressions.

8. Concatenation (+)

If at least one of the operands is a String, and the other one is not a prompt, then the other one is converted to a String using the String.value( ) method and the result is a new String corresponding to the concatenation of the String representation of both operands. Typically the String.valueOf() method simply calls the toString() method of the object being concatenated or returns the string "null" if the object is null.

If the operands are Characters, then they are concatenated together, resulting in a new String.

Debug Pane

Use the Debug pane to validate your script.

The Validation Error messages appear in this pane when a script is validated. Double-clicking the error message takes you to the script step for which the validation failed.

Basic Error Handling

The Cisco Unity Express Script Editor allows you to create scripts with a variety of ways to handle errors.

This section describes the two basic ways that scripts can handle errors.

Continue on Prompt Errors

Error Output Branches.

Continue on Prompt Errors

The Continue on Prompt Errors option allows the script to continue to execute when the script receives invalid input (for example, Invalid Audio Format or File Not Found).

The Cisco Unity Express Script Editor provides the Continue on Prompt Errors option in the customizer windows of steps in the Media palette. (See "Media Step Descriptions".) For example, Figure 10 shows the Prompt tab of the Get Digit String customizer window.

Figure 10 Continue on Prompt Errors Option—Prompt Tab of the Get Digit String Customizer Window

When enabled, the step continues with the next prompt in the list of prompts to be played back, or, if it is the last step in the list, it waits for caller input.

When you enable Continue on Prompt Errors, you instruct the script to ignore prompt errors and continue as if the playback of a particular prompt was successful. For example, in a sequence of prompts "1 + 2 + 3", if prompt #1 fails, the step will continue with prompt #2. If prompt #3 fails, the step will continue, waiting for caller input as if prompt #3 had been properly played back.

When you disable Continue on Prompt Errors, the media steps generate an exception, which can then be handled in the script.

Available prompt exceptions are:

PromptException

UndefinedPromptGenerator

UndefinedPromptException

InvalidPromptArgumentException

UnsupportedPromptExpression

Error Output Branches

Error output branches contain logic that provides instructions on what to do when typical errors occur.

Figure 11 shows error output branches under a Call Redirect step in a script.

Figure 11 Error Output Branches—Call Redirect Step

In this figure, the Call Redirect step includes logic for both an invalid extension and an out-of-service extension.


Note The script provides error branches only for expected error conditions, not for system errors.