Getting the count of queue items with the statuses "New" and "In Progress"

Hi,

Scenario: I have 1000 items in my orchestrator queue. Now I want to check and make sure that there are no New or In Progress items in the queue. So that I can send a Report mail if the count of New and In progress is 0.
How can In get the count of queue items with status “New” and “In Progress”.
If we use get queue items activity, it will help for maximum of 100 items. But I want to get the count for all 1000 items.
Please help.

Thanks in advance.

Hello @Harsha_Vemula ,

Have you tried using Orchestrator API to get the queue items and then get the count ?

Thanks!
Athira

Hi @Harsha_Vemula ,

Maybe with a Combination of While Activity and the Skip and Top Properties of the Get Queue Items Activity, we should be able to achieve Retrieving of 1000 Queue Items.

image

Sample Workflow Attached :
Get_QueueItems_GreaterThan100.xaml (8.0 KB)

as mentioned we can use

  • the ORC API
  • paging on Get Queue Items

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