cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
918
Views
0
Helpful
4
Replies

Script settings to look for no agents logged in process the call in a certain way

BILL PETERSEN
Level 1
Level 1

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

1 Accepted Solution

Accepted Solutions

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.

View solution in original post

4 Replies 4

tdederscheck
Level 1
Level 1

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!

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

Hi

So do you do the (Logged_in_Agents) Variable as an integer? What value do you put in for the Integer?

thanks

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.