Streamlining Automation with UiPath healing Agent

Streamlining Automation with UiPath Healing Agent

What is the UiPath Healing Agent?

The UiPath Healing Agent is an advanced feature that brings AI-powered solutions to UiPath Robots, Orchestrator, and Studio. Its primary goal is to minimize downtime in your automations by intelligently addressing issues caused by changes in application interfaces or UI disruptions. This ensures that your automated processes can continue uninterrupted, even when faced with unexpected changes or obstacles.

What can the UiPath Healing Agent Do?

  • The Healing Agent fixes issues that arise due to changes in the application interface.
  • It also resolves problems caused by UI interference that obstructs the automation.
  • This feature ensures that the automation can continue running without interruptions.
  • The Healing Agent analyzes the application interfaces to identify potential issues.
  • It offers specific and actionable recommendations to help troubleshoot and debug.
  • These suggestions help minimize the time spent on troubleshooting, allowing for quicker issue resolution.
  • The automation can be put back into production as soon as possible, reducing downtime.

What can the UiPath Healing Agent Do

Platform Compatibility:

The UiPath Healing Agent is compatible with desktop and web applications, providing flexibility in automation. However, it only works with Ui Automation modern activities currently in UiPath.

Requirements:

Healing Agent supports Modern UI Automation activities and requires:

  • UI Automation. Activities package version 24.12.5-preview or later
  • Robot version 24.10 or higher
  • To visualize and apply Healing Agent recommendations in the workflow, UiPath Studio Enterprise 0.157 is required.

Discovering Auto-Healing in Action:

Imagine you have automated a UI-based use case in UiPath Studio, published it to Orchestrator, and it has been running successfully for a few days. However, during the latest execution, you notice that the label names of some fields on the web page have changed.

In this case, there’s no need to stop the run—UiPath Auto-Healing will step in to handle the changes. However, to see the Healing Agent in action, you must configure the healing setup at the Job level of the process.

Let’s go through the steps to set it up.

Once you add the published package to the process folder using the “Add Process” as below. A Job can be started using the option “Start a Job” to trigger the run.

Discovering Auto-Healing in Action

Initiate a job to witness the Healing Agent:

Initiate a job to witness the Healing Agent

To enable the Healing Agent, check under the component “Execution Target” as shown below.

How to enable the Healing Agent

A view on Healing agent & Unified Target:

UiPath is already strong, as the Unified Target (Fuzzy selectors, Anchors, Computer vision, and more) can use methods like image recognition or semantic labels to keep automation running smoothly and reduce failures. The Healing Agent adds extra support with the self-healing capability by improving resilience when the Unified Target can’t find the intended element.

How does the recovery analysis work?

Now that the job is configured and triggered with the Healing Agent and self-healing feature, let’s check whether it ran successfully or encountered a failure. We’ll also review the logs to understand how the Healing Agent handled objects with incorrect selectors to ensure a successful run.

Important Note: The Healing Agent intervenes only after the activity (object) timeout, just before the process fails.

How does the recovery analysis work

Analysing the Execution Logs:

As seen in the highlighted logs, the Healing Agent successfully healed the “First Name” field by automatically correcting the selectors.

Meanwhile, the “Last Name” and “Middle Name” fields were fixed using the Unified Target’s fallback methods, such as image recognition or semantic labels. Since the selector issue for these fields was less complex, the Healing Agent’s recovery was not required.

Analysing the Execution Logs

As you can see in the “Healing Agent” tab, it provides real-time healing information for the faulted object along with suggestions to fix it permanently.

Healing Agent tab

It also suggests the selector used to heal the object in the form of a debug file. This file can be utilized in UiPath Studio to update workflows and publish an upgraded version, ensuring future runs are successful.

This feature helps developers save time on debugging while also providing the correct selectors for faulted objects.

selector used to heal the object

Overall, the UiPath Healing Agent simplifies automation maintenance by automatically adapting to UI changes and providing debug files with recommended fixes. This feature reduces downtime and ensures smooth execution of workflows, making automation more resilient and efficient.

Leave a Reply

Your email address will not be published. Required fields are marked *