Genesys CTI User Forum
Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started 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
-
"Has lasted".
What do you exactly mean by that?
-
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.
-
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...
-
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
-
Great, ActionDelay does the trick for me. Thanks both of you for your replies