Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Is there a way to set multiple variables in a flow without it applying an apply to each, each time?

(0) ShareShare
ReportReport
Posted on by 6

So for a bit of background context, I have a SharePoint list with 3 columns which make use of the "Person or group" type. These columns represent different departments. Each column will most likely have multiple values in each entry.

 

I am using power automate to update the SharePoint list based on a set of requirements and to also send an email out. These emails need to go out to those users in those 3 columns. Each time I go to initialize and set these variables, it creates an apply to each. Meaning, there will be 3 apply to each's in total. Is there a way to avoid this and only perhaps have 1 apply to each? 

 

I'm already needing an apply to each to go through each entry on the SharePoint list totaling the amount of "Apply to Each" actions to 4. It makes the flow look a bit messy and I want it to be as clean as possible. What would be the best way to tackle this if it's at all possible? 

  • tom_riha Profile Picture
    10,127 Most Valuable Professional on at
    Re: Is there a way to set multiple variables in a flow without it applying an apply to each, each time?

    Hello @sLifestyle ,

    that's the standard behaviour - you have multiple people picker columns, Power Automate prepares the flow to process all the entries one by one by adding a loop.

    If you don't want a loop you can use the 'Select' action, This action will allow you to extract values, e.g. email addresses from the array of users in a single step, without the loop as explained e.g. here. Once selected you can send an email to the users or update them in a different SP list.

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

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!

Announcing the Engage with the Community forum!

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

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1