Dear Forum members,
I want to get queue items which are pushed to queue in last 1 hour .
I used Get queue items activity and stored items in list.
But not getting how to filter them to get only last 1 hour queue items.
Can anyone help ?
Regards,
Sahil Garg
ppr
(Peter)
May 12, 2021, 8:13am
2
@Sahil_Garg1
have a look on the Orchestrator API. The field creation time should serve for it
Also have a look on how to use filter within the requests
https://docs.uipath.com/orchestrator/reference/building-api-requests
Hi,
Thanks for your response.
API are good.
Can you tell me to filter queue items list to get queue items pushed in last 1 hour, becoz we cannot change code.
Regards,
Sahil Garg
ppr
(Peter)
May 12, 2021, 9:09am
4
had you checked out the filter section:
The UiPath Documentation Portal - the home of all our valuable information. Find here everything you need to guide you in your automation journey in the UiPath ecosystem, from complex installation guides to quick tutorials, to practical business...
No buddy, it is not helping.
Let me tell you the situation.
We are using get queue items and after that we are filtering it and taking on those list which contains some string.
But issue is that, we need only queue items which BOT has processed in last 2 hours.
ppr
(Peter)
May 12, 2021, 2:51pm
6
see buddy,
we would see this covered by creation time property.
work queue item is not offering a property creation time
in ORC API we do see creationtime
on Work Queue Item level we cannot filter on properties which are not available
ORC APi allows us to define filters
we do see this as another requirement. has been processed maybe could be covered by the LastProcessedOn Property
Get all the Queue Items and then when processing, check if it was created in the last hour. If not, skip it.
2 Likes
I checked, API’s are working but in mean one more solution is working
‘From’ Property in Get queue items, there we just need to give creation start time.
Thanks for help.
Regards,
Sahil Garg
1 Like
system
(system)
Closed
May 15, 2021, 4:49pm
9
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.