I´d like to ask you for some help. I´m trying to set my own formula, which could predict Agent´s Total number of Outband call per shift, based on Actual Outband Calls per Actual Login Time.
It is something like this:
((ccpulse.group(“Total Time”).OUT/ccpulse.LOG.Total_Log)*60)*495
and it looks like it works, but the result is shown with 2 decimal places.
I´ll try to find it here, or in other documentations, but nothing help.
I´trying it with, (result.Long); (Math.round) etc. but I dont have any Java experience, so maybe I just didnt know how to do it right.
Hi, what should be the result of that? or where can I change it? I think that calculation takes Total Count of Outband Calls and Divide it by Actual Log (in seconds).
then I multiply it with lenght of agents shift (495min) without lunch.
It seems that it works, but the result´s is number for example 73.33. I want to show it in CCPulse, rounded to whole number, or just show with zero decimal places.
comes out as a round % , it’s not pretty but it works
result.Text = CalculateReason();
function CalculateReason()
{
if (((ccpulse.group(“Individual Agent”).statistic(“TotalTalkStatusTime 1”)/ccpulse.group(“Individual Agent”).statistic(“Login Time”))*100))
{
var d = ((ccpulse.group(“Individual Agent”).statistic(“TotalTalkStatusTime 1”)/ccpulse.group(“Individual Agent”).statistic(“Login Time”))*100)
var s = Math.floor(d % 3600 % 60);
var f = (+ s);
return “(”+ f +“)”;
}
}
Hi, thank you very much for your reply, It seems pretty complicated for me, with no javascript experience but im gonna try it, what will be the result.
Between whiles I put together this: