03-10-2015 08:13 AM - edited 03-14-2019 02:32 PM
Hello everyone,
I'm creating a script for a small call center and was hoping someone could point me in the right directions. All I want to do is if there are no callers logged into the queue I want the call routed to a voicemail box. I'm stuck on the part where it checks the reporting statistic. I see alot of references to (agentsloggedin==0)
True--->send to queue
False---> send to voicmail.
My issue is on the script where do I set the (agentsloggedin==0). Is that a paremeter? Boolean? Thanks in advance for any tips/help! I'm not able to set any number parameters inside the 'If' statement.
Thanks!
Solved! Go to Solution.
03-10-2015 09:12 AM
03-10-2015 11:16 AM
Do you have agents that are currently logged in to that CSQ? If you do a reactive debug what value do you see for the Get Reporting Statistics step in the AgentsLoggedIn variable?
DJ
03-10-2015 08:24 AM
Hi Will-
"agentsloggedin" would be set as a type int. Your If statement condition will be "agentsloggedin==0" (without quotes) and the True branch would be your voicemail routing and the False branch will have your queue logic.
DJ
03-10-2015 08:38 AM
03-10-2015 08:43 AM
Will-
It looks like your 'Get Reporting Statistic' is using a different variable (intRetries) than your If Statement (AgentsLoggedIn). Once that gets corrected it looks like you should be good to go.
DJ
03-10-2015 08:54 AM
I see what you're saying! Thanks for pointing me on the right track. Do the variables need to be set as a paremeter? Should I set 'AgentsLoggedIn' as a parameter? Thanks again!
03-10-2015 08:59 AM
You're welcome. Nope. Setting a variable as a parameter will make it display in the application page and allow you to modify the value from there. I wouldn't do that in this instance.
An example of where you might set a variable as a parameter would be a 'forced closed' or 'forced open' variable. That way you could just update the application rather than making modifications to the actual script.
DJ
03-10-2015 09:07 AM
So, should the result statistics on the 'Get Reporting Statistic' be set to 'agentsloggedin'?
03-10-2015 09:12 AM
03-10-2015 09:38 AM
03-10-2015 09:42 AM
Can you upload the whole script so I can take a look? i don't see anything that jumps out at me as incorrect in the screen shot.
DJ
03-10-2015 09:45 AM
03-10-2015 10:07 AM
Ah Ha! I think I found the issue. What is the exact name of the BIDO Sales queue?
I see you are looking at strBIDO_Support for your if statement which has a hyphen, but strBIDOsales uses an underscore:
strBIDO_Support | String | "BIDO-Sales" | Parameter |
strBIDOsales | String | "BIDO_Sales" | Parameter |
DJ
03-10-2015 11:09 AM
I thought that was it! However, still getting the hold message looping after changing to "BIDO_Sales"....
03-10-2015 11:16 AM
Do you have agents that are currently logged in to that CSQ? If you do a reactive debug what value do you see for the Get Reporting Statistics step in the AgentsLoggedIn variable?
DJ
03-10-2015 11:19 AM
I do not have people logged into the CSQ. I was hoping to set the get reporting stat then once it verifies nobody is logged in it routes to voicemail. Is there a way to see the Get Reporting Stat live? As to see what agents are logged in? I realize I'm all over the map :/ sorry.... Really appreciate all your efforts.
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