CallScripter 4.5.53 for Interactive Intelligence

Please email training@callscripter.com for omissions or errors.
×
Menu

executehandler

This fires a custom notification, which in turn can invoke a handler.
 
Argument 1
Required
ObjectID for the notification.  A custom handler should be registered to listen for this.
Argument 2
Required
EventID for the notification.  A custom handler should be registered to listen for this.
Argument 3
Required
The payload for the custom handler.  The handler will interpret the content of this argument as a comma-delimited list.
Argument 4
Required
Notification type which can be set to one of the following:
  •   ApplicationRequest
  •   ApplicationResponse
  •   ServerNotification
  •   None
  

Example

The code below demonstrates how to invoke a csCommand payload via a Custom Notification that initiates a handler with notification initiator:
 
csCommand('executehandler', '{ObjectID}', '{EventID}', '{Payload}', 'ServerNotification')
 
 From a handler perspective the initiator should be configured as follows: