Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

🔜Assignment weight

Overview

Weight is the priority assigned to customers for dispatch to agents, weighted per second; the higher the total accumulated score, the higher the priority for dispatch, meaning those with higher weights are more likely to be dispatched to agents first.

Example

When customers A, B, and C call in at the same time under the same skills and channels, A has a weight set to 5; B is not set; C is set to 0. After waiting 60 seconds, A's total score is 300; B's is 60; C's is 0. Therefore A will be dispatched before B, and C will be dispatched last.

Customer
Time of call-in
Configured weight
Accumulated over 1 minute

A

10:00:00

5

300

B

10:00:00

Not set (1)

60

C

10:00:00

0

0

Looking at another use case: if calls arrive at different times with the same settings (A weight = 5; B not set; C = 0), after a certain waiting period you will find that although customer A has a higher weight setting, it does not mean they will be dispatched immediately. Priority increases with time accumulation; only after weighted accumulation will they be dispatched first. This design ensures customers with lower weights still make progress and are not disadvantaged.

Customer
Time of call-in
Configured weight
Accumulated at 10:00:00
Accumulated at 10:30:00

A

10:00:00

5

0

9000

B

09:00:00

Not set (1)

3600

5400

C

08:00:00

0

0

0

Supplement

  • If a weight is not specifically set, the default is 1.

  • Customers with the same score will be dispatched in order of call-in time.

  • The weight of customers already in the queue waiting for dispatch will not change when the script is updated.

Last updated