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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How user can cancel po...
Power Automate
Answered

How user can cancel power-automate approval task when if trigger on item modified

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi All,

I have created a power-automate approval flow which trigger on file modified and created.

As a user i need to have ability to cancel the flow. currently it is using service account so end user will not have option to cancel the flow.

Any suggestion 

i tried below link seems like it not recommended by Microsoft 

https://sharepains.com/2019/06/13/cancel-your-pending-approvals-in-microsoft-flow/ 

Categories:
  • JohnAageAnderse Profile Picture
    1,986 on at

    Hello @Anonymous 

     

    Use the Start and wait for an approval with Approval type = Custom Responses ...

    Then add the needed response options and one for Cancel.

    This will allow your flow to react when the user chooses the Cancel option 🙂 See example below.

    Flow.Approval that can be cancelled.png

    Kind regards, John

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi 

     

    Thanks for your reply, i am trying to give user flexibility to cancel a flow which he/she initiated on item modified.

    As user can't use cancel button  option from flow portal because flow is initiated my service account on item modified.

     

     

    111.png

     
     

     

  • Verified answer
    eliotcole Profile Picture
    4,441 Moderator on at

    Yes, but you can pass approval and / or cancellation messages through email and even teams (with work).

     

    However I think what @JohnAageAnderse was suggesting, @Anonymous , was that you create a separate approval within the context of their modification.

     

    So, if I modify an item, then it will not only fire the normal approval to whomever you require, but also a separate approval using the user data that you take from the 'modified' trigger. That will then send ME an approval which basically amounts to asking me "do you want to cancel this?"

     

    That can then (you can work out the logic 😉 ...) go back in to the flow, and if the main approver still hasn't responded, then the flow is cancelled because the user had second thoughts.

     

    Does any of that make sense?

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 289

#2
11manish Profile Picture

11manish 288 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 125

Last 30 days Overall leaderboard