cancel
Showing results for 
Search instead for 
Did you mean: 

Exception Handling

Shashi_RanjanKu
Level 3
If a exception occurs between recovery and resume is it possible to handle it.
5 REPLIES 5

Mustafa_UlasYig
Level 6
Hi Shashi123 No exception should occur between a recovery and a resume, because there should be no stages between a recovery and a resume. Those stages can follow the resume, which then can lead to a new recover-resume, if anything in that stage were to fail/give an exception. Hope it makes sense. Good luck BR, Mustafa

John__Carter
Staff
Staff
Shashi - no you can't, and Mustafa's advice is good - do as little as possible between Recover and Resume to avoid the possibility of a second exception.

AndreyKudinov
Level 10
You can only get exception info between recovery and resume, so you can't avoid stages in between completely, but you should probably avoid processing it in any way until after resume.

JoshuaKingsley
Level 4
Guys, any idea on calling the close down page before termination, making sure that close down will not throw error?   In the main page, as per the template, we have a recover and a notification to be sent, can be an alert or email, then rethrow. Business wants all applications should be closed even in the occurance of termination.

Shruti_AnilNark
Level 4
Hi Joshua,   You can close them down after a resume. Also if you are performing certain steps in between recover and resume. Another Exception Block can be used in between. I saw this one in Scenarios for the Advanced Consolidated Exercise of Blue Prism.