06-20-2012 06:51 AM - edited 03-14-2019 10:05 AM
Hello,
I would like to queue a call, and play a prompt just prior to sending to an available agent. I'm using the Connect node under the Selected branch of the Select Resource node. My uncertainty is what happens if the call experiences a RONA? Will it fall to the Failed branch of the Connect node? If I want it to be placed back into queue, do I go back to the Select Resource step or send it to the Queue branch?
Thanks!
Solved! Go to Solution.
06-20-2012 06:57 AM
I should have been more clear, QUEUE label in my script is before Select Resrouce:
06-20-2012 06:56 AM
You send it to Queue logic, see one of my samples:
Chris
06-20-2012 06:57 AM
I should have been more clear, QUEUE label in my script is before Select Resrouce:
06-20-2012 07:00 AM
Thanks Chris, I was close, just missing the Dequeue. I appreciate your help!
12-06-2013 10:00 AM
Hi Anthony,
I have a script that depends on the Failed branch of the Connect step being executed even if there are other agents Ready in the Select Resource CSQ. I came accross this thread and saw that you had verified exactly what I am running into. Do you have any further information on why Cisco implemented this the way they did, or any thoughts about how to make the Failed branch execute even if another resource is ready? Any help is appreciated.
Jeff Engle
12-09-2013 08:07 AM
Cisco most likely implemented this way so the caller can keep their position in queue and you don't have to script around that with increasing priorities and requeuing a la ICM/UCCE.
As for getting around this, I have never really tried, but I did just think of this. See if it works for you. Just place your required steps in the appropriate If output branches.
Set prev_agent_attempted = false
Select Resource
Selected (current_agent = selected resource)
If (prev_agent_attempted)
True
/* The last agent did not answer for some reason: rna, failed to connect, etc. */
False
/* This is the first agent we're attempting to reach */
Set prev_agent_attempted = true
Connect
Connected
End
Failed
/* All Agents have been exhausted, the caller will be queued now. */
Goto Queue Loop
Queued
Queue Loop:
If (prev_agent_attempted)
True
/* There was at least one agent attempted but failed for some reason: rna, failed to connect, etc. */
False
/* There were never any agents attempted, the call came straight to queue */
...
Anthony Holloway
Please use the star ratings to help drive great content to the top of searches.
10-14-2014 02:27 AM
Hi Anthony,
You script will never executed Failed Branch in Connect Step for returning caller in queue.
Do you have workaround for this?
06-28-2016 03:38 PM
In the successful branch of the select, put a dequeue step, then the connect step. this will allow the failed branch of the connect to process and not jump back to the select step.
06-21-2012 12:47 PM
Unfortunately, this does not work if there are remaining Agents in the CSQ in the Ready state.
Here's a graphic illustrating this. the "Set did_this_execute = true" step will not execute, and you can validate by checking the value of the variable. The script will jump to the Select Resource step without executing the Set step.
Note that the boolean value does not change to True. I have even tested this with a Media step, with Interuptable set to False, and it still does not execute that step.
Test script attached for your own validation.
Anthony Holloway
Please use the star ratings to help drive great content to the top of searches.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide