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 / Compose inside Apply T...
Power Automate
Unanswered

Compose inside Apply To Each will it hold the value of previous iteration

(3) ShareShare
ReportReport
Posted on by 1,809 Super User 2024 Season 1
If i have a Compose action inside an ApplyToEach or inside DoUntil, then do we need to manually reset the Compose value after ending each iteration,? or the scope of a Compose will only be within the current iteration, and if the compose is skipped inside an iteration then we can be sure that the compose value will not be from previous iteration?
Categories:
I have the same question (0)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,315 Super User 2025 Season 2 on at
    Hi
     
    Correct, the compose will reset it self each time based on the expression used within the context of that loop iteration.
     
    You are fine.
     
    That being said, flows are Async and there could be more than 1 thread running the same code at the same time. This shouldn't impact you its just knowledge for the future.

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 523 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 406 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard