Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: paulbudd on February 25, 2008, 02:16:49 PM

Title: CCPulse Tresholds and actions
Post by: paulbudd on February 25, 2008, 02:16:49 PM
Hi, I am setting a field to RED when a duration in the NotReady state matures. All is fine the field goes red after the predetermined time but I now want the action to make it flash RED and not just be solid RED. Has anybody achieved anything like this ?
Title: Re: CCPulse Tresholds and actions
Post by: cavagnaro on February 25, 2008, 02:40:52 PM
Not by default but maybe:

if time > threshold
if mod % 2 == 0 then
    color=red
else
    color=white

? Maybe?
Title: Re: CCPulse Tresholds and actions
Post by: paulbudd on February 25, 2008, 02:51:52 PM
Thanks i'll give it a go.
Title: Re: CCPulse Tresholds and actions
Post by: JSB on June 09, 2008, 12:54:52 PM
[quote author=cavagnaro link=topic=2812.msg11309#msg11309 date=1203950452]
Not by default but maybe:

if time > threshold
if mod % 2 == 0 then
    color=red
else
    color=white

? Maybe?
[/quote]

Hi I am totally newbie in these things so I have a (stupid) question.

Where this code should be placed in CCP or to be precise, should I use a THRESHOLD wizard or ACTION wizard


Many thanks
JSB
Title: Re: CCPulse Tresholds and actions
Post by: tony on June 09, 2008, 03:42:48 PM
- this is an [i]Action[/i], relevant to a [i]Threshold[/i], JSB...
Title: Re: CCPulse Tresholds and actions
Post by: JSB on June 09, 2008, 09:26:05 PM
Ok I have spent 4 hours to find out how it should work and ... I give up :(

I wanted to created an action which will flash a cell in red when Calls Waiting is higher then 1. I set a treshold

if Threshold.StatValue >= 1 then
  Threshold.Result = true
end if

Then I set to it 2 Actions
CCPulseNotifier.SetColor( Color.white )

and the second
CCPulseNotifier.SetColor( Color.Red )

Well, it seems to work but only for a moment ie I see one flash - white and then red. And that's all, after that cell is solid red, no more flash.

I ll be greatful for some hints how to force CCP to constantly flash WHITE and RED when treshold gets set value.

Thanks in advance.


Title: Re: CCPulse Tresholds and actions
Post by: tony on June 10, 2008, 03:24:13 PM
I'm thinking that you can havee it flash red - [i]or [/i] white, not red [i]and [/i] white....  Setting both as Actions against the same Threshold mean that the flash of white will only happen once, whilst the red then overrides that Action and it will continue to flash grey(brown)/red.

Tony
Title: Re: CCPulse Tresholds and actions
Post by: S on June 10, 2008, 05:16:44 PM
Tony, I don;t think it will work like that. In that case it would show only one color whichever is the first one. since ccpulse action thinks since the first condition is satisfied , I am doing this action and am done - it will not even go pass it.
We had same issue recently - one threshold with two color actions and only one color was seen on it.
If the numbers are changing frequently ... then you can set boundaries for the threshold and have one color action for each.
I mean
if Threshold.StatValue >= 1  and Threshold.StatValue < 2 then
  Threshold.Result = true
end if
set this for red color action

if Threshold.StatValue >= 2  and Threshold.StatValue < 3 then
  Threshold.Result = true
end if
set this for white color action

Title: Re: CCPulse Tresholds and actions
Post by: tony on June 11, 2008, 06:52:25 AM
Makes sense - I hadn't tried it out myself, so I had to - ermmm... "assume" (!)

Thnks for the clarification!

Tony