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
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.

New Process Advisor Capabilities carousel.png

Read the blog for the latest news

Read the latest about new experiences and capabilities in the Power Automate product blog.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

Users online (3,657)