<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Appian RPA - How to Send Notifications When &amp;quot;Open Browser&amp;quot; Fails?</title><link>https://community.appian.com/discussions/f/rpa/39212/appian-rpa---how-to-send-notifications-when-open-browser-fails</link><description>Hi, 
 I&amp;#39;m using the Open Browser action in Appian RPA to launch a legacy web application. Occasionally, the website may be down, and when that happens, the bot execution fails with an error like &amp;quot;unable to navigate to URL.&amp;quot; 
 In such cases, I would like</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Appian RPA - How to Send Notifications When "Open Browser" Fails?</title><link>https://community.appian.com/thread/148773?ContentTypeID=1</link><pubDate>Mon, 09 Jun 2025 04:57:37 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:dc5774cc-d22f-4fd6-a6bf-292b5bbbed64</guid><dc:creator>VarunTejaGurrapu</dc:creator><description>&lt;p&gt;That&amp;#39;s great to hear!!! Hope you found out the solution, keep posting things which will help everyone.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Appian RPA - How to Send Notifications When "Open Browser" Fails?</title><link>https://community.appian.com/thread/148728?ContentTypeID=1</link><pubDate>Thu, 05 Jun 2025 15:25:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9f63087f-0351-49e8-8480-a931ab4dcd35</guid><dc:creator>Sanmathi Subburaj</dc:creator><description>&lt;p data-start="105" data-end="115"&gt;Hey Varun,&lt;/p&gt;
