cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1634
Views
15
Helpful
2
Replies

Not Ready Resource with Reason

Hey. Does anyone have an example for have to read a specific reasoncode from the output of the CCX Editor Step Get Reporting Statistic - Not Ready Resource With Reason.. I know the output is a map with ConcurrentHashMap in it. Best regards Thomas
Please rate helpful posts and if applicable mark "Accept as a Solution".
Thanks, Thomas G. J.
2 Replies 2

marshs
Level 1
Level 1

Hi Thomas

I also am requiring to use this feature in the Get reporting statistic step......but i am struggling to get this to work.......

the results are being passed to a map variable as you mention, but the returned value via a reactive debug for this step is §java.util.concurrent.ConcurrentHashMap§{32760=1}§ but i am looking for an int or anything > 0

the variable value i have for the map variable is null but thats not working for me

alejandrosidera
Level 1
Level 1

Hello,

 

I have the same problem. I need to check if any agent is offhook (32762=1) but I don't know how to implement that on the script. I need something similiar to "an integer or anything > 0", but this expression does not work for a Map Object variable.

 

How can we do that?