NotifyAction - addQueue()

Queue the call, putting it on hold.

Table 1. Parameters
Name Type Description
None
Table 2. Returns
Type Description
QueueAction The action added to the NotifyAction object. Use the QueueAction object to define the queue name, and queueing or dequeueing behavior.
// instantiate NotifyAction
var notifyAction = new SNC.NotifyAction();

// queue the call
var queue = notifyAction.addQueue();
queue.setName('my queue');
// instantiate NotifyAction
var notifyAction = new SNC.NotifyAction();

// dequeue the call
var queue = notifyAction.addQueue();
queue.setDequeue(true);