<?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 Re: Preserving Exception Details after Resuming in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Preserving-Exception-Details-after-Resuming/m-p/97621#M45583</link>
    <description>&lt;P&gt;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/833"&gt;@ewilson&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/92"&gt;@GeoffHirst&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 18 Apr 2023 12:06:44 GMT</pubDate>
    <dc:creator>SahilRaina</dc:creator>
    <dc:date>2023-04-18T12:06:44Z</dc:date>
    <item>
      <title>Preserving Exception Details after Resuming</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Preserving-Exception-Details-after-Resuming/m-p/97620#M45582</link>
      <description>&lt;P&gt;Hello All,&lt;BR /&gt;&lt;BR /&gt;I was intrigued by one of the recent posts "&lt;A href="https://community.blueprism.com/discussion/which-option-would-be-correct#bm9242b68c-377f-42fe-82da-0187938af29e"&gt;https://community.blueprism.com/discussion/which-option-would-be-correct#bm9242b68c-377f-42fe-82da-0187938af29e&lt;/A&gt;".&lt;/P&gt;
&lt;P&gt;Among the skirmishing, I went ahead to test the design &amp;amp; found alarming results (please see attached video)&lt;BR /&gt;&lt;STRONG&gt;The exception details are re-thrown (a.k.a preserved) even after Resume Stage.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Process validation&lt;/STRONG&gt; is smart enough to realize that there is an error in the design and clearly calls it out, however the process runs just fine.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;
&lt;/P&gt;&lt;P&gt;Is this a bug ? (Old timers working since v4 or 5 would say so)&lt;/P&gt;
&lt;P&gt;Is this the expected behavior ?&amp;nbsp; (Newer developers have no reference point)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;
&lt;/P&gt;&lt;P&gt;Let's find out what the experts have to say &lt;span class="lia-unicode-emoji" title=":face_with_tongue:"&gt;😛&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2023 11:50:58 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Preserving-Exception-Details-after-Resuming/m-p/97620#M45582</guid>
      <dc:creator>SahilRaina</dc:creator>
      <dc:date>2023-04-18T11:50:58Z</dc:date>
    </item>
    <item>
      <title>Re: Preserving Exception Details after Resuming</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Preserving-Exception-Details-after-Resuming/m-p/97621#M45583</link>
      <description>&lt;P&gt;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/833"&gt;@ewilson&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/92"&gt;@GeoffHirst&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2023 12:06:44 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Preserving-Exception-Details-after-Resuming/m-p/97621#M45583</guid>
      <dc:creator>SahilRaina</dc:creator>
      <dc:date>2023-04-18T12:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: Preserving Exception Details after Resuming</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Preserving-Exception-Details-after-Resuming/m-p/97622#M45584</link>
      <description>&lt;P&gt;I've raised this with dev and support to see what their thoughts are. My opinion is that if BP is going to call it out as an issue it should not be allowed to run, but that's just my thinking. 🤷‍&lt;span class="lia-unicode-emoji" title=":male_sign:"&gt;♂️&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Eric&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2023 14:25:59 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Preserving-Exception-Details-after-Resuming/m-p/97622#M45584</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2023-04-18T14:25:59Z</dc:date>
    </item>
    <item>
      <title>Re: Preserving Exception Details after Resuming</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Preserving-Exception-Details-after-Resuming/m-p/97623#M45585</link>
      <description>&lt;P&gt;Same thoughts &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/833"&gt;@ewilson&lt;/a&gt;&lt;SPAN&gt; and we only discovered this behaviour while answering to one of the post from a fellow community member (https://community.blueprism.com/discussion/which-option-would-be-correct#bm9242b68c-377f-42fe-82da-0187938af29e). Fellow community members &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/43068"&gt;@SahilRaina&lt;/a&gt; &amp;nbsp;&lt;A class="user-content-mention" data-sign="@" data-contactkey="f0d30523-0236-4fc5-94f7-499846aae05b" data-tag-text="@Zdeněk Kabátek" href="https://community.blueprism.com/network/profile?UserKey=f0d30523-0236-4fc5-94f7-499846aae05b" data-itemmentionkey="788158a2-2aa8-4017-89b3-2e64eea3a315"&gt;@Zdeněk Kabátek&lt;/A&gt; , &lt;A class="user-content-mention" data-sign="@" data-contactkey="f71abde0-4324-41bd-bb7d-018641d3f76c" data-tag-text="@Babjee Vangipurapu" href="https://community.blueprism.com/network/profile?UserKey=f71abde0-4324-41bd-bb7d-018641d3f76c" data-itemmentionkey="ccbf06b9-0186-4097-90a0-9be1ce439b27"&gt;@Babjee Vangipurapu&lt;/A&gt; &lt;A class="user-content-mention" data-sign="@" data-contactkey="a1364716-b40d-4af9-81ad-3fc4498d485b" data-tag-text="@Harish M" href="https://community.blueprism.com/network/profile?UserKey=a1364716-b40d-4af9-81ad-3fc4498d485b" data-itemmentionkey="1cce2ea3-fe6c-4203-9d20-3dab477343fd"&gt;@Harish M&lt;/A&gt;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/193"&gt;@_Amlansahoo&lt;/a&gt; pointed it right but we saw a strange behaviour in the rethrow which was still preserving the exception even after resume stage got executed which led to an infinite loop. I am keen on looking forward to its resolution. This seems to be a possible bug as I have realised the process validation calling it out but it runs anyway. &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/43068"&gt;@SahilRaina&lt;/a&gt; Thanks for raising this.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Mukesh&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2023 06:35:03 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Preserving-Exception-Details-after-Resuming/m-p/97623#M45585</guid>
      <dc:creator>Mukeshh_k</dc:creator>
      <dc:date>2023-04-19T06:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: Preserving Exception Details after Resuming</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Preserving-Exception-Details-after-Resuming/m-p/97624#M45586</link>
      <description>&lt;P&gt;Hi &lt;A class="user-content-mention" data-sign="@" data-contactkey="b2096cea-170e-40c8-b4bf-0186437be518" data-tag-text="@Mukesh Kumar" href="https://community.blueprism.com/network/profile?UserKey=b2096cea-170e-40c8-b4bf-0186437be518" data-itemmentionkey="b4804991-e483-467f-8a53-1b662097fb8a"&gt;@Mukesh Kumar&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The preserve will not work with the original Exception message, it throws up a new exception in all. Attaching the screenshots of the exception messages before resume and after resume.&lt;BR /&gt;&lt;BR /&gt;For preserve to work there should be a value set for the functions &lt;SPAN&gt;ExceptionType(), ExceptionDetail() and ExceptionStage(). These are set with the values that are obtained when an exception occurred during process run. But when we've a resume stage these values are nullified and when a preserve is used it cannot find any values in these functions resulting in creating a new exception "&lt;STRONG&gt;Exception message: "&amp;nbsp;&lt;/STRONG&gt;which means the functions are not set with any value for throwing/preserving resulting in throwing a new exception which again will be caught by Recover stage again and the process loops in infinitely.&lt;BR /&gt;&lt;BR /&gt;Please have a look at the exception messages in the screenshots both messages are not the same which resembles a new exception got popped up.&lt;BR /&gt;&lt;BR /&gt;Process validation points it to error because, blue prism is no more in the recovery mode after a resume stage. We can preserve an exception only when it is in recovery mode.&lt;BR /&gt;&lt;BR /&gt;Please let me know if my answer had cleared your query.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2023 08:33:48 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Preserving-Exception-Details-after-Resuming/m-p/97624#M45586</guid>
      <dc:creator>Babjee24</dc:creator>
      <dc:date>2023-04-19T08:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: Preserving Exception Details after Resuming</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Preserving-Exception-Details-after-Resuming/m-p/97625#M45587</link>
      <description>&lt;P&gt;&lt;A class="user-content-mention" data-sign="@" data-contactkey="f71abde0-4324-41bd-bb7d-018641d3f76c" data-tag-text="@Babjee Vangipurapu" href="https://community.blueprism.com/network/profile?UserKey=f71abde0-4324-41bd-bb7d-018641d3f76c" data-itemmentionkey="033af81a-2b5b-4660-8e37-6c8ae78c78d7"&gt;@Babjee Vangipurapu&lt;/A&gt; Did you check the video attached in main query ? I will attach one more just watch the error bar at bottom, also which blue prism version are you using ? above query is performed in the latest version BP 7+ above.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Mukesh&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2023 10:12:15 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Preserving-Exception-Details-after-Resuming/m-p/97625#M45587</guid>
      <dc:creator>Mukeshh_k</dc:creator>
      <dc:date>2023-04-19T10:12:15Z</dc:date>
    </item>
    <item>
      <title>Re: Preserving Exception Details after Resuming</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Preserving-Exception-Details-after-Resuming/m-p/97626#M45588</link>
      <description>&lt;P&gt;Hi &lt;A class="user-content-mention" data-sign="@" data-contactkey="b2096cea-170e-40c8-b4bf-0186437be518" data-tag-text="@Mukesh Kumar" href="https://community.blueprism.com/network/profile?UserKey=b2096cea-170e-40c8-b4bf-0186437be518" data-itemmentionkey="b4804991-e483-467f-8a53-1b662097fb8a"&gt;@Mukesh Kumar&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;I'm using 6.10.4 version&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2023 11:16:59 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Preserving-Exception-Details-after-Resuming/m-p/97626#M45588</guid>
      <dc:creator>Babjee24</dc:creator>
      <dc:date>2023-04-19T11:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: Preserving Exception Details after Resuming</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Preserving-Exception-Details-after-Resuming/m-p/97627#M45589</link>
      <description>&lt;P&gt;Hi &lt;A class="user-content-mention" data-sign="@" data-contactkey="f71abde0-4324-41bd-bb7d-018641d3f76c" data-tag-text="@Babjee Vangipurapu" href="https://community.blueprism.com/network/profile?UserKey=f71abde0-4324-41bd-bb7d-018641d3f76c" data-itemmentionkey="0f69fc2d-c81b-444b-83b9-429f6ab2e80a"&gt;@Babjee Vangipurapu&lt;/A&gt; : I did test this in Blue Prism 6.10.1 and it still throws same preserved exception (similar to BP 7.1.1 version) which should have been cleared by resume stage, See below, I hope it will help you understand the issue I am raising :&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Exception Error at bottom bar before Resume and Re-Throw with Preserved checkbox Checked:&lt;/STRONG&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="35478.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/35534iDD9ABC8B904CF723/image-size/large?v=v2&amp;amp;px=999" role="button" title="35478.png" alt="35478.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="35479.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/35535i8567EEB2C36ACEC4/image-size/large?v=v2&amp;amp;px=999" role="button" title="35479.png" alt="35479.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;STRONG&gt;Exception Error at bottom bar after Resume and Re-Throw with Preserved checkbox Checked:&lt;/STRONG&gt; Re throws the error similarly as &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/43068"&gt;@SahilRaina&lt;/a&gt; mentioned in above main query.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="35480.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/35538i47644D55712CCD60/image-size/large?v=v2&amp;amp;px=999" role="button" title="35480.png" alt="35480.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="35481.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/35540iAF261AC2EAC4A86C/image-size/large?v=v2&amp;amp;px=999" role="button" title="35481.png" alt="35481.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Mukesh&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2023 11:36:24 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Preserving-Exception-Details-after-Resuming/m-p/97627#M45589</guid>
      <dc:creator>Mukeshh_k</dc:creator>
      <dc:date>2023-04-19T11:36:24Z</dc:date>
    </item>
    <item>
      <title>Re: Preserving Exception Details after Resuming</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Preserving-Exception-Details-after-Resuming/m-p/97628#M45590</link>
      <description>&lt;P&gt;The exception detail is not correct but it is going to an infinite loop that is correct. Because you can not keep a preserve check after a resume page which gives you an error before executing itself in the Errors Tab. So in the resume stage, the Exception is getting neutralized and again it's throwing an exception eventually it will go to the recovery stage.&lt;BR /&gt;&lt;BR /&gt;So the exception detail is not correct, but I think an infinite loop is expected.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Apr 2023 09:13:54 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Preserving-Exception-Details-after-Resuming/m-p/97628#M45590</guid>
      <dc:creator>_Amlansahoo</dc:creator>
      <dc:date>2023-04-21T09:13:54Z</dc:date>
    </item>
    <item>
      <title>Re: Preserving Exception Details after Resuming</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Preserving-Exception-Details-after-Resuming/m-p/97629#M45591</link>
      <description>&lt;P&gt;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/193"&gt;@_Amlansahoo&lt;/a&gt; - Yeah that's what we are raising to get it checked by &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/833"&gt;@ewilson&lt;/a&gt; - The exception details/message after the resume stage - it should have cleared the previous exception details after resume and rethrow should have popped up a new error message which the process validation is showing in the error tab, right now the exception details which is re-throwed is the previous exception message which is not right.&lt;BR /&gt;&lt;BR /&gt;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/833"&gt;@ewilson&lt;/a&gt; - Let us know if you have any updates on this from the Dev team.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Mukesh&lt;/P&gt;</description>
      <pubDate>Fri, 21 Apr 2023 10:10:55 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Preserving-Exception-Details-after-Resuming/m-p/97629#M45591</guid>
      <dc:creator>Mukeshh_k</dc:creator>
      <dc:date>2023-04-21T10:10:55Z</dc:date>
    </item>
    <item>
      <title>Re: Preserving Exception Details after Resuming</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Preserving-Exception-Details-after-Resuming/m-p/97630#M45592</link>
      <description>&lt;P&gt;The general consensus is that &lt;SPAN&gt;re-throwing an exception after a recover-resume stage, without an additional exception block, will result in an infinite loop. That is essentially by-design. As for persisting the exception details after the resume stage, that could potentially be seen as bug but a minor one at best. I'd suggest opening a ticket with support to get their take on it.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Eric&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Apr 2023 13:43:34 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Preserving-Exception-Details-after-Resuming/m-p/97630#M45592</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2023-04-21T13:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: Preserving Exception Details after Resuming</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Preserving-Exception-Details-after-Resuming/m-p/97631#M45593</link>
      <description>&lt;P&gt;Thanks Eric, Cheers !!&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Mukesh&lt;/P&gt;</description>
      <pubDate>Fri, 21 Apr 2023 14:30:33 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Preserving-Exception-Details-after-Resuming/m-p/97631#M45593</guid>
      <dc:creator>Mukeshh_k</dc:creator>
      <dc:date>2023-04-21T14:30:33Z</dc:date>
    </item>
    <item>
      <title>Re: Preserving Exception Details after Resuming</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Preserving-Exception-Details-after-Resuming/m-p/97632#M45594</link>
      <description>&lt;P&gt;it appears that the exception details are being preserved even after the Resume Stage. This could be considered a bug as it may lead to confusion and errors in the future.&lt;/P&gt;
&lt;P&gt;The expected behavior is that when an exception is thrown and caught within a block, the exception details should not be preserved beyond that block unless explicitly handled or re-thrown.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Apr 2023 18:24:01 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Preserving-Exception-Details-after-Resuming/m-p/97632#M45594</guid>
      <dc:creator>jsantiago08</dc:creator>
      <dc:date>2023-04-21T18:24:01Z</dc:date>
    </item>
  </channel>
</rss>

