CCPulse formulas not updating unless I hit peek statistics

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?

is this statistics “Change based”?

1 Like

also check: Tools > settings > frequency of updates.

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

cheers,