Skip to main content
Question

BOTS running forever and do not finish


Forum|alt.badge.img+3

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.

7 replies

Lu.Hunnicutt
Pathfinder Community Team
Forum|alt.badge.img+10
  • Pathfinder Community Team
  • 45 replies
  • March 6, 2025

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 

 


Aaron.Gleason
Automation Anywhere Team
Forum|alt.badge.img+10
  • Automation Anywhere Team
  • 503 replies
  • March 6, 2025

@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.


Dineshkumar Muthu
Navigator | Tier 3
Forum|alt.badge.img+9

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.


Forum|alt.badge.img
  • Cadet | Tier 2
  • 3 replies
  • March 7, 2025

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.


Forum|alt.badge.img
  • Cadet | Tier 2
  • 3 replies
  • March 7, 2025

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


Dineshkumar Muthu
Navigator | Tier 3
Forum|alt.badge.img+9

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.


Forum|alt.badge.img
  • Cadet | Tier 2
  • 3 replies
  • March 13, 2025

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


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