cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
kels89
Helper I
Helper I

Select Data Operation adding apply to each, preventing output from being usable

I've made similar flows many times without issues. I need to use select and initialize variable to create a string of email addresses from a multi-person field in Sharepoint to add as recipients in an email. Below is how I normally do it without issue: 

Screen Shot 2021-01-24 at 4.56.44 PM.png

 

However, my most recent flow is adding an apply to each on the Select data operation, which doesn't allow me to use the output in Initialize variable. 

 

Screen Shot 2021-01-24 at 4.47.27 PM.png

 

Do you have any recommendations on a better way to do this or to get the apply to each gone on the select data operation?

2 REPLIES 2
Anonymous
Not applicable

Your first image shows from as assigned (recipient?) and the second shows from as group recipients. Should these be the same field?

 

If that is correct, and you think there should only be one item in the group recipients, you could try using the first function to extract the content and avoid the apply to each loop.

They shouldn't be the same field as the first screenshot was from a flow that was working. They were built identical, but slightly different names for the fields. And there should be more than one items in the Group Recipients field. 

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!

Users online (1,233)