07-30-2009 02:34 AM - edited 03-14-2019 04:25 AM
Hi,
Is it possible to get the Ready or Not Ready status of the agent in CAD ?
I have a line of a script which attempts to get the value of the status:
agentState = Get Reporting Statistic (State[agent]) from Resource IPCC Express)
if (agentState == "Ready") Then...
When I do a reactive Debug, the value returned for agentstate is a string with "invalid" value.
I am not sure how to get the value of the CAD agent status
Any help appreciated.
Thanks,
Paul
07-30-2009 06:30 AM
You need to have a valid username in the Row Identifier parameter. I just tested this on CCX 7.0 and it works as you want it to.
Step:
Get Reporting Statistic
Parameters:
Report Object: Resource IPCC Express
Field: State
Row Identifier: agentID (String)
Result Statistic: agentState (String)
In my test it returns Logoff, Ready, Not Ready, or Talking correctly. I suspect you get "invalid" because that is not a valid resource username.
07-31-2009 03:31 PM
Thanks for your help. It works now, because of a typo I pick the wrong row identifier.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: