" /> CCPulse - threshold question for waiting time - Genesys CTI User Forum

Author Topic: CCPulse - threshold question for waiting time  (Read 2613 times)

This topic contains a post which is marked as Best Answer. Press here if you would like to see it.

Offline markcod

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
CCPulse - threshold question for waiting time
« on: November 16, 2017, 09:26:34 AM »
Advertisement
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

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: CCPulse - threshold question for waiting time
« Reply #1 on: November 16, 2017, 01:54:00 PM »
"Has lasted".
What do you exactly mean by that?

Offline markcod

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Re: CCPulse - threshold question for waiting time
« Reply #2 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.


Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: CCPulse - threshold question for waiting time
« Reply #3 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...




Marked as best answer by markcod on September 09, 2019, 09:42:41 PM

Offline vyanicha

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: CCPulse - threshold question for waiting time
« Reply #4 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
« Last Edit: November 21, 2017, 04:59:25 AM by vyanicha »

Offline markcod

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Re: CCPulse - threshold question for waiting time
« Reply #5 on: November 23, 2017, 08:55:42 AM »
Great, ActionDelay does the trick for me. Thanks both of you for your replies