Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: nonny on December 11, 2012, 10:03:01 PM

Title: CCPulse formulas not updating unless I hit peek statistics
Post by: nonny on December 11, 2012, 10:03:01 PM
I have a few custom formulas in CCPulse intended.  Please see one example:
result.Text = state.type == "AgentState" ? Reason1() : "n/a";
    function Reason1()
    {
    var r = "";
    for(var i = 0; i < state.CallData.Count; i++)
    {
    var cd = state.CallData.Value(i);
    if (cd.Status == "NotReadyForNextCall" & cd.Value > "0" &
        (cd.Key == "ReasonCode" || cd.Key == "reasoncode"))
    return cd.Value;
    }
    r += "";
    return r;
    }

I'm finding that they show up upon first opening of the View, but I have to essentially manually hit peek statistics to see these updating/refreshed.  Is this normal behaviour for fomulas in CCPulse?
Title: Re: CCPulse formulas not updating unless I hit peek statistics
Post by: bandorka on December 12, 2012, 06:42:32 PM
is this statistics "Change based"?
Title: Re: CCPulse formulas not updating unless I hit peek statistics
Post by: Flávio on December 15, 2012, 11:57:58 AM
also check: Tools > settings > frequency of updates.

that will only work if that stat is change based as asked by the sr. above.

cheers,