Genesys CTI User Forum
Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: mrfly911 on March 20, 2015, 04:09:16 AM
-
Dear all,
I try to create new formula on CC Pulse Template which is only count that call if duration > 15 sec.
result.Duration = CalculationDuration();
var num = CalculationDuration();
function CalculationDuration()
{
if(num = 0)
{
if (ccpulse.CALL.statistic("Talk Times") > 15)
return num+1;
else return num;
}
else
if (ccpulse.CALL.statistic("Talk Times") > 15)
return num+1;
else return num;
}
However, It can't work as i expected . Anyone have experience with Formula CC Pulse and Global Variable of JSCRIPT Language
-
The code does not make a sense from my point of view. What do you want to achieve?
PS: I think, that CCP+ uses VBScript.
-
Hi Kubig,
For example :
1 user Call 200 Calls per day but only 90 Call have duration > 15s
Now CC Pulse only show 200 Calls , but i want to create new formula that filter quality calls only ( duration > 15s ).
-
And why do you not use standard function for that (ranges)?
-
Hi Kubig,
Could you please give it more detail ?
Which function i can use instead of FORMULA.
Thank you so much.
-
You have not to use formula - you can just use statistic and within template wizard define the used Range - check the guides
-
Or create a statistic with a Time filter, if Range is > 15 then you print it
Check StatServer guide