cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
FreeNit
Level: Powered On

"Approval type" = "Approve/Reject - First to respond" do not work correctly

When I send an approval with "Approval type" = "Approve/Reject - First to respond" it works as "Everyone must approve".  Only when all members responded for the request flow ends its work in other cases in stay in running state.

 

What had happened with "Start an approval" block? It has worked very well.

 

 2019-03-11 13_27_10-Edit your flow _ Microsoft Flow.pngApproval variants

 

Only with "Create an approval (v2)" it is possible to reach opportunity end flow after only one response. But this block does not have a method to get responder comments for the appropriate approval request. 

What to do in this case when old blocks absent and new one do not work correctly ???

2 ACCEPTED SOLUTIONS

Accepted Solutions
v-zhos-msft
Level 10

Re: "Approval type" = "Approve/Reject - First to respond" do not work correctly

Hi @FreeNit ,

I think the issue is not about the 'Start and wait for an approval' action, it's about the 'Apply to each'.

The setting of "Approve/Reject - First to respond" means when there are multiple person in the 'Assigned to' in one Approval actionjust one person reply to the Approval email, the action will finish.

However in your flow, 'Apply to each' means there are three independent 'Start and wait for an approval' action.

So when the first Approval finished, the flow need to wait for the others.

It is the reason why you flow is in pending.

 

Best Regards,

Community Support Team _ Zhongys

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

View solution in original post

FreeNit
Level: Powered On

Re: "Approval type" = "Approve/Reject - First to respond" do not work correctly

Hello.

As I mentioned you need to use a variable

1) Declare variables: first - string type, second - array type (without any values)

1.png

2) Use "Append to array variable" action. "Apply to each" will generated automatically in case of multiple values of approver`s emails.

2.png

3) Use "Join" action to connect array values with semicolon sign ";"

3.png

4) Set variable (with string type) to "Output" from "Join" block.

4.png

5) After that, you can use this variable for "Assign to" section in "Approval" block

5.png

View solution in original post

7 REPLIES 7
v-zhos-msft
Level 10

Re: "Approval type" = "Approve/Reject - First to respond" do not work correctly

Hi @FreeNit ,

I have made a test with the 'Start and wait for an approval' action on my side, and it doesn't have the issue you mentioned. 

I setted  "Approval type" = "Approve/Reject - First to respond", and added multiple person in the 'Assigned to'.

The flow can run successful, when just the first person responded.

Capture.PNGCapture1.PNG

I suggest you make more test to check the issue if still exist.

 

Best Regards,

Community Support Team _ Zhongys

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

FreeNit
Level: Powered On

Re: "Approval type" = "Approve/Reject - First to respond" do not work correctly

My flow sends an approval request for the group of persons based on some condition. These persons are located on another list and dynamically selected. So when in "Start and wait for an approval" block in "Assigned to" field I choose corresponding person`s group flow doesn`t stop work after the first response and waits for other responders from the group. 2019-03-11 13_27_10-Edit your flow _ Microsoft Flow.pngAnd the next picture shows when the flow is waiting for other 3 responders and doesn`t stop work.

2019-03-11 13_27_10-Edit your flow _ Microsoft Flow.png

v-zhos-msft
Level 10

Re: "Approval type" = "Approve/Reject - First to respond" do not work correctly

Hi @FreeNit ,

I think the issue is not about the 'Start and wait for an approval' action, it's about the 'Apply to each'.

The setting of "Approve/Reject - First to respond" means when there are multiple person in the 'Assigned to' in one Approval actionjust one person reply to the Approval email, the action will finish.

However in your flow, 'Apply to each' means there are three independent 'Start and wait for an approval' action.

So when the first Approval finished, the flow need to wait for the others.

It is the reason why you flow is in pending.

 

Best Regards,

Community Support Team _ Zhongys

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

View solution in original post

FreeNit
Level: Powered On

Re: "Approval type" = "Approve/Reject - First to respond" do not work correctly

I have solved this problem with the power of the variable.

kassie12345
Level: Powered On

Re: "Approval type" = "Approve/Reject - First to respond" do not work correctly

I'm facing the same issue. Please tell me how you fixed this.

SumitValecha
Level: Powered On

Re: "Approval type" = "Approve/Reject - First to respond" do not work correctly

Hi FreeNit could u pls share the solution how u fixed it?

FreeNit
Level: Powered On

Re: "Approval type" = "Approve/Reject - First to respond" do not work correctly

Hello.

As I mentioned you need to use a variable

1) Declare variables: first - string type, second - array type (without any values)

1.png

2) Use "Append to array variable" action. "Apply to each" will generated automatically in case of multiple values of approver`s emails.

2.png

3) Use "Join" action to connect array values with semicolon sign ";"

3.png

4) Set variable (with string type) to "Output" from "Join" block.

4.png

5) After that, you can use this variable for "Assign to" section in "Approval" block

5.png

View solution in original post

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (4,842)