CCPulse state.CallData

Hi guys
I am having an issue with CCPulse formulas and would like to see the full content of state.CallData.
I tried Debug.DumpAll and Debug.Dump(state.CallData) but didn’t work.

CCPulse Relase Notes talk about Performance.EnableScriptDebug and EnableScriptDebug but for EnableScriptDebug, as usual, no idea where that setting is. and EnableScriptDebug seems to do nothing.

Any idea on how I can see this info or what else I need to enable?

Thanks

Not exactly the reply you would want to hear, but just placing my own frustration on this… I’ve tried the same for about a week without success.
I ended up accepting only the content of CCPulse’s Administrator Guide.

The scripts language accepted are Microsoft’s JScript and VBScript, both which cannot walk through a collection getting the Key and Value pairs. You have to use an Enumerator object, which you can only get the Value, but not the Key (as far as I remember of my own attempts on that).

:cry: Yeah that was my initial conclusion however the CCPulse Release Notes talks about that Dump which can be an object, so I guess I talks about a JScript object which I guess is what we are looking at…
Hopefully will get an answer from SR and post it or find something around :wink:

Ahhh you gave that click lol

Here is working code ;D ;D



result.Text = state.type == "AgentState" ? GetSubject() : "n/a";
function GetSubject()
{
// testing CallData.Filter method. Returns
var out = "";
for(var e = new Enumerator(state.CallData); !e.atEnd(); e.moveNext())
   {
	  out = out + e.item().toString();
      }
       
   return out;
}

And now you made me remember this one:
https://docs.genesys.com/Special:Repository/ccpulse80rn.html?id=0a1ddd90-0e5a-40a1-a1db-bdc8a3a736ca#8.0.000.45

Lol as usual documentation everywhere in pieces and without any order…you must be extremely good at searching to find this kind of hidden stuff…

Enviado de meu E6633 usando Tapatalk