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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Never ending Apply to ...
Power Automate
Answered

Never ending Apply to each loops.

(0) ShareShare
ReportReport
Posted on by 14

Hello all, 

 

I'm trying to create a flow that does nothing but send an email when a person is assigned in my sharepoint list. I have added a choice column to the list tracks the flow status. That way I can add a trigger condition to make sure it only runs once. The two trigger conditions I am using are when 'assigned to' does not equal 'null' and when 'assignment flow status' equals 'waiting'. From there I have an update item to change the flow status to running, preventing the flow from triggering itself again. After that all I want to do is send an email to the person assigned and then change the flow status to complete. However, just to send an email it created an Apply to each loop nested inside another Apply to each loop. I assume it's because I am pulling data to include in the email, but I don't know how to avoid this. Thanks!

 

ryande_0-1699544950643.png

 

Categories:
I have the same question (0)
  • Verified answer
    grantjenkins Profile Picture
    11,063 Moderator on at

    The reason you are getting the Apply to each showing up when you select Assigned To is because you have Split On turned off which means the trigger will run on batches of files being updated. I'd suggest turning on Split On and see if that helps. This will ensure the trigger will run for each file individually.

    grantjenkins_0-1699567430678.png

  • ryande Profile Picture
    14 on at

    Thank you! I believe that worked. Bing chat told me to turn that off. Lesson learned. lol Thanks again! 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 592

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard