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

weird -- MS flow approval email get approved without any inputs from the approver!?

Hi Friends,

 

Did you meet with similar situations?

 

 I just built an approval flow using the action of "send email with options" since the approvers are outside the company. Generally, it works fine but recently we found that when the approver is on vacation, sometimes the flow runs get denied/approved automatically without the involvement of the approver at all. For instance, the approver did not check the email during vacation at all but we found it has been approved/denied very soon.

 

The approval logic is pretty simple,

The coordinator first input an entry in some sharepoint list which record all the data. The flow run is then triggered by the new item.

Then the first approver will receieve an email with an attachment of the application form. there are two buttons in the email, i.e. "approve" and "Deny".

The approver can choose any one of them and the decision is registered by the flow and be used as a condition of further steps.

 

If the first approver will approve the request, the flow will continue to send an email with options to the second approver.Then the second approver will process the request as the first one.

Otherwise, the flow will record that the first approver has denied the request and the run will stopped.

 

We record the results of the decision using the "selectedOption" variable. And use the condition of

"selectedOption" Equals "approve" as the condition of approval and

if the condition that "selectedOption" Equals "approve" is TRUE, we will think the decision is "approve".

Else we think the decision made by the approver is "deny".

 

Some factors we think maybe related are:

(1) The approver are using Gmail ,which may not be fully compatible with the Office365 system?

(2) "selectedOption" Equals "approve" is too strong? How about "selectedOption" Contains "approve"?

(3) The email with options was copied to the coordinator as a record of sending out the request. The coordinator promised she did not touch the email approve/deny button also.

TBD: I am not sure, but I am trying to remove the coordinator from the email reciever list so that we make sure there will be no interferes from the coordinator side.

 

This issue has been around for several months and our boss may plan to give up using microsoft flow approval as a tool at all.

 

Please share some ideas or hints.

 

Thank you!

2 ACCEPTED SOLUTIONS

Accepted Solutions

Hi Dear Sir,

 

Your feedback is enlightening, thank you.

 

But our experience is that we experienced three times that the selected Option was set to some value not(approve) just several minutes after the run starts. I dont think the email action times out in such short time. 

 

And even more strange is one case it has been set to "approve" with the acknowledge of the approver.

 

BTW, is there some action similiar to the logic of

case1:

  do action1;

case2:

  do action2;

case3:

  do action3;

... ...

that can be used in the flow program? I will certainly try to use it since it is more specific.

 

Thank you!

View solution in original post

Dual Super User III
Dual Super User III

That's a Switch action in Flow.  You can key off a particular variable and take a different parallel branch based on the value of the variable.  Here's a Blog post on how to use it.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

4 REPLIES 4
Dual Super User III
Dual Super User III

Check the way that you are evaluating your conditions to make sure that if the email action times out the conditions don't fire inappropriately.  For example, if you test Selected Option = 'Rejected' the system may go down the false branch even though no Selected Option was submitted.  To avoid this use a parallel branch set to specifically run if the previous action times out.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Hi Dear Sir,

 

Your feedback is enlightening, thank you.

 

But our experience is that we experienced three times that the selected Option was set to some value not(approve) just several minutes after the run starts. I dont think the email action times out in such short time. 

 

And even more strange is one case it has been set to "approve" with the acknowledge of the approver.

 

BTW, is there some action similiar to the logic of

case1:

  do action1;

case2:

  do action2;

case3:

  do action3;

... ...

that can be used in the flow program? I will certainly try to use it since it is more specific.

 

Thank you!

View solution in original post

Dual Super User III
Dual Super User III

That's a Switch action in Flow.  You can key off a particular variable and take a different parallel branch based on the value of the variable.  Here's a Blog post on how to use it.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

Hi,

I will accept the post as the solution once I implement and test it.

I will provide more information by then. Thanks.

Helpful resources

Announcements
PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Top Solution Authors
Users online (3,313)