Skip to main content
Question

Repeated executions occur when using the email trigger


Forum|alt.badge.img+1

Hello everyone, I have a TaskBot with 3 triggers. Each trigger checks for an email every 30 seconds with a specific subject.

  1.  

  1.  

  2.  

However, when I send an email like this:

The trigger is being activated multiple times:

How can this be fixed, or is it some kind of missing configuration on my part?

4 replies

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

It appears you’re doing twice the work needed. You have individual triggers for different subjects in the email, THEN you have IF actions within your automation to filter the emails by title.

If you truly have a 30 second SLA (really?), just have the email trigger check all the messages. New messages will fire of the automation and your IF actions will take care of the routing.

Rather than using a trigger, it might make more sense to run the automation on a schedule. This way you’re not using one of your bot runner licenses just to check for emails. Be realistic with your SLA. I doubt 30 seconds is your true SLA and that you could probably run the automation on a schedule every 15 minutes. This would allow that bot runner to be used for other scheduled processes too.


Forum|alt.badge.img+1
  • Author
  • Cadet | Tier 2
  • 2 replies
  • March 28, 2025

You're right. I configured my bot with a single trigger that listens for all messages, and my internal logic will handle the rest. The 30-second interval was just for testing purposes — I’ve now set it to 15 minutes. However, I still can’t understand why it's being triggered multiple times, even though the only email it receives is the one I send for execution. Is this behavior due to how Automation Anywhere interprets the trigger, or could it be a configuration issue on the Outlook side?


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

Looking at the pending executions, I would say it’s a bit of a traffic jam on our side. Firing off three triggers simultaneously will definitely cause issues. Bot Agents can handle this but will queue the other two requests… and if Outlook doesn’t respond within 30 seconds, you could have a huge queue backup that would just spiral out of control very quickly.

 


Forum|alt.badge.img+1
  • Author
  • Cadet | Tier 2
  • 2 replies
  • March 28, 2025

Thanks for your help! Still working on it, but your input pointed me in the right direction.


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