Skip to main content
Flight Specialist | Tier 4
March 21, 2022
Question

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

  • March 21, 2022
  • 2 replies
  • 506 views

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
    Most Valuable Pathfinder
    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!

     

     

     

     

     

    _Tamil_
    Cadet | Tier 2
    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.