cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
844
Views
0
Helpful
2
Replies

CAD Agent status - UCCX 5.0

PAUL CHEN
Level 1
Level 1

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

2 Replies 2

Jonathan Schulenberg
Hall of Fame
Hall of Fame

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.

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