cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
RobertEmminger
Level: Powered On

Disable Apply To Each

Hello! I've only recently started using Flows, so far to complete very simple tasks and I'm running into an issue. I've selected a basic "template" which is to send an email when a new Sharepoint List item is created. In the email I want to capture the information entered on the List.

 

Everything works well except for list options which are multi-select. The flow by default creates an "apply to each" step for these. Rather I would like each of the multiple items selected to be listed in a single email. Is this possible? 

 

Thanks! 

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Disable Apply To Each

@RobertEmminger:

 

Here is one technique that you can use. 

 

In the screen shots below of a Flow that I successfully ran, I first loop through each of the values in the multi-select column (an option column in my case) and append them to a variable.  Then, I simply reference the variable in the email.

 

MultiSelect.jpg

 

If this answers your question, please mark you post as Solved.  If not, please provide additional detail.

 

Scott

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

View solution in original post

4 REPLIES 4
Super User
Super User

Re: Disable Apply To Each

@RobertEmminger:

 

Here is one technique that you can use. 

 

In the screen shots below of a Flow that I successfully ran, I first loop through each of the values in the multi-select column (an option column in my case) and append them to a variable.  Then, I simply reference the variable in the email.

 

MultiSelect.jpg

 

If this answers your question, please mark you post as Solved.  If not, please provide additional detail.

 

Scott

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

View solution in original post

Community Support Team
Community Support Team

Re: Disable Apply To Each

Hi @RobertEmminger,

 

As @ScottShearer said, you could add a variable to save all the values in the multi-select column.

 

You could refer to screenshot below to create the flow:

Capture.PNG

 

Best regards,

Alice

RobertEmminger
Level: Powered On

Re: Disable Apply To Each

Thanks so much @ScottShearer & @v-yuazh-msft this did indeed work. If I wanted to add a spacebetween the different items in the list, should I add another "append to string variable"? This is the output I'm getting in the email.

 

Bay CityBirminghamEastonFlint

it should be something like:

Bay City, Birmingham, Easton, Flint

 

Thanks again! 

qsalem
Level: Powered On

Re: Disable Apply To Each

@RobertEmminger Did they answer your query because i have the same issue. Need to load several recipients and values on the email notifications. Encountered that "apply to each" still adding automatically despite of creating initialize variable.

 

Hi @ScottShearer - hope you can help.

 

Thanks

Helpful resources

Announcements
firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (5,853)