Genesys CTI User Forum
Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: Tobe on May 05, 2009, 07:57:36 AM
-
Hi all,
I'm trying to build a threshold which should be true when e.g. 60% is reached.
An example:
CCPulse values in the template: Entered: 100
Max calls day: 500
My formula should be:
If "Entered" * 100 / "Max calls day" >= 60 then Threshold.Result = true endif
-> 100 *100 / 500 = 20 this means Threshold.Result = false
How could I build the Threshold script?
I tried it with Threshold.StatAlias but I didn't really know how to build up the whole script.
-
an addition:
I want to use/execute the threshold on the value "Entered"
..so normally the threshold script must start with:
if threshold.statvalue *100 / "max calls day" > 60
then Threshold.result = true
endif
How must be the script that the value "max calls day" will be used in the formula?
-
As far as I know you can only make thresholds on single stat. Meaning you cannot make a threshold where you read two stats and count value from them.
You must make a formula on template where you count that percentage, and then set threshold for it. Threshold only "see" the stat value it is set on.