03-21-2011 10:39 AM - edited 03-14-2019 07:37 AM
Hello
I have a UCCX script that seems to be working fine that I would like to add some additional scripting to look for a state where no agents are logged in so I can send the call to a specific message.
Can anyone give me an example of the veriable that could be used to make that happen?
thanks
Solved! Go to Solution.
03-22-2011 08:03 AM
Hi Bill,
You are correct you need to add Logged_in_Agents as a variable with an initial value of 0 for the initial creation of the variable. And I appologize I used the wrong symbol, you should check for a greater than wich would indicate agents are logged in. If they are you should continue with script as normal if not then you can play your prompt.
When you define the "Get Reporting Statistic" you will ultimately populate the Logged_in_Agent variable when it is time to check for the Logged-in Resources by what you configure here. I hope that makes sense.
03-21-2011 01:28 PM
Hi Bill,
Try using:
Use the Get Reporting Statistic
Properties:
Report Object: CSQ
Field: Logged-In Resources
Row Identifier: CSQ
Result Statistic:Logged_in_Agents
Then use an IF-THEN statement
If(Logged_in_Agents <0)
True Play Prompt
Good Luck!
03-21-2011 03:01 PM
Hi
When I create the "Get Report Statistic" I dont have a row identifier called CSQ. I have a row identifier called "Queue_Name" that is a parameter I set up where I can name what queue I am using so I figured that would work. I also don't have a row statistic called "Logged_in_Agents".
Not sure how to get the static "Logged_in_Agents" to show up.
thanks
Bill
03-21-2011 08:34 PM
Hi
So do you do the (Logged_in_Agents) Variable as an integer? What value do you put in for the Integer?
thanks
03-22-2011 08:03 AM
Hi Bill,
You are correct you need to add Logged_in_Agents as a variable with an initial value of 0 for the initial creation of the variable. And I appologize I used the wrong symbol, you should check for a greater than wich would indicate agents are logged in. If they are you should continue with script as normal if not then you can play your prompt.
When you define the "Get Reporting Statistic" you will ultimately populate the Logged_in_Agent variable when it is time to check for the Logged-in Resources by what you configure here. I hope that makes sense.
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