Question

How to check status of workitems in queue.

  • 5 December 2022
  • 3 replies
  • 189 views

Badge +1

Dear All,

 

Can anyone please suggest how to check if the a record containing a “Customer Account” as a unique key is already there in the Queue with the Status as “NEW”.

Your quick response will be appreciated and it will definitely going to help me alot.

Thanks and Regards,

Umesh Kumar


3 replies

Userlevel 7
Badge +13

Hi @UmeshPharwaha,

 

I am not sure whether this will answer your question. But uou can access the Work items table once those are loaded, and check/sort based on the Item_Name or Work Item result column.

 

In addition to this, you can also utilize the Control room APIs.

Badge +1

Hi @Padmakumar,

 

Thanks for answering the question. But, I know how to check manually. I wanted to check though bot.

 

Thanks

Badge +4

You would have to use the Control Room APIs for this which can extract data from any queue based on certain column and date values- 

I created a component that uses the APIs in below order:

 

API to extract Work Items- 

$System:AAControlRoom$v3/wlm/queues/$pStrWLMQueueID$/workitems/list
 

Custom parameters to pass

{
   "filter":{
      "operator":"and",
      "operands":[
         {
            "operator": "eq",
            "value": "$iStrFilterValue$",
            "field": "$iStrFilterColumnName$"
         },
         {
            "operator":"gt",
            "field":"createdOn",
            "value":"$pStrDateFilter$"
         }
      ]
   }
   }

Reply