cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
sudosaurus
Post Prodigy
Post Prodigy

Nested apply to each from multiple choice columns! - Do I need this?

Hello,

I have a SharePoint list with an advanced form with multiple choice columns on it.

I've noticed when using the "Populate a Microsoft Word template" action, when selecting the fields I want to apply the Choice values to, an Apply to Each action is added for each one. I've roughly got 28-30 choice columns, so I know that there's going to be the same amount of Apply to Each actions. 

 

Will this pose any risks to processing this workflow? I'm gathering any remaining actions will need to sit in under the final Apply to Each container rather than outisde the first one and in the main flow container?

 

Would just appreciate some advice on how to proceed with this one?

sudosaurus_0-1633521540074.png

 

1 REPLY 1
fchopo
Super User
Super User

Hi @sudosaurus 

You should store all the selected choice column values inside string variables, and them pass all of them to the word document. Have a look at this example, where there's a choice column with multiple values called Region:

choice.png

 

You can do the same for all choice columns in parallel actions to make the flow faster.

Hope it helps!

Ferran

 

 

Did I answer your question? Please consider to mark my post as a solution to help others.
Proud to be a Flownaut!

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Top Kudoed Authors
Users online (2,348)