cancel
Showing results for 
Search instead for 
Did you mean: 

Recovery stage in BP v6

KK1
Level 3
Hello all, I have question regarding the attached construction. Recovery 3 need to catch all exceptions inside Block 3 ( including internal bp exceptions). After that I am storing the exception details into variable and increase the count of exceptions. I have question why If count>limit and I generate EXP002. the recover4 doesn't work? Additionally is in bp something like exception limit? For 2 exceptions the recover3 catches but for 3th one there is an error pop up. Any idea why it doesn't work?  
5 REPLIES 5

PSSupport
Staff
Staff
Hello.  I could be wrong but what you are describing may be non standard.  If you are not already, please look at the process template - that should be the basis for every solution you create in Blue Prism.  It ensures your exception handling follows best practice training.  The template has instructions document distributed with it, and the Lifecycle Orientation solution is a completed process based upon the template.   If you use the template you will store exceptions in work queues (for reporting), you will have retry loops on sub pages, you will have a consecutive exception count on the mark exception sub-page - all best practices for your exception handling.

Denis__Dennehy
Level 15
That last comment was by me - logged in as the wrong user.  Here are some links: https://portal.blueprism.com/products/templates and https://portal.blueprism.com/system/files/2017-09/Exception%20Handling%20Training%20Guide.pdf

SurajJadhav
Level 5
hello buddy,     Your Process is terminating because , you are generating a new exception in recovery mode. When any exception occurs during recovery mode process gets terminated.   you need to add a Resume Stage After your multi calculation stage (exception++ stage and details) , adding Resume stage will kill the live exception and end the recovery mode. Now your recover4 is able to catch EXP_002. Hope This Help   You can refer this guide for more information  https://portal.blueprism.com/system/files/2017-09/Exception%20Handling%…   regards, Suraj

Denis__Dennehy
Level 15
Good shout Suraj, difficult to be sure though as we cannot tell from the screenshot if it is a new exception or if the preserve checkbox is used.

SurajJadhav
Level 5
Hi Denis ,  No matter what it is,either previously caught exception or any new exception if exception occurs in recovery mode process gets terminated. Am I right?