CCPulse 6.1.301.05 Threshold

I want to set the Agents colour in CCPulse to light red when the agent goes not ready. Then, if the agent has been not ready for 5 minutes, I want the colour to be dark red. How can I create a Threshold in CCPulse to change colour after 5 minutes?

Not sure, because I haven’t tried, but these might help:

Threshold, NotReady ONLY:

if Threshold.StatValue = NotReady then

Threshold.Result = true

end if

Threshold, NotReady OVER 5 MINUTES:

if Threshold.StatValue = NotReady then

Threshold.ActionDelay = 300

Threshold.Result = true

end if

Action, NotReady

(Change Object Colour to RED):

CCPulseNotifier.SetColor(Color.Red)

Action, NotReady2 (used for over 5 minutes Threshold)

(Change Object Colour to BLUE):

CCPulseNotifier.SetColor(Color.Blue)

Please let me know if any permutations of these scripts work(!)