Genesys CTI User Forum
Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: kevinwang on October 20, 2010, 04:49:11 PM
-
Hi ,guys,
I want to use the function incrementpriority to dynamically increase the priority of an interaction waiting in the queue,
but I have no idea where to put it? I mean before selection object or after it?
if before selection, interaction is not in the queue yet, but if after selection, how can I change the priority using incrementpriority?
thanks in advance.
Kevin
-
Hi Kevin,
You must use the IncrementPriority function before the Selection object. Priority is managed by URS and is not directly related to any queue.
R.
-
actually, that's what I did, but the priority didn't update as I expected. maybe I need to print the priority in the log to figure it out.
-
Fragment of URS log (covering some call while waiting) could be useful.
-
Since you don't have to specify the queue in the parameters, before the selection object will work fine if your routing has only a single Selection.
I don't think it's required to use the Priority function to "initialize" the priority.