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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Apply to Each Concurre...
Power Automate
Unanswered

Apply to Each Concurrency & Variables

(3) ShareShare
ReportReport
Posted on by 45

I am finding that if I run an Apply to Each that uses Set Variable, it will seemingly pull the variable value from a different concurrent Apply to Each and mess up the math that is being calculated in any Apply to Each item.  The only way I could get math in Compose (uses the variable values) to be consistent & 100% correct was to turn off Concurrency Control.  Which, unfortunately, makes my total Flow run time go from 60 seconds to about 11 minutes.

 

Is this a bug?

Categories:
I have the same question (0)
  • v-bacao-msft Profile Picture
    on at

    Hi @daviddraper2,

     

    Could you share a screenshot of your Flow configuration?

    If we can know the detailed configuration of your Flow and your specific needs, maybe we could give some suggestions to optimize the action configuration.

     

    Best Regards,

    Barry

  • Jambo1 Profile Picture
    96 on at

    Hi I Have been suffering the same problem and found out that the Variables are Global to the flow so will get updated as the parallel threads get to them so you will get inconsistent results. I have just set the concurrency down to 1 which should do the trick.

     

    Another option could be to use the compose function which is local to the thread

     

    Jambo

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard