CAD Agent status - UCCX 5.0

Unanswered Question
Jul 30th, 2009
User Badges:

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

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Jonathan Schulenberg Thu, 07/30/2009 - 06:30
User Badges:
  • Super Bronze, 10000 points or more
  • Cisco Designated VIP,

    2017 IP Telephony

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.


PAUL CHEN Fri, 07/31/2009 - 15:31
User Badges:

Thanks for your help. It works now, because of a typo I pick the wrong row identifier.

Actions

This Discussion