web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Cancel a flow when the...
Power Automate
Unanswered

Cancel a flow when the approval request is cancelled

(0) ShareShare
ReportReport
Posted on by 52

Hi everyone,

Could you please help modify my flow when the Approval request is cancelled.

Allister1_1-1713886379913.png

Right now the flow continues as 'True' and sends an email although the request got cancelled.

 

Allister1_0-1713886352122.png

 

@DJ_Jamba 

 

Categories:
I have the same question (0)
  • Pstork1 Profile Picture
    68,697 Most Valuable Professional on at

    If the Approval request is cancelled by the sender then the Outcome of the Approval will be an empty string. If you test for Outcome equals blank that should tell you the approval was cancelled and you can terminate the flow.

  • Allister1 Profile Picture
    52 on at

    Hi @Pstork1 ,

    Unfortunately, because condition mentions 'Does not contain Reject' it continues with the True Condition.

    Should I modify the condition to Add a new flow, which says ' AND Not Equal to "BLANK " '?

    Allister1_0-1713889952895.png

     

  • Pstork1 Profile Picture
    68,697 Most Valuable Professional on at

    You can do it that way, but I suspect you want to do something different if the Approval was cancelled instead of rejected.  To handle that I would use two different condition actions with the one to check for cancellation coming first and then if it isn't cancelled check to see if it was rejected or not.  But it depends on what you want to do when its cancelled.

  • Allister1 Profile Picture
    52 on at

    @Pstork1 Yes, i agree. I liked your idea better. Could you help on how to create a flow which incorporates your idea ?

  • Verified answer
    Pstork1 Profile Picture
    68,697 Most Valuable Professional on at

    Something like this after the Approval.

    image.png

  • Allister1 Profile Picture
    52 on at

    Under Terminate, should it say cancelled  or the other options ?

    Allister1_0-1713895336979.png

     

  • Allister1 Profile Picture
    52 on at

    Hi @Pstork1 ,

    It worked perfectly. Thank you so much for all the help. I have Thumbs Up and Accepted your Solution.

    I did say the flow to say Cancelled.

  • Pstork1 Profile Picture
    68,697 Most Valuable Professional on at

    The only problem I've had with using Cancelled in the past is that Power Automate will consider that a failure and send you an email that your flow failed. I normally use Succeeded, because it ends the flow, but marks it as successful. But either will work.

  • Allister1 Profile Picture
    52 on at

    Perfect. Thanks @Pstork1. I have no received the email of now from power automate. If it happens, I will update it to show "Succeeded". Thanks for all the help.

  • Pstork1 Profile Picture
    68,697 Most Valuable Professional on at

    The failure report is a periodic thing. You'll get it in about a week or so.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard