Queue data fetching to share with user

Hi Team ,
I have a scenario where my queue will be used my multiple bots and my performer bots are running and suppose i want to share the cases status which was processed by bot from queue then how can i get all the data with success and failed transactions and also reason of the failure. And also how to get the batch wise data if after every 1-2 hours the data will be added to the queue and it will get processed so need to share the current processed data only. If anyone is having any idea or workflow please share .
Thanks in advance

1 Like

Hello @sagar.choudhari You can try this approach

Use HTTP Request activity then authenticate with Orchestrator API key / OAuth then deserialize JSON using Deserialize JSON activity then write output to Excel using Write Range.

Cheers

Although worth noting, there are API limits to prevent too much data scraping like this to occur, so you need to paginate the results.

@sagar.choudhari UiPaths intended solution is Insights, which may or may not be part of your licence plan.
Are you on Enterprise, Unified or the Monthly basic plan?

Hello,

The best way to get success/failure status, failure reasons, and batch reports is to query Orchestrator data.

  1. Orchestrator API: Use the HTTP Request activity on the /odata/QueueItems endpoint. Filter the query ($filter) by ProcessingStatus (Successful/Failed) and use ProcessingDate for your 1-2 hour batch window. Failure reasons are found in ProcessingException.Reason.
  2. UiPath Insights: Use the Queues Explore model. Create a table, filter by Status, and use the Time Filter for the specific batch period.

Try the API method for precise, automated reporting.