cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
312_312
Helper I
Helper I

Approval flow keeps being rejected when is approved

I have literally done all I can, I have watched few youtube videos and read all the forum discussion. I redo and redo and reado. Its still the same thing. Just tell me what should I do now? Should I report this to the Microsoft about a bug or I'm really doing it wrongly. Please help me 

fail.PNGdf.PNG

27 REPLIES 27

Hi @312_312 ,

 

Very very strange since the flow would works on us all the time as my screenshot below...

1.png3.png

Are you sure there is no any space in the second field in the Condition as my screenshot?

1.png

 

Please take a try to create a new flow from scratch and let me know if your issue still exists.

 

 

Best Regards,

Alice

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Yes, I'm pretty sure that there is no spacing in between, double-check and confirmed. I have already created new flow from scratch for like 5 times, I had enough since it is time-consuming and long workflow ( only two times condition ). The same problem still persisting and it has becoming a burden on developing the flow. 

Hi @312_312 ,

 

Please take a try with flow below:

1.png

if(equals(body('Start_and_wait_for_an_approval')?['outcome'],'Approve'),'A','B')

 

The output of Compose should be A when the request is approved.

2.png

 

Best Regards,

Alice

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

It was going well with approved, then later I try reject. The problem persists again. When i reject , it moves to 'if yes'
zdfhsgr.PNG

Hi @312_312 ,

 

Amazing!

Could you please share the full screenshot of the configuration of your flow with all of the details?

 

Best Regards,

Alice

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Sorry for the late reply, do you have another alternative?

When Approved, goes according to the compose that you recommendWhen Approved, goes according to the compose that you recommendThen when it is rejected, it triggers approveThen when it is rejected, it triggers approveFirst configure after runFirst configure after runsecond configure after runsecond configure after run

Hi @312_312 ,

 

I suggest that you could contact Microsoft for any help on this issue since it would never be confirmed on my side and we couldn't help you on this issue.

 

Best Regards,

Alice

 

Community Support Team _ Alice Zhang
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

steventhi
Frequent Visitor

Hi, it doesn't look like this problem was actually ever really solved.

 

If anyone is still running into this issue (like myself), I found the following two options to correct this:

  1. Change the condition from "is equal to" into "contains", or
  2. Instead of "resubmitting" the flow from Power Automate, create a brand new approval

For me, somewhere along the way from resubmitting my flows, my outcomes became appended to one another, and what was actually being passed to the switch was "Approve, Approve, Approve".

 

Hope this helps!

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (3,922)