01-19-2021 06:35 AM
Hi All,.
Does anyone know of a method for deselecting a resource in a script ?
Been asked check the feasibility of something,... lets say broadly speaking, we have agents based in two locations - all sit in the same CSQ,.
I have been asked if it's possible to check which location a selected agent is based, and then offering the caller the option to instead connect to an agent from their 'preferred' location,..
Rightly or wrongly I assumed that jumping back to the Select Resource would do the trick,...problem I have is that when jumping back, the initial selected agent stays 'reserved',.
Any ideas ? ,. or maybe it's not possible ?
Cheers
JT
01-19-2021 09:12 AM
I do not think you can manipulate the intended target of the Select Resource step from within the Selected output branch. That function is tied to the resource selected by your User variable. The only two options are 'Selected' and 'Failed'.
If you want to manipulate the target of the "Select Resource" palette item, I don't think there is any option to do it within the function, other than the "Failed" outcome branch--and that just means the intended User resource didn't answer.
Hope this helps.
Sincerely,
Sean
01-19-2021 10:57 AM
Thanks Sean, much appreciated. I'll try and come up with alternative ideas to give to management.
01-19-2021 11:32 AM - edited 01-19-2021 11:32 AM
The only thing I can thnk of is, present the choice to the call contact prior to the Select Resource step. Then invoke an Agent Based Select using the following type of method:
In this example, the Agent Resource can still be designated (manually selected, so to speak), but then if the select step fails, an alternate can be selected. You could nest Agent Resource Select steps as deep as you wanted in the Failed branch(es), or default to an ACD queue in the final Failed branch.
Just my two bits...
-Sean
01-19-2021 12:18 PM - edited 01-19-2021 12:24 PM
Example expanded with Time Zones as designated outputs for Preferred Agent and CSQs:
01-20-2021 12:42 AM
Thanks Sean,. more than appreciated!,. I'll look into this!
01-20-2021 01:11 PM
You're welcome!
-Sean
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: