Skip to main content
Question

How to Stop Stop/Kill Bot if Bot stuck while executing Bot . Can we Notify to specific mail ?


How to Stop Stop/Kill Bot if Bot stuck while executing Bot .it Requires manual intervention to stop . It should be automatically stop the bot and send notification.

Can we Notify to specific mail ?

Some time while executing excel advanced actions Bot stuck .

How to solve this issue.

 

Thanks in Advance

2 replies

Tamil Arasu10
Most Valuable Pathfinder
Forum|alt.badge.img+16
  • Most Valuable Pathfinder
  • 3274 replies
  • March 21, 2022

Hi @Rajkumar Jagdale​ ,

 

You can achieve this by using the Error Handler Package and Email package.

 

Also, one more option is available Edit email notifications - Automation Anywhere Documentation

 

https://docs.automationanywhere.com/bundle/enterprise-v2019/page/enterprise-cloud/topics/aae-client/bot-creator/commands/cloud-error-handling-command.html/p>

 

Automation Anywhere A2019 (RPA) - How to use "Error ...

 

 

To kill/close the excel file, you can try with bat file

call bat file from AA task

 

taskkill /f /im excel.exe

 

 

Thanks!

 

 

 

 

 


  • Cadet | Tier 2
  • 6 replies
  • March 22, 2022

Hi Raj_2021,

 

Using the exception handler you can achieve this.

 

Just drag your actions into try block and make sure your action has some timeout option(in case if not responding it will need to move catch block).

 

In the catch section, you can write your mail notification code.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings