Skip to main content

My bots have not been running for the past 2 weeks and the top scheduled bot keeps running and not finishing. I am still new to Automation Anywhere. Please advise as users are impatient now. I have restarted the BOT runners servers and the control room server but still problem persists. I even stopped the running bot and the next one also hangs and keeps running. I restarted all the BOT services that are set to automatic but still no change.

Hi! I don’t have the answer to this but I’m tagging a few folks I think may be able to support you here. It may require a deeper dive into what exactly is happening, so keep your eyes on this thread. Thanks!

@Aaron.Gleason 

@Shreya.Kumar 

@Dineshkumar Muthu 

@ChanduMohammad 

 


@Phathisani Dube When you say the “top scheduled bot keeps running and not finishing”, you’re talking about the Activity > In progress window, correct? Something like this?

In this case, we have an automation that started 4 hours ago and still hasn’t finished. If this is the case, when you check on the Bot Runner machine, is it running an automation or doing nothing?

If you can give additional detail and screen shots, we may be able to assist further.


Hi ​@Phathisani Dube ,

It might be helpful to check the bot code to identify the exact line where it's getting stuck and examine that action closely. Here are a few areas to investigate:

  1. The Excel macro (as an example): Opening Excel may cause the process to get stuck.

  2. The while loop (as an example): Ensure there is a break condition to avoid an infinite loop.

To know more details, check the bot logs. These steps could assist you in troubleshooting the issue.

If you need further assistance, feel free to reach out to me directly.


I have attached a screenshot of my bots. I have also checked space on the Control room and bot runners as well as database server and all is good.


Nothing has been changed at the moment as all the bots have always been running successfully.


Hi ​@pdube 

Please check the code on line one of your email connect. It appears there is no error handler implemented. Based on the screenshot you provided, line one is labeled as "Email." You need to add an error handler to address any potential issues.


I have discovered that the bots hang on sending emails. We recently changed our company email address from e.g. pdube@mycompany.com to pdube@comp.gold and the bots stopped running. Previously the bots did not have a problem. Anyone please advise.


Reply