Skip to main content

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

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!

 

 

 

 

 


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.


Reply