TaskList method: universal queue classes class

Syntax

TaskList(Status, TaskType, PhysicalQueueID, AgentID)

Description

Use the TaskList constructor to instantiate a task list.

If the queue is not provided, a list of tasks for all physical queues for that TaskType and Status is returned. To get all tasks on all queues do not specify any of the optional parameters.

Parameters

Parameter Description

Status

Specify a task status, as an uppercase string. If you do not specify a valid status, an empty tasklist is returned. Valid values are:

Value Description

ACPT

Accepted

ASGN

Assigned

ENQ

Enqueued

ESCL

Escalated

OVFL

Overflowed

Parameter Description

TaskType

Specify a task type as a lowercase string. Valid values are:

Value Description

chat

Chat tasks.

email

Email tasks.

generic

Generic type tasks.

voice

Voice type tasks.

Parameter Description

PhysicalQueueID

Specify a physical queue ID as a string.

AgentID

Specify an agent ID as a string.

Returns

A task list object.

Example

Local string &sStatus;

/* get all enqueued task on the UQ server*/

&sStatus = "ENQ";
Local TaskList &myTaskList = Create TaskList (&sStatus, "", "", ""); 

Related Topics