cancel
Showing results for 
Search instead for 
Did you mean: 

ExceptionReason when using Mark as Exception

GertLõhmus
Level 4
Hi!   I would like to ask whether ExceptionReason field actually stores this value in the queue tag? And the Exception Reason entry is filled by default by Blue Prism?   Best Regards, Gert Lõhmus
1 REPLY 1

AmiBarrett
Level 12
ExceptionReason() will only work within a Recover/Resume block. If you want to store ExceptionReason(), you can mark the current queue item as an exception and input the data there. If you have no exception handling in your process, and the process dies mid-item, the item should be marked as an exception in the queue, but will likely have no detail. It is also likely that the item will remain locked, rather than being flipped to Exception status. Best practice is to always implement your own exception handling.