ctiBusyUq

Syntax

ctiBusyUq(busy, subtractcost, task)

Description

Flip ctiBusy flag, reduce cost of a CTI task from an agent's workload, or both. If the task is the same as the agent's assigned task, then the task's cost will be used. In case they do not match, the task type is checked and the default cost of the task is used to recalculate the workload.

Parameters

Parameter Description

busy

The ctibusy flag that can have a value of 0 or 1.

subtractcost

Flag to reduce cost of the cti task from the agent's workload. It can be set to 0 or 1.

task

The task object.

Returns

Request number.