Exception Handling
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
03-08-18 04:22 PM
If a exception occurs between recovery and resume is it possible to handle it.
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
03-08-18 05:07 PM
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
03-08-18 08:56 PM
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.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-08-18 08:10 PM
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.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
25-08-18 09:25 AM
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.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
04-10-18 03:14 AM
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.
