hi all, i need to know how many transactions in a queue are in new state and successful state with out using get queue items as it has limitation of 100 items only . and my queue has around 1.5 lakh records in it.
I just need the count of success and new transactions in it. how can i acheive it.
Do you have access to Orchestrator backend DB as the count is more than a lack. if you have access - you could check it from the orchestrator server connecting to DB.
OR try below also.
Use the UiPath Orchestrator API**: You can make API calls to the Orchestrator to get the queue items.
Filter by Status**: Use the API to filter items by their status (e.g., “New” and “Successful”).
Count the Items**: Parse the response to count the number of items in each state.
Note- I haven’t tried any of the above method. Just sharing some thoughts only
QueueDefinitionId eq XXXX and Status in ('New', 'Successful')
every other needed items can also be procured dynamically with the the Rest Api
Once it is working within swagger, then port it to the
And process the response
Kindly note:
And that afterwards the calls can also be optimized for reducing the returned data e.g. using Select and reduce the returned properties ( as you are only interessted on the total count)
message":"Folder does not exist or the user does not have access to the folder.","errorCode":1100,"traceId":"00-d070cb422f63659be907f2ef955b0f90-9759191f750b664f-00"
I have the bearer token and in swagger it is working but in UiPath i am getting the above error.
what was done in UiPath e.g. used Activity and its relevant configuration etc. Without additional insights that we can inpsect we only can give general comments
I am using http request with end point as
“https://***/odata/QueueProcessingRecords/UiPathODataSvc.RetrieveQueuesProcessingStatus?%24filter=QueueDefinitionName%20eq%20’IT003.US.PMT_8D_Download_Process_Dev’&%24count=true”
Cilent id is created with this scopes
OR.Queues OR.Queues.Read OR.Queues.Write OR.Folders.Read OR.TestDataQueues OR.TestDataQueues.Read OR.TestDataQueues.Write
But i am not able to do that using orchestrator http request… when i try using that i am getting html response. for that reason only i switched from orchestrator http request to normal http request. My orchestator is on premise not on cloud
However, before extending this ping-pong. feel free to use our recommendations and when assistance is needed on this then share with us directly relevant information.
e.g. for
might be better to
for sure there are alternates to get this task done. However we recommend of not fast hopping between options as on afirst try an issue occurs. Maybe better to focus on issue analysis