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
Super User
Super User

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

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

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