How to count the remaining transaction items in a queue?

Hello,

Please, i just need to check the number of transaction items remaining in a queue.

Thanks

@EngAnalyst-
pls try below

  • Use Get Queue Items activity
  • Properties - select QueueItemStatus = New
  • Create a variable name like newQueueList and assign to - QueueItems =newQueueList
  • Log message = newQueueList.Count
1 Like

It only works for 100 items… Thanks!

yes - Get Queue Items activity retrieve max. 100 items.
You can make an API request:

Get the queues

https://platform.uipath.com/odata/QueueDefinitions

Get queue items based off of Queue Id

https://platform.uipath.com/odata/QueueItems?$filter=QueueDefinitionId

2 Likes

Thank you very much on your quick response.

Please, could you tell me briefly how to make the API request in UiPath?

Thank you again.

Edit: I have used Postman as well as I know the Swagger UI webpage but I didn’t implement it in UiPath itself ever

pls use the orchestrator-http-request activity and follow the postman inputs for the QueueDefinitions nd queueitems

1 Like

Yes i know i have to use Orchestrator HTTP Request activity. I was asking for something more specific :slightly_smiling_face:

Thanks anyway

pls find some sample http request file…
pls change variables, id’s accordingly… cheers!
HTTP Request.xaml (8.2 KB)

3 Likes

Thank you very very much!

1 Like

The workflow has unresolved acitivities and I can not see them :frowning:

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

The workflow has unresolved acitivities and I can not see them

You need to add the UiPath.web.Activities package to the project containing this workflow.