In our process we have a queue. There are multiple schedules of that process. Sometimes after loading a queue due to exception the process gets stopped in one schedule.
But when the process runs in the next schedule the previously loaded items start processing first. How to avoid this ? It should run only the current schedule items.
As far as I understood, You have two bots run on schedule.
One to upload queue items and the other to process it.
Possible solution to your scenario,
When the queue items are uploaded, you need to add a unique tag for every schedule in reference or any other param to make sure the next bot process only the items with specific tag.
Thanks.
Actually I am also using Delete Queue Items after Get Queue Items, if any old items exist. But I am getting Forbidden error. May be we dont have access to delete items.
So asked thinking there might be any other ways as well.
Yes its good to use Set Transaction Status activity and change its status to Failed. But as we need to handle this in the Init state. the status will be New. And in Uipath we can’t change the status of the queue item to Failed from New.
We are getting error: This queue item has not been processed yet. error code 1852