Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Connectors
Answered

apply to each

(0) ShareShare
ReportReport
Posted on by 3

i am trying to get each of my approver's name concatinate update into my remarks list in sharepoint, can't figure it out how to get the string arrays to work, anyone would help?

bloon_0-1608177454495.png

 

  • Verified answer
    annajhaveri Profile Picture
    8,531 Most Valuable Professional on at
    Re: apply to each

    Hello,

     

    I think you also need to add Wait for an Approval action, if you are using Create an Approval action. If you are using Start and Wait for an Approval, then you dont need separate Wait for an Approval action. Once that is done, you can do as follows to get string of all approvers response concatenated:

     

    1. Add Initialize Variable in the beginning of your flow, provide the name of variable as "ApproverResponses" and type as string

    2. In  Apply to Each action, use Responses 

    3. Inside Apply to Each action, add Compose action and provide following expression in the compose action

    concat('Approver Name', items('Apply_to_each')?['responder/displayName'], 'Approver response', items('Apply_to_each')?['approverResponse'], 'Approver Comments', items('Apply_to_each')?['comments'])

    4. Then add Set Variable action and set value of ApproverResponses to compose action output

    Screenshot of the flow:

    Screenshot 2020-12-17 171144.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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >

Featured topics