Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: markcod on November 16, 2017, 09:26:34 AM

Title: CCPulse - threshold question for waiting time
Post by: markcod on November 16, 2017, 09:26:34 AM
Hi,

In CCPulse, we have created a QueueView with the below threshold to show when there’s a waiting time of more than 120 seconds (with a yellow color action).
Now, we want to add some form of action – another color or alarm – [b]when the waiting time of more than 120 seconds has lasted for more than 600 seconds[/b].


Is it possible?

if ( Threshold.StatValue > 120) then
Threshold.Result = True
else
Threshold.Result = False
end if
Title: Re: CCPulse - threshold question for waiting time
Post by: cavagnaro on November 16, 2017, 01:54:00 PM
"Has lasted".
What do you exactly mean by that?
Title: Re: CCPulse - threshold question for waiting time
Post by: markcod on November 16, 2017, 02:10:43 PM
Sorry for my poor English.

Once there's 120 seconds of waiting time, then after an additional 600 seconds where the waiting time doesn't drop below 120 seconds,
I want to change the color
So Threshold.Result has been True for 600 seconds

Hope it makes sense.

Title: Re: CCPulse - threshold question for waiting time
Post by: cavagnaro on November 16, 2017, 02:42:39 PM
Don't understand...
120 seconds is at 18:02 for example, so additional 600 seconds is at 18:12, right? 720 seconds in waiting time.
120 has been exceeded at second 121 already, so you can't evaluate it after that...



Title: Re: CCPulse - threshold question for waiting time
Post by: vyanicha on November 21, 2017, 04:55:22 AM
Hi try this script for your 2nd threshold then create another action with set  color red


if Threshold.StatValue = 120 then
  Threshold.ActionDelay = 600
  Threshold.Result = true
else
  Threshold.Result = false
end if
Title: Re: CCPulse - threshold question for waiting time
Post by: markcod on November 23, 2017, 08:55:42 AM
Great, ActionDelay does the trick for me. Thanks both of you for your replies