Skip to main content
Community site session details

Community site session details

Session Id : IpC2vpBRQEF2rL1Ohvrs9c
Power Automate - Building Flows
Unanswered

Outputs of Apply To Each

Like (0) ShareShare
ReportReport
Posted on 18 Jan 2021 19:47:03 by 93

I have a flow that looks for changes in the last week to a sharepoint list. First is fetches "items modified", then it adds those Item ID numbers to an array, then it runs through an "apply to each: get changes for an item or a file (properties only)" step. It seems to be doing EXACTLY what I want it to do as far as what it is pulling, but I can't seem to figure out how to then use the data it pulls as it doesn't seem to create any sort of "output".

 

How can I use this output (picture 2) to update the original array?

 

enswitzer_0-1610998184704.png

 

 

 

enswitzer_1-1610998273721.png

enswitzer_2-1610998308958.png

 

Original Get Items Data:

 

IDTItleDate ModifiedModified byTop IssuesRisks & Opps
32Project Title3/1/2020Erin NicoleThingsStuff
33Project #24/1/2020ErinStuffThings

 

Changed Items Output: <--- can't even figure out how to get this in a usable format

 

IDHas Column Changed: Project TitleHas Column Changed: Status DateHas Column Changed: Project Lead
32FalseTrueFalse
33TrueTrueFalse

 

 

Final Output: <-- let alone this!

 

IDTItleDate ModifiedModified byTop IssuesRisks & OppsHas Column Changed: Project TitleHas Column Changed: Status DateHas Column Changed: Project Lead
32Project Title3/1/2020Erin NicoleThingsStuffFalseTrueFalse
33Project #24/1/2020ErinStuffThingsTrueTrueFalse

 

I'm happy to dig - I just seem to not even be googling the right things - any suggestions?

  • Ellie135 Profile Picture
    7 on 15 May 2023 at 17:08:50
    Re: Outputs of Apply To Each

    Hi there

    Would it be possible for you to open up your flow and screenshot to show how you have written the formulas and flow steps? I am trying to create a flow that picks up all the changes in a library within a week and then it emails me a list of changes that have happened that week only. Is that possible based on your flow?

  • Pstork1 Profile Picture
    67,219 Most Valuable Professional on 18 Jan 2021 at 22:10:44
    Re: Outputs of Apply To Each

    Apply to each loops do all their work inside the loop and there really is no output other than success or failure.  The typical workaround is to initialize a string or array variable before entering the loop and then append the information that you want to use after the loop exists to the string or array.  For example if you want a semicolon delimited list of email addresses to send an email to you would initialize a string, append each email to that string inside the Apply to each, then use the string variable to address an email after you exit the loop.

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!