Search code examples
blueprismrpa

BluePrism: Tag Queue Item with Exception


In BluePrism, when a queue item fails, I'd like to tag the queue item with the exception thrown by Blue Prism (the exception caught at the Recover block). Is this possible?

My logic:

enter image description here

A look inside the 'Mark Queue Item Exception' action -- I'd like to pass the Blue Prism exception to the Exception Reason input here.

enter image description here


Solution

  • I think the ExceptionDetail() method (shown here in Calculation stage) is what you're looking for:

    screenshot ExceptionDetail() method