16-05-23 02:15 PM
Hi.
I have come across an issue and I can't seem to figure it out on my own, so hoping for some insights from you guys.
In our process template we have a page called "End item" that among other things takes care of the exception handling. When a system exception occurs we have three retries before manual handling kicks in. For each attempt the process will defer the item being handled. First attempt, 0 seconds, 2nd attempt 10 minutes and 3rd attempt 2 hours. It does this by generating a new item ID in the "Mark Exception" action, and then applying defer item to this new item ID while the "old" item ID is marked as exception.
However, "Mark exception" does not generate a new item ID. It remains blank.
As you see in the below screenshot New Item ID remains blank. I have tried playing around with locking and not locking as well as writing "True" in the value field instead of using a data item. But it doesn't seem to make a difference.
Any ideas? This is driving me a little bit nuts...
17-05-23 02:32 AM
HI Johanna Westlund,
Check Maximum Attempts setting in SYstem Tab>Workqueue> Select the workqueue you are testing> Change the Maximum Attempts from "1" to "3" and test the Mark exception Action
Make sure the precondition was met as highlighted below
22-05-23 09:37 AM
Hi Harish.
Thank you for your reply.
Yes, Maximum Attempts is set to 3 for this work queue. The item IS retrieved using "Get next item" and the item is locked by the process. I have tried setting the variable "Keep locked" to both True and False and I see no difference in the result. It doesn't generate a new item ID either way and the item is marked as an exception and no new item shows up in the queue.
22-05-23 10:18 AM
Hi Johanna, this may be a dumb question but are you certain the item has not already reached the maximum of 3 attempts? Another silly mistake that is easy to do is having duplicate data items for the item ID.
22-05-23 11:24 AM
Hi @johwes Have you kept the Retry flag as true? If yes, please check if the exception limits have been reached or not. Otherwise, it should work and I don't think Item ID ever changes it will remain the same even if you mark the exception and retry. I have tried in my Demo and it worked fine.
------------------------------
Amlan Sahoo
Senior RPA Consultant
WonderBotz
------------------------------
22-05-23 01:41 PM
Hi. Yes, retry Flag was set to true. This also happened to items that failed on the first attempt, so checked that. I also checked for duplicate Item ID data items.
I just copied this same page from another part of the organization that uses the same process template into my process. There is no difference between the two that I can tell, but now it works so apparently there is SOMETHING. Drives me nuts not knowing what but hey, as long as it works.
Thank for all your help, everyone.