Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

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 

 

  • Pstork1 Profile Picture
    65,999 Most Valuable Professional on at
    Re: Cancel a flow when the approval request is cancelled

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

  • Allister1 Profile Picture
    52 on at
    Re: Cancel a flow when the approval request is cancelled

    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
    65,999 Most Valuable Professional on at
    Re: Cancel a flow when the approval request is cancelled

    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
    Re: Cancel a flow when the approval request is cancelled

    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.

  • Allister1 Profile Picture
    52 on at
    Re: Cancel a flow when the approval request is cancelled

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

    Allister1_0-1713895336979.png

     

  • Verified answer
    Pstork1 Profile Picture
    65,999 Most Valuable Professional on at
    Re: Cancel a flow when the approval request is cancelled

    Something like this after the Approval.

    image.png

  • Allister1 Profile Picture
    52 on at
    Re: Cancel a flow when the approval request is cancelled

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

  • Pstork1 Profile Picture
    65,999 Most Valuable Professional on at
    Re: Cancel a flow when the approval request is cancelled

    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
    Re: Cancel a flow when the approval request is cancelled

    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
    65,999 Most Valuable Professional on at
    Re: Cancel a flow when the approval request is cancelled

    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.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,658 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,999 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow