<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic 3.2.1 Scenario 6- Proper Exception Handling in University Forum</title>
    <link>https://community.blueprism.com/t5/University-Forum/3-2-1-Scenario-6-Proper-Exception-Handling/m-p/86052#M1643</link>
    <description>&lt;P&gt;"Recover/resume/throw blocks for exception handling are highly flexible, but if in any case a second exception is&lt;BR /&gt;thrown after a recover but before a resume, Blue Prism will simply perform a fatal exception and terminate&lt;BR /&gt;execution. As part of best practices, special care needs to be taken to ensure that any operations inside exception&lt;BR /&gt;handling have minimal risk of triggering this case and ending the possibility of error recovery."&lt;/P&gt;
&lt;P&gt;
&lt;/P&gt;&lt;P&gt;
&lt;/P&gt;&lt;P&gt;
&lt;/P&gt;&lt;P&gt;
&lt;/P&gt;&lt;P&gt;
&lt;/P&gt;&lt;P&gt;in bp &lt;SPAN&gt;Advanced Consolidation Exercise, was mentioned that may an exception occurs after recover but before resume, how could this happen?could anyone please explain this to me?&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV style="display: none; z-index: 16777271;"&gt;&lt;/DIV&gt;
&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Sam Lima&lt;BR /&gt;------------------------------&lt;BR /&gt;
&lt;DIV style="position: absolute; display: none; z-index: 16777271;"&gt;&lt;/DIV&gt;</description>
    <pubDate>Sat, 30 Apr 2022 07:35:00 GMT</pubDate>
    <dc:creator>SamLima</dc:creator>
    <dc:date>2022-04-30T07:35:00Z</dc:date>
    <item>
      <title>3.2.1 Scenario 6- Proper Exception Handling</title>
      <link>https://community.blueprism.com/t5/University-Forum/3-2-1-Scenario-6-Proper-Exception-Handling/m-p/86052#M1643</link>
      <description>&lt;P&gt;"Recover/resume/throw blocks for exception handling are highly flexible, but if in any case a second exception is&lt;BR /&gt;thrown after a recover but before a resume, Blue Prism will simply perform a fatal exception and terminate&lt;BR /&gt;execution. As part of best practices, special care needs to be taken to ensure that any operations inside exception&lt;BR /&gt;handling have minimal risk of triggering this case and ending the possibility of error recovery."&lt;/P&gt;
&lt;P&gt;
&lt;/P&gt;&lt;P&gt;
&lt;/P&gt;&lt;P&gt;
&lt;/P&gt;&lt;P&gt;
&lt;/P&gt;&lt;P&gt;
&lt;/P&gt;&lt;P&gt;in bp &lt;SPAN&gt;Advanced Consolidation Exercise, was mentioned that may an exception occurs after recover but before resume, how could this happen?could anyone please explain this to me?&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV style="display: none; z-index: 16777271;"&gt;&lt;/DIV&gt;
&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Sam Lima&lt;BR /&gt;------------------------------&lt;BR /&gt;
&lt;DIV style="position: absolute; display: none; z-index: 16777271;"&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 30 Apr 2022 07:35:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/University-Forum/3-2-1-Scenario-6-Proper-Exception-Handling/m-p/86052#M1643</guid>
      <dc:creator>SamLima</dc:creator>
      <dc:date>2022-04-30T07:35:00Z</dc:date>
    </item>
    <item>
      <title>RE: 3.2.1 Scenario 6- Proper Exception Handling</title>
      <link>https://community.blueprism.com/t5/University-Forum/3-2-1-Scenario-6-Proper-Exception-Handling/m-p/86053#M1644</link>
      <description>Hi &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/53497"&gt;@SamLima&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;Let's take an example- Suppose you are trying to launch a website using object studio and you have already performed exception handling at the object level to try 3 times and if it fails, it will throw the error of '&lt;STRONG&gt;Website not launched&lt;/STRONG&gt;'. Now the error will be bubbled up to the process studio where you have used recover stage to capture the exception. Generally, in any &lt;STRONG&gt;exception scenario&lt;/STRONG&gt;, post &lt;STRONG&gt;recover&lt;/STRONG&gt; stage, we put a &lt;STRONG&gt;multi-calculation&lt;/STRONG&gt; stage to fetch the Exception details, exception type and exception stage and after that put &lt;STRONG&gt;resume&lt;/STRONG&gt; stage to resume from the error​.&lt;BR /&gt;In above scenario, if you forget to put any calculations in calculation stage or intentionally throw an exception using Multi-Calc stage, then you can see what happens next. The process will terminate since already there was an exception coming from Object studio and now, additional exception came up before the resume stage, which caused 2 exceptions in the stack and hence the bot will terminate.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Manpreet Kaur&lt;BR /&gt;Manager&lt;BR /&gt;Deloitte&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 02 May 2022 08:17:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/University-Forum/3-2-1-Scenario-6-Proper-Exception-Handling/m-p/86053#M1644</guid>
      <dc:creator>ManpreetKaur1</dc:creator>
      <dc:date>2022-05-02T08:17:00Z</dc:date>
    </item>
  </channel>
</rss>

