" /> CCPulse formulas not updating unless I hit peek statistics - Genesys CTI User Forum

Author Topic: CCPulse formulas not updating unless I hit peek statistics  (Read 3196 times)

Offline nonny

  • Full Member
  • ***
  • Posts: 218
  • Karma: 2
CCPulse formulas not updating unless I hit peek statistics
« on: December 11, 2012, 10:03:01 PM »
Advertisement
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?

Offline bandorka

  • Full Member
  • ***
  • Posts: 120
  • Karma: 1
Re: CCPulse formulas not updating unless I hit peek statistics
« Reply #1 on: December 12, 2012, 06:42:32 PM »
is this statistics "Change based"?

Offline Flávio

  • Newbie
  • *
  • Posts: 32
  • Karma: 0
Re: CCPulse formulas not updating unless I hit peek statistics
« Reply #2 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,