SmartQueueTask
A SmartQueue task is for a certain agent, which can be a call or a chat.
A SmartQueue task is for a certain agent, which can be a call or a chat.
Add the following line to your scenario code to use the class:
Methods
addEventListener
Adds a handler for the specified SmartQueueEvents event. Use only functions as handlers; anything except a function leads to the error and scenario termination when a handler is called.
Parameters
event
callback
end
Ends the current task.
Parameters
description
terminationStatus
removeEventListener
Removes a handler for the specified SmartQueueEvents event.
Parameters
event
callback
Properties
agentCall
The agent’s Call object.
clientCall
The client’s Call object.
id
A SmartQueue task’s ID.
parameters
SmartQueue task’s parameters, such as required skills, priority, queue, etc.