&lt;p data-start="117" data-end="282"&gt;That&amp;rsquo;s a great suggestion&amp;mdash;thank you! Since the bot runs as a &lt;strong data-start="178" data-end="198"&gt;sub-robotic task&lt;/strong&gt;, I combined both your approach and &lt;strong data-start="234" data-end="257"&gt;Harsha&amp;rsquo;s suggestion&lt;/strong&gt; to implement a solution.&lt;/p&gt;
&lt;p data-start="284" data-end="545"&gt;Here&amp;rsquo;s what I did:&lt;br data-start="302" data-end="305" /&gt; I created a &lt;strong data-start="317" data-end="336"&gt;variable&lt;/strong&gt; to track the successful completion of major steps during execution. Then, in the &lt;strong data-start="418" data-end="437"&gt;Cleanup section&lt;/strong&gt;, I added a condition to &lt;strong data-start="462" data-end="487"&gt;start a process model&lt;/strong&gt; to send an email &lt;strong data-start="505" data-end="544"&gt;if the variable indicates a failure&lt;/strong&gt;.&lt;/p&gt;
&lt;p data-start="547" data-end="695"&gt;This way, even if the bot fails mid-execution (like during the &amp;quot;navigate to URL&amp;quot; step), I can still trigger a notification from the Cleanup section.&lt;/p&gt;
&lt;p data-start="697" data-end="723"&gt;Thanks again for the help!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Appian RPA - How to Send Notifications When "Open Browser" Fails?</title><link>https://community.appian.com/thread/148709?ContentTypeID=1</link><pubDate>Thu, 05 Jun 2025 08:35:12 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fa47e880-76aa-44aa-8cd3-63332268be65</guid><dc:creator>VarunTejaGurrapu</dc:creator><description>&lt;p&gt;Please add the exception Start process in cleanup &amp;amp; check.It will work.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Appian RPA - How to Send Notifications When "Open Browser" Fails?</title><link>https://community.appian.com/thread/148707?ContentTypeID=1</link><pubDate>Thu, 05 Jun 2025 07:09:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c759fdb4-8a27-4ec7-8d93-7afbe6378901</guid><dc:creator>Sanmathi Subburaj</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p data-start="164" data-end="380"&gt;Thanks again! I&amp;#39;m combining your suggestion along with the documentation steps, and it looks like a solid approach to handle the issue. I&amp;rsquo;ll proceed with implementing it and will update this thread with the outcome once I&amp;rsquo;ve tested everything.&lt;/p&gt;
&lt;p data-start="382" data-end="406"&gt;Appreciate your support!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Appian RPA - How to Send Notifications When "Open Browser" Fails?</title><link>https://community.appian.com/thread/148705?ContentTypeID=1</link><pubDate>Thu, 05 Jun 2025 07:03:43 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0b87dc8f-484e-466d-ba48-c1faf6c76824</guid><dc:creator>Sanmathi Subburaj</dc:creator><description>&lt;p&gt;Yeah, I tried in Open Browser and Navigate to URL. Both fails in my case&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Appian RPA - How to Send Notifications When "Open Browser" Fails?</title><link>https://community.appian.com/thread/148704?ContentTypeID=1</link><pubDate>Thu, 05 Jun 2025 07:01:16 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:df5b818d-7184-4ddc-9516-97bbd6b7c2e2</guid><dc:creator>VarunTejaGurrapu</dc:creator><description>&lt;p&gt;There is no need to use Navigate to URL, as the open browser already has an option to input URL.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Appian RPA - How to Send Notifications When "Open Browser" Fails?</title><link>https://community.appian.com/thread/148701?ContentTypeID=1</link><pubDate>Thu, 05 Jun 2025 06:57:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e0ce4adb-f4d1-4cc9-9c80-a8adfdca3661</guid><dc:creator>Harsha Sharma</dc:creator><description>&lt;p&gt;I found a documentation :&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/25.2/rpa-9.16/design-patterns.html#handling-unplanned-exceptions"&gt;https://docs.appian.com/suite/help/25.2/rpa-9.16/design-patterns.html#handling-unplanned-exceptions&lt;/a&gt;&amp;nbsp;Basis this I can suggest you the below&amp;nbsp;&lt;/p&gt;
[quote userid="298399" url="~/discussions/f/rpa/39212/appian-rpa---how-to-send-notifications-when-open-browser-fails/148647"]I tried triggering the bot &lt;strong data-start="719" data-end="743"&gt;from a process model&lt;/strong&gt; a[/quote]
&lt;p&gt;While triggering from process model, keep a boolean &lt;strong&gt;botExecutionResult&lt;/strong&gt; variable in process model that stores false initially. Now you can use this variable to trigger additional workflows from the process model.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If Execution is successful then in the Execute Robotic&amp;nbsp; Task output should&amp;nbsp; save true in the&amp;nbsp;&lt;strong&gt;botExecutionResult&lt;/strong&gt;&lt;span&gt;&amp;nbsp; variable. In case of bot execution failure that you are seeing in your case, you can have an additional&amp;nbsp; path to handle exception in the same process model using rule event to trigger the process to send email.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Rule event can be configured by selecting a time say 1 hour from initial process start time. If you feel the process could take longer to complete add some more buffer hours. Idea is if the bot execution fails now then in one hour also it will be failed so using the rule event you can initiate another path that will trigger the email notification process.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Below is a sample rule event configuration code&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;and(a!addDateTime(startDateTime: pp!starttime,hours:1)=now(),pv!botExecutionResult&amp;#160;&amp;#160;=false())&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/61/pastedimage1749106540685v1.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Appian RPA - How to Send Notifications When "Open Browser" Fails?</title><link>https://community.appian.com/thread/148699?ContentTypeID=1</link><pubDate>Thu, 05 Jun 2025 06:38:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:731af47f-5594-4c84-9274-c38a12d3fc86</guid><dc:creator>Sanmathi Subburaj</dc:creator><description>&lt;p data-start="102" data-end="126"&gt;Hi,&lt;/p&gt;
&lt;p data-start="128" data-end="152"&gt;Thanks for the response.&lt;/p&gt;
&lt;p data-start="154" data-end="505"&gt;I&amp;rsquo;ve tried a similar approach. In my robotic task, the first step is to &lt;strong data-start="226" data-end="246"&gt;open the browser&lt;/strong&gt;, followed by navigating to the URL. However, the bot fails &lt;strong data-start="306" data-end="343"&gt;during the &amp;quot;navigate to URL&amp;quot; step&lt;/strong&gt; itself&amp;mdash;before any page content loads. Because of this, I&amp;#39;m unable to use &lt;strong data-start="417" data-end="439"&gt;browser conditions&lt;/strong&gt;, as they only evaluate &lt;strong data-start="463" data-end="504"&gt;after the page is successfully loaded&lt;/strong&gt;.&lt;/p&gt;
&lt;p data-start="507" data-end="674"&gt;Since the failure occurs at the navigation step, I&amp;rsquo;m looking for a way to &lt;strong data-start="581" data-end="610"&gt;catch this specific error&lt;/strong&gt; and trigger an appropriate &lt;strong data-start="638" data-end="673"&gt;notification or fallback action&lt;/strong&gt;.&lt;/p&gt;
&lt;p data-start="676" data-end="815"&gt;Would appreciate any suggestions or workarounds for handling this type of failure gracefully within the RPA flow or from the process model.&lt;/p&gt;
&lt;p data-start="817" data-end="824"&gt;Thanks!&lt;/p&gt;
&lt;p data-start="817" data-end="824"&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/61/pastedimage1749105476561v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Appian RPA - How to Send Notifications When "Open Browser" Fails?</title><link>https://community.appian.com/thread/148698?ContentTypeID=1</link><pubDate>Thu, 05 Jun 2025 06:36:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9239b2c6-f26a-4c59-914b-a1b20530a558</guid><dc:creator>Sanmathi Subburaj</dc:creator><description>&lt;p data-start="102" data-end="126"&gt;Hi,&lt;/p&gt;
&lt;p data-start="128" data-end="152"&gt;Thanks for the response.&lt;/p&gt;
&lt;p data-start="154" data-end="505"&gt;I&amp;rsquo;ve tried a similar approach. In my robotic task, the first step is to &lt;strong data-start="226" data-end="246"&gt;open the browser&lt;/strong&gt;, followed by navigating to the URL. However, the bot fails &lt;strong data-start="306" data-end="343"&gt;during the &amp;quot;navigate to URL&amp;quot; step&lt;/strong&gt; itself&amp;mdash;before any page content loads. Because of this, I&amp;#39;m unable to use &lt;strong data-start="417" data-end="439"&gt;browser conditions&lt;/strong&gt;, as they only evaluate &lt;strong data-start="463" data-end="504"&gt;after the page is successfully loaded&lt;/strong&gt;.&lt;/p&gt;
&lt;p data-start="507" data-end="674"&gt;Since the failure occurs at the navigation step, I&amp;rsquo;m looking for a way to &lt;strong data-start="581" data-end="610"&gt;catch this specific error&lt;/strong&gt; and trigger an appropriate &lt;strong data-start="638" data-end="673"&gt;notification or fallback action&lt;/strong&gt;.&lt;/p&gt;
&lt;p data-start="676" data-end="815"&gt;Would appreciate any suggestions or workarounds for handling this type of failure gracefully within the RPA flow or from the process model.&lt;/p&gt;
&lt;p data-start="817" data-end="824"&gt;Thanks!&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/61/pastedimage1749105238251v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Appian RPA - How to Send Notifications When "Open Browser" Fails?</title><link>https://community.appian.com/thread/148694?ContentTypeID=1</link><pubDate>Thu, 05 Jun 2025 05:34:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b948f8d7-6390-4592-9575-45f7f912da6b</guid><dc:creator>VarunTejaGurrapu</dc:creator><description>&lt;p&gt;HI &lt;a href="/members/sanmathis230174"&gt;Sanmathi Subburaj&lt;/a&gt;&amp;nbsp;,&lt;br /&gt;&lt;br /&gt;You need to handle the possible exceptions using &lt;strong&gt;IS WEB ELEMENT PRESENT &lt;/strong&gt;when you work on Browser Automation.&lt;br /&gt;&lt;br /&gt;You need to manually write the possible exceptions occurred and create a subprocess for sending an email.&lt;br /&gt;&lt;br /&gt;You can check&amp;nbsp;&lt;strong&gt;Take a screenshot&lt;/strong&gt;: If you select this option, the robotic task takes a screenshot of the host machine immediately after the action completes.&lt;br /&gt;&lt;br /&gt;In Else Condition, You have to add a&amp;nbsp;robotic subtask contains &lt;strong&gt;upload document&lt;/strong&gt;&amp;nbsp;mentioned in below image and configure the email body.&lt;br /&gt;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/61/pastedimage1749101268701v1.png" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;We currently don&amp;#39;t have an option to grab the RPA error messages from the execution log unless you write an&amp;nbsp;Custom Java Code.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Appian RPA - How to Send Notifications When "Open Browser" Fails?</title><link>https://community.appian.com/thread/148687?ContentTypeID=1</link><pubDate>Thu, 05 Jun 2025 02:44:27 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:55e43baa-9e0b-437a-a70d-11bd6217fcbe</guid><dc:creator>SRINIVAS M</dc:creator><description>&lt;p&gt;Hi ,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:tahoma, arial, helvetica, sans-serif;"&gt;After Open Browser, use the &amp;quot;&lt;span style="background-color:#ffffff;color:#0000ff;"&gt;Does Browser Window Title Match?&lt;/span&gt;&amp;quot; condition with a short timeout to detect failure.&lt;/span&gt;&lt;br data-start="165" data-end="168" /&gt;&lt;span style="font-family:tahoma, arial, helvetica, sans-serif;"&gt; If it returns false, use &lt;span style="color:#0000ff;"&gt;&amp;quot;Is Expression True?&lt;/span&gt;&amp;quot; to control the flow and call &amp;quot;Start Process&amp;quot; to trigger an Appian process model.&lt;/span&gt;&lt;br data-start="303" data-end="306" /&gt;&lt;span style="font-family:tahoma, arial, helvetica, sans-serif;"&gt; In that process model, configure an email node to notify the support team about the failure.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Appian RPA - How to Send Notifications When "Open Browser" Fails?</title><link>https://community.appian.com/thread/148647?ContentTypeID=1</link><pubDate>Wed, 04 Jun 2025 08:58:18 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a2aa4701-1133-4bcc-b512-80f660212f37</guid><dc:creator>Sanmathi Subburaj</dc:creator><description>&lt;p data-start="243" data-end="274"&gt;Hi Harsha,&lt;/p&gt;
&lt;p data-start="276" data-end="300"&gt;Thanks for the response!&lt;/p&gt;
&lt;p data-start="302" data-end="674"&gt;I also explored using &lt;strong data-start="324" data-end="346"&gt;browser conditions&lt;/strong&gt;, thinking I could add a check and trigger a process if the condition fails. However, I noticed that browser conditions only evaluate &lt;strong data-start="480" data-end="521"&gt;after the page is successfully loaded&lt;/strong&gt;. In my case, the bot fails &lt;strong data-start="549" data-end="582"&gt;while loading the page itself&lt;/strong&gt;, throwing an error like &amp;quot;unable to navigate to URL,&amp;quot; so the condition never gets evaluated.&lt;/p&gt;
&lt;p data-start="676" data-end="1052"&gt;To handle this, I tried triggering the bot &lt;strong data-start="719" data-end="743"&gt;from a process model&lt;/strong&gt; and attempted to catch the error using the &lt;strong data-start="787" data-end="811"&gt;Execute Robotic Task&lt;/strong&gt; smart service. I found the &lt;code data-start="839" data-end="855"&gt;FailureSection&lt;/code&gt; output, which indicates whether the error occurred in the &lt;strong data-start="914" data-end="923"&gt;Setup&lt;/strong&gt;, &lt;strong data-start="925" data-end="933"&gt;Main&lt;/strong&gt;, or &lt;strong data-start="938" data-end="949"&gt;Cleanup&lt;/strong&gt; section. However, it doesn&amp;rsquo;t give detailed error context or allow direct handling of the error itself.&lt;/p&gt;
&lt;p data-start="1054" data-end="1242"&gt;Is there any other way to &lt;strong data-start="1080" data-end="1133"&gt;catch exceptions or handle bot execution failures&lt;/strong&gt; from the process model or within the robotic task to trigger a custom email alert?&lt;/p&gt;
&lt;p data-start="1244" data-end="1284"&gt;Any suggestions would be really helpful!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Appian RPA - How to Send Notifications When "Open Browser" Fails?</title><link>https://community.appian.com/thread/148633?ContentTypeID=1</link><pubDate>Wed, 04 Jun 2025 06:24:31 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a686ede0-c8cb-4799-b07e-27aa7204ff5c</guid><dc:creator>Harsha Sharma</dc:creator><description>&lt;p&gt;You can try to&amp;nbsp;&lt;strong&gt;set a timeout time in seconds&lt;/strong&gt;&amp;nbsp;or web browser related &lt;strong&gt;condition actions&lt;/strong&gt; within the robotic task along with &lt;strong&gt;Open Browser&lt;/strong&gt; action. When the website is down, before bot failure, you can catch the exception/issue and then &lt;strong&gt;start an Appian process&lt;/strong&gt; from within the robotic task that can send out the notification email.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have not worked on this use case myself so you can give this a try and let me know if it works.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>