Orchestrator Queries - get queues name and items

Hi All,

kindly i need help in one query
1- i want to get all my queues name and get last date inserted item , for example i want to know all my queues that didn’t have any item in the past 24 hours ,any help appreciated

1 Like

@alialroomi - you can try below

  • get all queue lists from orchestrator api ( {{url}}/odata/QueueDefinitions )
  • loop each queue name and get the list of items
    {{url}}/odata/QueueItems?$filter=QueueDefinitionId eq 12345 (12345 - queuedefinitionid)
  • write your business logic for the count

pls refer below link to build query filter conditions - like top/ orderby/ by time
https://docs.uipath.com/orchestrator/reference/building-api-requests#section-get-requests

4 Likes

thanks i will try and let you know

2 Likes