Get unprocessed queue items count through API

What is the process for integrating API calls (available via Swagger) to loop through my queues and retrieve the count of unprocessed items?

Hi @Payal_Jangra

Welcome to the community !!!

Refer the Docs

Regards,
Gowtham K

use swagger for the prototyping

  • filter for status (and optional for a specific queue)
  • force for the count return

Sample:

_/odata/QueueItems?%24filter=Status%20eq%20'New'%20and%20QueueDefinitionId%20eq%1234567&%24count=true

One possible approach is to create a separate service or a lightweight bot that regularly monitors the queue item status in Orchestrator by leveraging the Orchestrator API. For each queue, you can retrieve the details of unprocessed items, including priority, by making use of the /odata/QueueItems endpoint and applying filters to get the desired results.

odata/QueueDefinitions?%24select=Name%2CId&%24count=false

will return all Names & Ids from the found queues. Id can be used for above

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.