web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - General Discussion
Answered

Infinite loop email

(0) ShareShare
ReportReport
Posted on by 7

Hi,

 

I've been trying to send an email on certain conditions, but the flow iterates through a couple of email addresses indefinitely. I am not sure how to do in the 'Apply to each 3' and 'Apply to each' loops. The condition uses 'No. days before expiration date' field. I'd much appreciate any help with this one

ulalud_0-1692699942071.pngulalud_1-1692700030584.png

 

I have the same question (0)
  • ulalud Profile Picture
    7 on at
    Re: Infinite loop email

    Quick clarification, it's not indefinite, but the flow sends me 300 emails instead of 2.

  • Verified answer
    v-mingkz-msft Profile Picture
    Microsoft Employee on at
    Re: Infinite loop email

    Hi @ulalud,

    Do you want to Filter the rows from excel table with status and created date and judge if the 'No. days before expiration date' field is greater than 0 and less than 15 and send an email?

    If so, you can remove the Apply to each 3.

    Could you please show some screenshots about you Filter array in edit mode?

     

    Best Regards,

    Kyrie

     

     

  • ulalud Profile Picture
    7 on at
    Re: Infinite loop email

    Great, that works. Thanks!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 691 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 431 Moderator

#3
developerAJ Profile Picture

developerAJ 266

Last 30 days Overall leaderboard