How to use Script Developer

Use the Script Developer to create and publish uAgent and IVR scripts.

The Script Developer window has the following parts:

  1. Outline
  2. Panel
  3. Menu and toolbars.

Outline

Displays element blocks of a script or module. Scripts and modules have the following element blocks:

 

Name

Description

Type of script

General

Definition of the script or module properties.

All

Modules

External Altitude Scripting Language modules that you import.

All

Dependencies

External files that the script or module uses. For example, images, external DLLs, web services, and generic files.

Note

When you add a dependency, you can select to exclude the dependency from publishing.

All

Declarations

Declaration of script, module, or node elements. For example, constants, variables, parameters, types, or business data.

All

Actions

Blocks of actions.

All

Nodes

Nodes of the script or module.

uAgent and IVR scripts and modules.

Blocks

Blocks of the script or module.

uAgent scripts and modules.

The block of global declarations of a script or module have the following elements:

Name

Description

Type of script

Audio resources

Declaration of the audio files that an IVR script plays.

IVR scripts and modules.

Constants

Declaration of constants that scripts use.

All

Types

Declaration of types.

All

Globals

Declaration of global variables.

All

Parameters

Declaration of script parameters.

uAgent and IVR scripts.

Business data

Declaration of business data records.

All.

Cursors

Declaration of cursors.

All.

Subroutines

Declaration of subroutines.

All.

Functions

Declaration of functions.

All.

The script block of actions has the following elements:

Name

Description

Type of script

On start

Block of actions that the script executes when the script starts.

uAgent and IVR scripts.

On end

Block of actions that the script executes when the script ends.

uAgent and IVR scripts.

On load

Block of actions that the script executes when the module loads.

Generic, uAgent, and IVR modules

On unload

Block of actions that the script executes when the module unloads.

Generic, uAgent, and IVR modules.

Each script node has the following elements:

Name

Description

Type of script

General

Definition of the node properties.

uAgent and IVR scripts and modules.

Parameters

Declaration of the node parameters.

uAgent and IVR scripts and modules.

Exit points

Definition of additional exit points for the node.

uAgent and IVR scripts and modules.

Declarations

Declaration of node elements. For example, constants, variables, parameters, types, or business data.

uAgent and IVR scripts and modules.

Actions

Blocks of actions.

uAgent and IVR scripts and modules.

Node declarations have the following elements:

Name

Description

Type of script

Variables

Definition of the node variables.

uAgent and IVR scripts and modules.

Cursors

Declaration of node cursors.

uAgent and IVR scripts and modules.

Subroutines

Declaration of node subroutines.

uAgent and IVR scripts and modules.

Functions

Declaration of node functions.

uAgent and IVR scripts and modules.

Event handlers

Declaration of the functions that handle events triggered during node execution.

uAgent and IVR scripts and modules.

Function keys

Declaration of the functionality of the function keys for the node.

uAgent scripts and modules.

Elements

Declaration of the graphical elements of the node.

uAgent scripts and modules.

The node block of actions has the following elements:

Name

Description

Type of script

On first enter

Block of actions that the script executes when the script enters the node for the first time.

uAgent and IVR scripts and modules.

On enter

Block of actions that the script executes when the script enters the node.

uAgent and IVR scripts and modules.

On exit

Block of actions that the script executes when the script exits the node.

uAgent and IVR scripts and modules.

Node loop

Block of actions that the script executes when the node loops.

IVR scripts and modules

Panel

Shows the details of the element that is selected in the outline.

Menu and toolbars