05-29-2014 01:09 PM - edited 03-14-2019 01:29 PM
I'm needing change my current script so that it will check the queue before it sends a call to the skill to make sure that there are agents logged into it. If there arent any agents logged into that skill then I need to send them to another predefined skill. I'm sure it can be done I'm just drawing a blank at the moment, anyone willing to point me in the right direction would be greatly appreciated.
Thanks, Mark
Solved! Go to Solution.
05-29-2014 07:16 PM
Here you go..hope this helps..very straightforward...(iAgents is an Integer and csqId is a String Type)
05-29-2014 01:40 PM
Before arriving at the Select Resource Step you should Assign the csqId and you should have an int type and call it something like iRsrcLoggedIn (it's initial value will be set to 0). Once that is done, use a Get Reporting Statistic Step (from the ACD folder) to check for Logged In Agents for that CSQ you defined after that use if logic..IF iRsrcLoggedIn == 0 then change the csqId value to the other CSQ/Skill..do a check there if you want and then drop the call into Queue. Let me know if I should show a Screen Capture of this..
05-29-2014 07:01 PM
I think I understand what you are saying and will give it a shot. If you have a Screen Capture of this I would love to see it.
Thanks, Mark
05-29-2014 07:16 PM
05-30-2014 11:28 AM
This worked great. I really appreciate your assistance.
06-23-2016 09:56 PM
Hi guys,
I also need take this information from specific queue, if has logged agents, I'll send the call to them, if not, I'll forward this to another number.
I configured look like as this your example, but didn't return any value from logged-in resources bc when I'm logged with agent or not, the call flow on scripting is the same.
Could you help me or advise me something? I've installed a CCX 10.6.1.10000-39.
All the time, this iAgentsLoggedIn is 0. When I logged with agent on this queue or not.
06-23-2016 10:29 PM
I've fixed the problem. It was missing "" on CSQ name into Get Reporting Statistic element.
Regards,
Cláudio Costa
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