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 Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (4,022)