- Contents
Interaction Scripter Developer's Guide
IS_Event_NewPredictiveCall
Definition
This event is raised by Scripter when a predictive call is assigned to the agent by ACD. The event passes in the CallId of the call that is added to the users queue. The IS_Event_QueueObjectAdded event is also raised along side this event, since a call object has been added to the user's queue. This event is usually set up in the waiting for call page, to either listen for a predictive call or a preview call, and then redirect the agent to the appropriate page. Its prototype is IS_EventNewPredictiveCall(CallId).
Use the IS_Attr_Campaign attribute to identify the name of the campaign If names/values are required as a dynamic list, use IS_Event_DataPop instead of IS_Event_NewPredictiveCall. If IS_EventNewPredictiveCall is not defined, IS_Event_DataPop will be called by default.
Attributes
- CallId
-
Call identifier of the new call on the user's queue.
Example
<head>
<meta name="IS_Attr_CallId">
<script language=javascript>
function IS_Event_NewPredictiveCall(CallId) {
// navigate to the data display page
location.href = "intro.html";
}
</script>
</head>