How to get the details for every queue through Orchestrator http request. Details like Queue name Count of successful transaction,BIZ Exception,App Exception for each queue items

Hi All,
I am new to UiPath. Please help.
How to get the details for every queue through Orchestrator http request. Details like Queue name Count of successful transaction,BIZ Exception,App Exception for each queue items in table.

I used odata/QueueItems but I can able to view Queue id, Priority,Status etc. not Successful count, or others. Where Can I get those details and which activity need to be used to retrieve those details.
Kindly help.

Hi @Nancy29 ,

You can use Get Queue Items Activity.

https://docs.uipath.com/activities/other/latest/user-guide/get-queue-items

This activity can retrieve all the queueitems. You can filter based on status too.

Hi @Nancy29, welcome to the Community.

You can use the Orchestrator HTTP Request activity to get metadata of the queue & their status details.

Please refer the following docs for more info on this:

https://docs.uipath.com/activities/other/latest/user-guide/orchestrator-http-request

https://docs.uipath.com/orchestrator/automation-cloud/latest/api-guide/queue-items-requests

Hope this helps,
Best Regards.

Thank you both. Will check on the given links and get back if I am still struck.

2 Likes

@Nancy29
we would also recommend to use swagger for exploring the different endpoints

also have a look at this endpoint:
/odata/QueueProcessingRecords/UiPathODataSvc.RetrieveLastDaysProcessingRecords(daysNo={daysNo},queueDefinitionId={queueDefinitionId})

Returns the computed processing status for a given queue in the last specified days

1 Like

Thanks a lot. I got those details.

Perfect. Lets close the topic by:
Forum FAQ - How to mark a post as a solution - News / Tutorials - UiPath Community Forum

1 Like

Hi, @ppr and all.

I’m trying to view all the ways by which we can filter QueueItems. I know we can use CreationTime, QueueDefinitionId, and Status, but I thought I could use LastProcessingOn, too. However, I’m getting exceptions thrown saying that my endpoint is not valid. Here is an example of an endpoint I tried using that was not successful:

String.Format(“/odata/QueueItems?%24filter=LastProcessingOn%20gt%20{0}%20and%20LastProcessingOn%20lt%20{1}%20and%20QueueDefinitionId%20eq%20{2}&%24select=Status%2CReference%2CStartProcessing%2CEndProcessing%2CSpecificContent%2COutput%2CCreationTime%2CDeferDate%2CDueDate%2CProcessingException&%24orderby=StartProcessing%20asc&%24top=1000&%24skip={3}&%24count=true”,in_LastReportRunDateTime.ToString(“yyyy-MM-ddTHH:mm:ss.FFFZ”),in_ReportRunDateTime.ToString(“yyyy-MM-ddTHH:mm:ss.FFFZ”),queueIdFolderProcess.Split(","c).First,skipItemsCount.ToString)

Any ideas where I can find this information?

@Joe_Matuch
we would recommend that you will open a new topic. So the different cases are not mixed up

for prototyping, swagger can be used and helps very well

Makes sense.

BTW, to answer my own question, if you execute a query under the option pictured here, you’ll get all the information you need about what’s available, no matter if you get a success or error.

image