Skip to main content

Notifications

Community site session details
Power Automate - Building Flows
Answered

cancel approval when item was cancelled by requestor via front end

Like (0) ShareShare
ReportReport
Posted on 12 Apr 2024 03:20:50 by 20

how to cancel approval email when item was cancelled by requestor

  • Verified answer
    David_MA Profile Picture
    11,217 Super User 2025 Season 1 on 12 Apr 2024 at 18:43:30
    Re: cancel approval when item was cancelled by requestor via front end

    P.S. If you are asking to cancel the e-mail with the approval options; you cannot cancel it since it was already sent. However, when a user cancels an approval request, if the approver tries to approve something that has been cancelled, they will get a warning message notifying them. However, with the method above you can send the approvers an e-mail saying the request was cancelled.

  • David_MA Profile Picture
    11,217 Super User 2025 Season 1 on 12 Apr 2024 at 18:38:58
    Re: cancel approval when item was cancelled by requestor via front end

    To do this requires the use of a premium action, so you will need to have the appropriate licensing to use premium connectors. This is from a rather large workflow, so I will just show the pertinent section:

    David_MA_0-1712946215317.png

    After your approval, add a switch that contains the values of the approval options. You will use the default switch to handle when the requester cancels the approval. With the key part for checking if the approval was cancelled here:

    David_MA_1-1712946326961.png

    You will get the Approval from table with the Dataverse Get a row by ID action with the Approval ID. Then add a condition to check if the Status Reason is equal to 192350006. If it is, it was canceled, and you can do what you want on the yes side of the condition. I send myself an e-mail if it wasn't canceled since that would mean some other outcome that wasn't expected occurred. So far, that has never happened. 🙂

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Automate - Building Flows

#1
David_MA Profile Picture

David_MA 385 Super User 2025 Season 1

#2
stampcoin Profile Picture

stampcoin 320

#3
Michael E. Gernaey Profile Picture

Michael E. Gernaey 314 Super User 2025 Season 1

Overall leaderboard
Loading started
Loading started