cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Approval Goes to One Person Instead of Multiple - Apply to Each issue?

Hi. Part of my flow isn't behaving as it should. It's an approval flow which goes and fetches a list of users from a list, then sends an approval email to all of the people in that list and waits for the first person to respond to that email before moving on. However what seems to happen is, the approval email goes to only one person, waits for them to do something, then once they have either approved or rejected the approval email then goes to the next person in that list. Which is not how I would like it to behave; I want it to go to everyone on the list at once. Here is a screenshot of this particular section. Is it because the Apply to Each happens sequentially rather than all together at once? Meaning it is doing a 'Start and Wait'.... waiting... then once that person makes a choice the Apply to Each sends the 'Start and Wait' to the next person? I am assuming this is the issue, and now wondering the best way to make it behave how I'd like. Perhaps change it from a 'Start and Wait' to 'Create Approval' then send it outwith the Apply to Each...?

Martin_MC_0-1613753585250.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
DamoBird365
Super User
Super User

Hi @Anonymous 

 

Your email field has created the apply to each 2, so it will be creating seperate approvals.  You want to create a string of emails and drop the apply to each.  Have a look at this https://powerusers.microsoft.com/t5/General-Power-Automate/Start-and-wait-for-approval-from-a-dynamic-list-of-users/m-p/520808#M48449

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Cheers,
Damien


P.S. take a look at my new blog here

View solution in original post

3 REPLIES 3
DamoBird365
Super User
Super User

Hi @Anonymous 

 

Your email field has created the apply to each 2, so it will be creating seperate approvals.  You want to create a string of emails and drop the apply to each.  Have a look at this https://powerusers.microsoft.com/t5/General-Power-Automate/Start-and-wait-for-approval-from-a-dynamic-list-of-users/m-p/520808#M48449

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Cheers,
Damien


P.S. take a look at my new blog here

Anonymous
Not applicable

Hi, and thanks for the response.

I'm looking through this now and trying to fix mine. I'm having issue though where you say:

"After that, you should only have the Approval action (not in the loop) and in the Assigned to field use an expression: join(variables('ListOfApprovers',';')"

Using this (altered to match my own variable name) I simply get "The expression is invalid".

As seen in the screenshot. Am I missing something? Why can't I set this expression in the Assigned To field as you suggested?

Martin_MC_0-1614082460310.png

 

DamoBird365
Super User
Super User

@Anonymous so close...  misssing a closing bracket?  To close off the join parenthesis.

 

join(variables('ListOfApprovers',';'))  <-missing

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.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

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.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (2,558)