cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Martin_MC
Helper II
Helper II

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
Community Champion
Community Champion

Hi @Martin_MC 

 

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

 

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
Community Champion
Community Champion

Hi @Martin_MC 

 

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

 

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

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
Community Champion
Community Champion

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

 

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

Helpful resources

Announcements
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MSFTBizAppsLaunchEvent

Experience what’s next for Power Virtual Agents

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

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (105,552)