Feedback

  • Contents
 

Scripter from a programmer's perspective

From a programming perspective, scripts written for Interaction Scripter client support events, actions, attributes, and behaviors. These elements manipulate objects in all environments, regardless of whether Interaction Dialer is also installed.  Predictive actions, events, and attributes work only when Interaction Dialer is installed on the CIC server.  Standard actions, events, and attributes work with or without Interaction Dialer.

Event

Events are notification messages from CIC server that trigger script functions.  For example, an event can provide notification that a queue on the server has changed.  When a call is placed on a queue, this event changes the queue, generating an event message.

Predictive events are notification events associated with campaign activities for Predictive, Power or Preview campaigns. Predictive events are raised by Scripter when an agent is logged into Dialer.  All predictive events are functions declared in a script that are called when an event occurs. 

Standard events are generalized and can be used in any script, including scripts for blended environments.  These events are not directly associated with being logged into Dialer, though they can be used when logged into Dialer too. Standard events are generated when queues change.

Actions

Actions are messages from Interaction Scripter scripts to the server that trigger an action on the CIC server. 

Standard Actions perform normal operations on phone calls, such as picking up a call, placing it on hold, transferring, or recording.  Standard actions provide basic telephony integration with the PureConnect platform.  These actions allow scripts to manipulate telephone calls. 

Predictive Actions attributes and events are only valid if Interaction Dialer is installed on the CIC Server and the user is logged into Dialer.  Predictive actions are only applicable in Interaction Dialer campaigns, and can be applied only to campaign calls.  Predictive actions are also useful in preview mode, when information about a party is pushed to an agent before the agent initiates the call. 

Attributes

Attributes are data items passed by actions to the CIC server.  A Dialer attribute is data from a column in a database that is associated with a campaign.  Every Dialer database column is automatically associated with a script object of the same name with IS_Attr_ prefixed.  For example, the database column "address" is available as script attribute "IS_ATTR_ADDRESS". 

If the attribute is first declared in the script, it will go back to the Dialer server during a call complete function, and it can be accessed from a handler.  In the CIC environment, an attribute is a piece of information about an object (such as a telephone call) that travels with the object.  An example might be the telephone number of the individual called during a campaign.  The server passes attributes to the client application when a new call event occurs.  The client passes attributes to the server when a call-complete action is performed.

Predictive attributes are attributes that are normally used with either a Predictive, Preview or Power dialing campaigns.  These attributes are not to be used in blended environments, for example in inbound pages loaded in scripter.  The predictive base view for dialer is not loaded in an inbound page, thus these attributes would not return any values.

System Services attributes are supplemental predictive attributes that retrieve information about a Dialer agent, such as the agent's name, ID, or client status. System services are read-only.

Custom attributes are also supported. Scripter provides the ability to create any attribute within a custom script.  These attributes can be references to the actual values in the call list or can be a newly created attribute declared in a meta tag within the pages loaded in scripter.

Behaviors

Behaviors are like command line parameters and are used to change the way that Scripter behaves when running custom scripts. This means that the behaviors are limited to the custom scripts that implement them rather than applying globally.

Predictive behaviors are only applicable for custom scripts associated with a Predictive, Power or Preview campaign.