I am having bunch of things to ask on Queue in Orchestrator, if anyone can help with it.
Deadline Property: So I have pushed a data to Queue with setting up a deadline at 2 min from now (DateTime.Now.AddMinutes(2)). Now when I am running another flow to get the transaction item after two minutes, it is still able to fetch the queue item from orchestrator even if deadline is passed. I believe it should not pick as deadline passed. I am not sure, If I am doing it right or not. As I read in Ui Path documentation. Deadline is "The date before which the queue item should be processed"
File For Reference: testCheckQueue.zip (17.3 KB)
Can not we set the transaction status back to “New” ? I can see only we can set it to Success and Failure. Is there any way?
I have an instance that, if bot is running on 25th Dec, then as processor it will process some data for 24th Dec (Just a day before it - 24th is added as Queue Item). Now for example, when the bot ran on 25th Dec, it picked queue item as 24th Dec, but while processing there is no data to process. So here is the catch, that on 26th Dec it will process two dates i.e. 25th Dec (Just before that day) and 24th as well (because on 25th bot has not anything to process). So my idea is when bot runs 25th Dec it will add queue item as 24th Dec with some deadline of 2 days. it will start processing and suppose nothing to process for 24th, as we have added deadline when bot run tomorrow i.e. 26th, it will add queue item as 25th Dec and already we are having queue item as 24th Dec. So it will process both queue items. Is it not possible?