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 / turn on the concurrenc...
Power Automate
Unanswered

turn on the concurrency control in "apply to each" action result to variable's value mixed

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I'm building a flow like this

Owen_sheng_0-1679553041949.png

In the apply to each action, I update the variables and send a email with a option. The variables are defined before "apply to each", and these variables will be sent in emails.

As we know, send a email with a option will not complete the flow until the reveiver take action. In order to make sure all people receive my email, I have turn on the concurrency control in "apply to each". And this result to all the emails have same variables.

 

 

How can I fix this.

 

Categories:
I have the same question (0)
  • Verified answer
    StretchFredrik Profile Picture
    3,395 Super User 2025 Season 2 on at

    what i do is to use compose steps instead of variables. Variables dont work inside concurrent running loops. 😃

     

    If this solved your issue please mark the post as Solved. 
    Also, if you appreciated my answer, don't forget to give it a Thumbs Up 😃

  • Owen_sheng Profile Picture
    Microsoft Employee on at

    I can not understand. Can you explain the detail.

  • StretchFredrik Profile Picture
    3,395 Super User 2025 Season 2 on at

    I'm guessing you are setting the value of your variables inside the concurrent running loop? Instead use a 'Compose' Action to write the value you are currently setting in the variable, that way the value will be correct for every item. Such as:

     

    StretchFredrik_0-1679555100826.png

     

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