cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
johnjohn123
Super User
Super User

How i can execute an action after the user reposnded inside "Wait for all approval" step

I have built an array of emails named "ApprovalEamils" and then i am sending an approval emails to the array >> and i am observing the responses as follow:-

 

3optiosn.png

 

now the above is working well,  but the issue is that the actions inside the "Apply to each 8" will all be executed after we got all the responses, while i want the "Apply for each 8" to be executed once the user provide a response, is this possible?

 

For example, In another scenario i am sending the approval emails to a People or Group field which will run the approval step inside a for each and i will not face the issue, as the action will be executed once the user provide a response, here is my second scenario :-

 

s2.png

 

so how i can fix the issue on my first case?

 

 

4 REPLIES 4
PrasadAthalye
Community Champion
Community Champion

So basically you want to assign tasks to all the approvers, but you want to take action as soon as any of the approvers responds.. Is this correct? If yes, do you have a static list of approvers?

Please Like and Mark this as Answer if it resolves your Issue.

Power Automate Community

@PrasadAthalye  thanks for the reply... yes you are correct? the approvers in my case can be users or groups, so i have build an array of all the users (direct users or members inside the group)

Are the approver roles static? Meaning, can you define the roles upfront? If yes, you will have to use the Parallel block and add the Approval action under each block. That way you can capture response as soon as they approve but overall branching will be in parallel. Something like below...

 

PrasadAthalye_0-1612573451185.png

 

Please Like and Mark this as Answer if it resolves your Issue.

Power Automate Community

@PrasadAthalye  i am afraid that this will not work, as i can have 1 approver up to 50++ approvers.. this is dymanic

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 (1,932)