<?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: Ideas to handle unhandled exceptions in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Ideas-to-handle-unhandled-exceptions/m-p/42944#M528</link>
    <description>Hi Stephanie,&lt;BR /&gt;&lt;BR /&gt;This likely will happen as when you call Macros they run on the same thread as Blue Prism. So if any popup will appear then your bot execution will also stop. The ideal way to handle such issues is at the Macro end such that you create a function which returns some error message via Error Handling to resolve those popups back to Blue Prism in order to figure what the issue was at Blue Prism end and you can then take the necessary steps.&lt;BR /&gt;&lt;BR /&gt;The other thing which you can try is to go with the latest Excel business object at DX Exchange:&amp;nbsp; &lt;A href="https://digitalexchange.blueprism.com/dx/entry/9648/solution/ms-excel-vbo---extended" target="_blank" rel="noopener"&gt;MS Excel Extended&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Here you can use one of the action called as 'Run Macro With Parallel Thread' that basically runs the macro code as a separate thread call instead preventing your bot execution to get halted. Below is the sample action:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="4235.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/4420i496035211BE001ED/image-size/large?v=v2&amp;amp;px=999" role="button" title="4235.png" alt="4235.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;----------------------------------&lt;BR /&gt;Hope it helps you out and if my solution resolves your query, then please mark it as the 'Best Answer' so that the others members in the community having similar problem statement can track the answer easily in future&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Devneet Mohanty&lt;BR /&gt;Intelligent Process Automation Consultant | Sr. Consultant - Automation Developer,&lt;BR /&gt;WonderBotz India Pvt. Ltd.&lt;BR /&gt;Blue Prism Community MVP | Blue Prism 7x Certified Professional&lt;BR /&gt;Website: &lt;A href="https://devneet.github.io/" target="test_blank"&gt;https://devneet.github.io/&lt;/A&gt;&lt;BR /&gt;Email: devneetmohanty07@gmail.com&lt;BR /&gt;&lt;BR /&gt;----------------------------------&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Mon, 27 Jun 2022 08:01:00 GMT</pubDate>
    <dc:creator>devneetmohanty07</dc:creator>
    <dc:date>2022-06-27T08:01:00Z</dc:date>
    <item>
      <title>Ideas to handle unhandled exceptions</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Ideas-to-handle-unhandled-exceptions/m-p/42943#M527</link>
      <description>Hi, we often build processes that run macros or interact with Adobe Acrobat. I find that this is where my processes break, once it handed over control to the other application - the macro hangs for some system reason (like RPC server unavailable) and then it has no way of returning to Blue Prism to mark the item as exception. Do you have any ideas how to handle these type of issues?&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Stephanie Strydom&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 27 Jun 2022 07:53:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Ideas-to-handle-unhandled-exceptions/m-p/42943#M527</guid>
      <dc:creator>StephanieStrydom</dc:creator>
      <dc:date>2022-06-27T07:53:00Z</dc:date>
    </item>
    <item>
      <title>RE: Ideas to handle unhandled exceptions</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Ideas-to-handle-unhandled-exceptions/m-p/42944#M528</link>
      <description>Hi Stephanie,&lt;BR /&gt;&lt;BR /&gt;This likely will happen as when you call Macros they run on the same thread as Blue Prism. So if any popup will appear then your bot execution will also stop. The ideal way to handle such issues is at the Macro end such that you create a function which returns some error message via Error Handling to resolve those popups back to Blue Prism in order to figure what the issue was at Blue Prism end and you can then take the necessary steps.&lt;BR /&gt;&lt;BR /&gt;The other thing which you can try is to go with the latest Excel business object at DX Exchange:&amp;nbsp; &lt;A href="https://digitalexchange.blueprism.com/dx/entry/9648/solution/ms-excel-vbo---extended" target="_blank" rel="noopener"&gt;MS Excel Extended&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Here you can use one of the action called as 'Run Macro With Parallel Thread' that basically runs the macro code as a separate thread call instead preventing your bot execution to get halted. Below is the sample action:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="4235.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/4420i496035211BE001ED/image-size/large?v=v2&amp;amp;px=999" role="button" title="4235.png" alt="4235.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;----------------------------------&lt;BR /&gt;Hope it helps you out and if my solution resolves your query, then please mark it as the 'Best Answer' so that the others members in the community having similar problem statement can track the answer easily in future&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Devneet Mohanty&lt;BR /&gt;Intelligent Process Automation Consultant | Sr. Consultant - Automation Developer,&lt;BR /&gt;WonderBotz India Pvt. Ltd.&lt;BR /&gt;Blue Prism Community MVP | Blue Prism 7x Certified Professional&lt;BR /&gt;Website: &lt;A href="https://devneet.github.io/" target="test_blank"&gt;https://devneet.github.io/&lt;/A&gt;&lt;BR /&gt;Email: devneetmohanty07@gmail.com&lt;BR /&gt;&lt;BR /&gt;----------------------------------&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 27 Jun 2022 08:01:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Ideas-to-handle-unhandled-exceptions/m-p/42944#M528</guid>
      <dc:creator>devneetmohanty07</dc:creator>
      <dc:date>2022-06-27T08:01:00Z</dc:date>
    </item>
  </channel>
</rss>

