Thanks for this George
Can I just get some clarity however.
With the scenario
10 calls in Q max current wait time is 10 minutes.
Next call comes in.
its convScore = current datetime + what ever priority is set in the transfer to ACD action, for this lets just say 0
If I then use the newish API to set the priority priority to 9 (9 minutes) nothing changes to the convScore at this point
When an agent goes available to take the next call, it will at that point calculate the priority for this new call and add 9 minutes to the convScore.
And does it then recalculate/reevaluate the priority of all calls at that point? Or are you saying the only time it re evaluate the convScore is during the transfer to ACD action?
------------------------------
Anton Vroon
KiwiBank
------------------------------
Original Message:
Sent: 09-03-2021 17:14
From: George Ganahl
Subject: Conversation Priority and Score
Recently I have been asked for more detail on exactly how Priority influences interaction selection for routing, especially if you use the API to change the priority while an interaction is in queue.
Ok, here is basically how it all works...
When an interaction enters a queue it is assigned an initial convScore which equals the 13-digit representation of the current datetime in milliseconds (stackoverflow.com has lots of discussions around the topic of this timestamp...I won't bog you down with details).
The Priority (in milliseconds, so 60,000 milliseconds for every point of priority) only gets added to the convScore at the time the Assignment service needs to select an interaction to route to an agent (i.e., multiple interactions waiting in queue and an agent goes IDLE). Thus, Genesys Cloud does not recalculate a score every time you change the Priority (since the base convScore never changes while it remains in the same queue) and the only relevant Priority is the one in effect when an interaction needs to be selected for routing.
There is nothing logged anywhere you can access to see the convScore, as far as I can find or anyone has been able to tell me.
Note that if you transfer the conversation to another queue (or back into the same queue), the convScore gets reset to the time it enters/re-enters the new/same queue and the Priority offset will be applied to that new convScore when Assignment does a routing calculation.
#Routing(ACD/IVR)
------------------------------
George Ganahl GCP (Genesys Cloud), ICCE
Principal PS Consultant
Genesys
------------------------------