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

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

(3) ShareShare
ReportReport
Posted on by 1,837 Season of Giving Solutions 2025
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,960 Moderator 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

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!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 77 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 68

#3
Expiscornovus Profile Picture

Expiscornovus 56 Most Valuable Professional

Last 30 days Overall leaderboard