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

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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

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