" /> creating threshold that queries 2 stats question - Genesys CTI User Forum

Author Topic: creating threshold that queries 2 stats question  (Read 3884 times)

gading

  • Guest
creating threshold that queries 2 stats question
« on: January 01, 1970, 12:00:00 AM »
Advertisement
hi everyone... i need a little bit of help here
i'm trying to make a threshold that can detect when there is a call waiting in the queue but no agents are available. Here is the code that i used before but it just doesn't seem to work. Oh, and this threshold was set to the total no of agents available

if (Threshold.StatValue = 0) and (CurrNumberWaitingCalls>0) then
Threshold.Result = true
end if

Thanks before,

gading

Marked as best answer by on May 02, 2025, 03:37:39 AM

Jeffrey

  • Guest
creating threshold that queries 2 stats question
« Reply #1 on: January 01, 1970, 12:00:00 AM »
  • Undo Best Answer
  • Can you define "not available?"
    Logged out or are we talking about anything that is not loggedin/ready?

    The easiest would be just to look at number of calls in a queue if you have any agents available you would not have any calls there. So just put the threshold on that...