Second approval in flow designer not behaving as expected

riskay123
Mega Guru

I have a flow that has two approvals. The flow behaves correctly if it is approved or rejected at action 4. When it gets to the second approval at action 6 it behaves correctly if the approval is approved but it does not behave as expected if it is rejected. For some reason if the second approval is rejected it treats the flow as if it has been approved and rather moving on to action 12 it goes back to action 7.

 

I have compared both the Ask for Approval and If actions and they are exactly the same except for the approval groups.

 

Can someone tell me what I may be doing wrong here? I am fairly new to flow designer this is my first one.

Flow overview.pngAction details.png

4 REPLIES 4

Shruti
Mega Sage
Mega Sage

Hey,

Try to add Approval rejected (if Approval is false/rejected) condition as well just like if Approval is true in your flow

Refer below screenshot

For each Ask for approval action, check 1. if approval is approved and 2. if approval is rejected

ShrutiW_1-1674017764423.png

 

 

Thanks for your reply Shruti.

Maybe a dumb question but how do I add the Else If flow logic? When I click on the Flow Logic option I can select "If" but not "Else If" because it is greyed out.

Not sure why it is greyed out for you. Try with "if" instead of "else if"

Even I have faced a similar scenario where else if and else will be greyed out. Not sure why.