Showing results for 
Search instead for 
Did you mean: 
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?

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

Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Users online (2,926)