Does Healing Agent fix the selector permanently or just for that one run?

When Healing Agent recovers from a broken selector at runtime, does it write the fix back into my project, or is it only a runtime patch that’s gone by the next run?

Basically asking if I still need to go update the selector in Studio myself.

Thanks

Hi @Rachel_de_Ryan,

When Healing Agent fixes a broken selector during execution, it applies the fix live so the job completes, this keeps your process running rather than failing outright.

You should manually open the project and apply the fix there, meaning the fix isn’t silently and permanently written back into your .xaml/selectors on its own.

So, to directly answer your question: yes, you still need to go into Studio yourself. Until you do that, the runtime patch is exactly what you suspected: it gets you through that run, but the next execution will hit the same broken selector, and Healing Agent will have to re-heal it again from scratch.

You can refer this documentation for more information:

Cheers!

@Rachel_de_Ryan

Healing Agent is mainly used to recover from selector issues at runtime. It doesn’t permanently change or update the selector in your Studio project. So, if the selector has actually changed, you would still need to update it manually in Studio. This helps avoid the same issue in future runs. Hope this helps!

@Rachel_de_Ryan

Healing agent will fix the selectors at runtime only and give you a debug file which is really helpful to fix your code in studio.

You will have to update the code and the debug file you will get from healing agent will make this work really easy.

Downlod the debug file from orchestrator
open autopilot
Import the debug file
Apply fix
Deploy the process

That’s it.

Hey @Rachel_de_Ryan,

Healing Agent offers runtime self-healing, allowing it to recover from a broken selector without altering the original workflow. For a permanent solution, please review the suggested fix/debug data, update the selector in Studio, and redeploy the process.

Hi @Rachel_de_Ryan ,
Healing Agent is a runtime recovery mechanism, not a permanent selector maintenance tool. You should still update the selector in Studio if the application change is permanent.

Thanks