Appian RPA - How to Send Notifications When "Open Browser" Fails?

Certified Senior Developer

Hi,

I'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 "unable to navigate to URL."

In such cases, I would like to trigger a notification (ideally an email) to inform the support team immediately about the failure.

My questions are:

  1. Is there any default mechanism in Appian RPA to send notifications (like emails) on task failures?

  2. If not, what’s the best practice to implement an email notification when an action like Open Browser fails?

Any guidance or examples would be appreciated!

Thanks in advance.

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Associate Developer

    HI  ,

    You need to handle the possible exceptions using IS WEB ELEMENT PRESENT when you work on Browser Automation.

    You need to manually write the possible exceptions occurred and create a subprocess for sending an email.

    You can check Take a screenshot: If you select this option, the robotic task takes a screenshot of the host machine immediately after the action completes.

    In Else Condition, You have to add a robotic subtask contains upload document mentioned in below image and configure the email body.



    We currently don't have an option to grab the RPA error messages from the execution log unless you write an Custom Java Code.

  • 0
    Certified Senior Developer
    in reply to Varun Teja Gurrapu

    Hi,

    Thanks for the response.

    I’ve tried a similar approach. In my robotic task, the first step is to open the browser, followed by navigating to the URL. However, the bot fails during the "navigate to URL" step itself—before any page content loads. Because of this, I'm unable to use browser conditions, as they only evaluate after the page is successfully loaded.

    Since the failure occurs at the navigation step, I’m looking for a way to catch this specific error and trigger an appropriate notification or fallback action.

    Would appreciate any suggestions or workarounds for handling this type of failure gracefully within the RPA flow or from the process model.

    Thanks!

Reply
  • 0
    Certified Senior Developer
    in reply to Varun Teja Gurrapu

    Hi,

    Thanks for the response.

    I’ve tried a similar approach. In my robotic task, the first step is to open the browser, followed by navigating to the URL. However, the bot fails during the "navigate to URL" step itself—before any page content loads. Because of this, I'm unable to use browser conditions, as they only evaluate after the page is successfully loaded.

    Since the failure occurs at the navigation step, I’m looking for a way to catch this specific error and trigger an appropriate notification or fallback action.

    Would appreciate any suggestions or workarounds for handling this type of failure gracefully within the RPA flow or from the process model.

    Thanks!

Children