- Contents
Interaction Scripter Developer's Guide
IS_Event_PreviewTimeoutStopped
Definition
The IS_Event_PreviewTimeoutStopped event is a Predictive Event that is specifically designed for use with Preview campaigns that use a preview countdown timer. When a countdown timer is enabled for a Preview campaign, Dialer will send the IS_Event_PreviewTimeoutStopped event to a custom script to indicate that the countdown timer has stopped or has been canceled.
The IS_Event_PreviewTimeoutStopped event will only function when running a script on an Outbound Dialer Server. If you are running a script on a Manual Calling Server, which by default doesn't support the preview countdown timer feature, then the IS_Event_PreviewTimeoutStopped event will not function. (The IS_Event_PreviewTimeoutStopped event can be present in a script, it just won't function because on a Manual Calling Server an agent must manually initiate a call by clicking a button.)
Attributes
IS_Event_PreviewTimeoutStopped has one attribute that is passed in as an argument object.
- InteractionId
-
This is a string that holds the ID of the preview call for which the timeout has stopped.
Example
<head>
<script language=javascript>
function IS_Event_PreviewTimeoutStopped(args) {
var id = args.InteractionId;
// insert other code here as needed...
}
</script>
</head>