This chapter contains information about some of the most common tasks you perform in Script
Editor. This topic does not contain information about all the tasks you
can perform. For more information on other Script Editor tasks, see the
Script Editor online help.
If you are a department administrator for Packaged CCE deployments (Packaged CCE: CCE-PAC-M1 and Packaged CCE: CCE-PAC-M1 Lab Only), you do not have access to the Script Editor. Instead, use the Internet Script Editor client, unless restricted by the feature control of the client or by your role.
You can control which toolbars appear in the application window by
using the View menu.
Choose Toolbar from the View
The submenu lists the four toolbars. Toolbars that are
currently open, are checked.
To open a toolbar from the submenu, select the unchecked
To close a toolbar from the submenu, clear the checked toolbar.
You can also control the size of the toolbar icons
from the Toolbar submenu:
To display large toolbar icons with text, check
To display small toolbar icons without text, uncheck
Toolbar icons in this document are always shown as large icons
Figure 1. Palette Icon
You can display the Palette by clicking the Palette icon
in the Main toolbar or by selecting Palette from the
View menu. The Palette contains the icons that
represent the nodes used in scripts.
The available nodes are divided into the following
You use the Palette to build a script by moving icons representing
different nodes into the script workspace. You can build a script in the following ways:
Place the cursor over an object and hold the left mouse button, then
drag the object into the workspace and release the mouse
Place the cursor over an object and click the left mouse button, then
move the cursor into the workspace and click the mouse button again.
To insert more of the same node, reposition cursor and click again.
The following figure displays the General tab of the Palette:
Figure 2. General Tab of the Palette
The General tab contains icons for the
following scripting activities:
File > New
New. You are prompted to select a Routing Script or
an Administrative Script:
Figure 6. New Dialog
Figure 7. Routing
The new script
opens in the Edit window, with a Start node. (See
To save the
File > Save or click
Save. You are prompted for a script name.
Add Comments to a
Most nodes have a
Figure 8. Comment Tab
To add a
comment, type in the
To select the
location where you want your comment to appear in the node, select a radio
button in the
Specify a Connection Label Location for a Node
Most nodes have a Connection Labels tab.
Figure 9. Connection Tab
When viewing a script in monitor
mode, you can specify the location of connection labels by moving the
slider in the Label position area to one of the following locations:
Origin, displays the connection label close to the node you are editing.
Destination, displays the connection label close to the targeted node.
Center, displays the connection label between the nodes.
You can remove the connection label by clearing the
Display monitor labels check box.
To validate a
single script, with the script open in the active window, choose
Validate or click the
Icon on the toolbar.
multiple scripts, choose
Validate All or on the toolbar, click the
You are prompted
to choose between validating active versions of all scripts or all the opened
Figure 10. Validate
All Query Dialog
appropriate selection and click
If a script
is valid, a dialog box opens stating that script is valid.
script is not valid, the Validate Script dialog box opens with a list of the
errors. When you select an error, the node where the error occurs is
highlighted in the Edit window.
Open Script Explorer
In Script Editor, choose File > Script Explorer
or on the toolbar, click the Explorer Icon.
The Script Explorer dialog box opens, listing scripts by customer
and business entity:
You can then set the active version of the script, view its
properties, rename it, or delete it. For more information, see the Script
Editor Online Help.
Schedule Routing Script
You schedule a script by associating it with a Call Type as
Choose Script > Call Type Manager. The Call Type
Manager dialog box opens.Figure 11. Call Type Manager Dialog Box—Call Directory Tab
Select the Schedules tab.Figure 12. Call Type Manager Dialog Box - Schedules Tab
Select the call type to
associate with the script.
Click Add. The Add Call Type Schedule dialog box
In the Script tab, select the script to schedule:Figure 13. Add Call Type Dialog Box - Script Tab
In the Period tab, choose the information to define
the period for which the schedule will be effective.Figure 14. Add Call Type Schedule Dialog Box - Period Tab
Optionally, in the Description tab, enter a
description of the schedule.
Click OK in the Add Call Type Schedule dialog box.
Click OK in the Call Type Manager dialog box.
The schedule is not saved until you click OK in
the Call Type Manager dialog box.
You can view a
script in four different modes:
Browse - Allows you to
view the script.
Edit - Allows you to edit
Monitor - Allows you to
monitor the script
- Allows you to make certain modifications to a script, with
the following guidelines:
Edit mode, you cannot add or delete a node.
Edit mode, you can adjust most of the properties of the script nodes you select
in the Node Control table of your assigned feature control set. However, in
Quick Edit mode you cannot edit any properties of the selected nodes that
change the structure of a script or that reset previous reporting data.
As a Quick Edit
You can only
edit scripts through Quick Edit mode.
create or delete a script.
access the Properties of any script node in any mode by either right-clicking
the node and selecting Properties, or by double-clicking the node.
edit the Call Type Manager dialog box (Script > Call Type Manager).
edit the Administrative Manager dialog box (Script > Administrative
edit the Custom Functions dialog box (Script > Custom Functions).
choose the viewing mode from the Scripting toolbar, or from the Script menu.
Unified ICM Script Editor is a tool used to create,
modify, and schedule routing scripts. A script consists of a series of nodes.
When managing large, complex scripts, the
option makes it easier to identify/access the node you want to
Use the Find Nodes
option to find specific script nodes by:
Use the Find Nodes
option to find script nodes in:
Most properties of
the "Find Nodes" dialog box are common and appear regardless of the "Find Nodes
By" selection. However, as you select each of the options in the "Find Nodes
By" section, the appearance of the "Find Nodes" dialog box changes.
The "Nodes Found"
dialog box displays the results of your "Find" operation. The following tables
list the "Find Node" dialog box and "Nodes Found" dialog box property
Keyboard equivalents are indicated in parentheses after each field
Tab/Shift+Tab in the "Find Nodes" dialog box to change focus
and navigate to the sections, buttons, and input fields. You can reach each
field or button within a section/group (Find Nodes By/In) by using the
Tab/Shift+Tab in the
"Nodes Found" dialog box to change focus. You can reach each
node by using the
Common find nodes dialog box properties
Click to find nodes based on the search criteria set in the
"Find Nodes" dialog box. The "Nodes Found" dialog appears displaying a list
of the nodes found that matched the search criteria
Click to close the "Find Nodes" dialog
Click to access the "Find Nodes" online
Find Nodes by Section
Node ID (Alt+N)
The default selection. Selects a node based on its node ID.
Disabled if no script is open or the Current script option is not selected.
When selected a "Please enter node ID:" field appears. Displays the node in
the Current script based on the node ID.
Selects node(s) based on references to an object. When
selected, the "Please select object type:" and "Please select object:"
drop-down lists appear. Select the object type first, then the object.
Displays a list of nodes in the Current script, All active script versions,
or All opened scripts having a reference to the selected
Node Type (Alt+T)
Selects node(s) based on the node type. When selected, the
"Please select node type" drop-down list appears. Displays a list of nodes
of the selected type in the Current script, All active script versions, or
All opened scripts.
Selects node(s) based on a string that is entered. This
string is case insensitive. When selected, the "Please enter string" field
appears. Displays a list of nodes containing the substring of the input
string in the Current script, All active script versions, or All opened
scripts. Note: By default, this search criteria does not
search the "Comment" field in each node. Check the "Search
comment field option" (Alt+F) to search the "Comment" field as
Find Nodes in
Select to find nodes in the current script based on any of the
By" properties. Disabled if no script is open.
All active script versions
Select to find nodes in all active script versions based on the
Object, Node Type, or String
By" properties. If no script is open, this is the only
In" option enabled.
All opened scripts (Alt+P)
Select to find nodes in all open scripts based on the Object,
Node Type, or String
By" properties. Disabled if no script is open.
Common Nodes Found Dialog Box Properties
A listing of the node(s) found as a result of the
Click to close the "Nodes Found" dialog box.
Click to access the "Nodes Found" online
Next Node (Alt+N)
Click to select the next node in the
Displays "Finding nodes in script." as the search proceeds,
then displays the number of nodes found matching the search
In the "Find Nodes By" section, choose Object. Two
drop-down lists appear, one providing a list of object types
("Please select object type:"), the other providing a list of objects
("Please select object:").
Select the desired object type.
Select the desired object.
Click Find. A "Nodes Found" dialog box appears
displaying a list of nodes referencing the selected object.
If no node has a reference to the selected object, a message
appears stating: "Cannot find any node with reference to <xxx>
object: <Yay>." (where <xxx> is the object type selected
and <Yay> is the object selected).
Select a node in the list and that node is highlighted in the