Using Reactive Debugging

This procedure is also the only way you can debug Voice Response Unit (VRU) scripts, by registering for the script filename. When the call starts, the Cisco Unified CCX Engine runs the associated scripts normally until the system reaches the one for which you registered a reactive debugging session. The system starts debugging the script at that point.

Note

The Cisco Unified CCX Editor can save script information directly to the Script Repository. However, before the Cisco Unified CCX Engine can use a script for call processing, you must refresh the application that uses the script through the Cisco Unified CCX Administration web interface. In addition, every time you edit a script, you must refresh the version of the script on the Cisco Unified CCX Engine.

Note

To upload and refresh a script, you must use the Cisco Unified CCX Administration Script Management web page. For more information, see the Cisco Unified Contact Center Express Administration and Operations Guide.

To debug a reactive script, do the following.

Procedure


Step 1

From the Cisco Unified CCX Editor menu bar, choose Debug > Reactive Script.

The Reactive Debugging Script dialog box appears.

Step 2

In the Script File Name text field, enter the expression of the script you want to debug just as you entered in the Cisco Unified CCX Administration on the Application Configuration web page, or use the drop-down menu to choose the desired script.

You can specify a script as a string (for example: “aa.aef”) or a script object for the subflow. The following is the format for specifying a Cisco Unified CCX Editor script object in the dialog box.
The Format for Specifying Script Objects in a Script

Format for Specifying a Script

Of this type

SCRIPT[filename.aef]

For example: SCRIPT[myscript.aef]

User script in the script repository

SSCRIPT[filename.aef]

For example: SSCRIPT[aa.aef]

System script

Note

System scripts should not be edited by a user and are not listed in the drop-down menu.

SCRIPT[FILE[drive://directory/common/cisco/uccx/Scripts/user/default/filename.aef]]Need confirmation on the correct representation of the path here. the quesation is about the usage of slashes

SCRIPT[FILE[/common/cisco/uccx/Scripts/user/default/userscript.aef]]

User File script in the specified location

SCRIPT[URL[http://UrlAddress/filename.aef]]

For example: SCRIPT[URL[http://localhost/aa.aef]]

User URL script at the specified URL

Step 3

In the Script File Name text field, enter the file name of the script you want to debug or use the drop-down menu to choose the desired script.

The script name must exactly match the one you supply when configuring the script in the application configuration web page or in the VRU script configuration page on the Cisco Unified CCX Administration web interface.
Step 4

In the Wait Time (Secs) text field, enter the amount of time you want the Cisco Unified CCX Engine to wait for the result of a triggering event or to wait for a Run VRU Script request to be received from Cisco Unified ICME software.

The Cisco Unified CCX Engine must be running, and the computer you are using must have a connection to the Cisco Unified CCX server.
Step 5

Click OK.

How the event is invoked depends on the type of event required. For example, for the Cisco Unified IP IVR (Interactive Voice Response) script aa.aef, the system makes a call to the required number and the script window appears in the Design pane of the Cisco Unified CCX Editor.
Step 6

Choose Debug > Continue to allow the system to continue debugging, or Debug > Step Over to debug one step at a time.

Step 7

Correct any errors flagged by the system prompt in the Cisco Unified CCX Editor.