cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper IV
Helper IV

Add person email to Approval Assign to from SP list without using "Apply to each"

Hi All

I am building a Flow that get Person from a SharePoint list and creates and Approval for that person.

The problem is that when I am adding a person to "Assigned to" in Approval from dynamic content-person Email, it puts Approval into Apply to each, although it gets only 1 result from SP list. 

So is there any way just to use something like first(items('GetFromSPList')?['Person']?['Email'] ) ?

Thanks 

2 REPLIES 2
Highlighted
Super User III
Super User III

Re: Add person email to Approval Assign to from SP list without using "Apply to each"

@RomanKorchak 

It sounds like the person or group column allows for multiple entries.  If you set the SharePoint column not to allow for more than one person to be entered, the issue will be resolved. 

 

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott
Highlighted
Community Support
Community Support

Re: Add person email to Approval Assign to from SP list without using "Apply to each"

Hi @RomanKorchak,

 

You can initialize an array variable and create an Apply to each action to store these Emails, after that, use the join() function to convert the email array into email string separated by ";".

Annotation 2020-01-08 161702.png

 

Then put the string into the Send an approval action will not create Apply to each action automatically, and you can send approval to multiple Emails.

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Upcoming Events

Experience what’s next for Power Automate

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

Top Solution Authors
Top Kudoed Authors
Users online (4,761)