Skip to main content
Power Automate
    • Robotic process automation
    • Power Automate Desktop
    • Process advisor
    • AI Builder
    • Connectors
    • Templates
  • Pricing
    • Blog
    • Documentation
    • Roadmap
    • Self-paced learning
    • Webinar
    • Overview
    • Issues
    • Give feedback
    • Overview
    • Forums
    • Galleries
    • Submit ideas
    • Register
    • ·
    • Sign In
    • ·
    • Help
    Go To
    • Microsoft Power Automate Community
    • Community News
    • News & Announcements
    • Get Help with Power Automate
    • General Power Automate Discussion
    • Connecting To Data
    • Building Flows
    • Using Flows
    • Power Automate Desktop
    • AI Builder
    • Power Automate Mobile App
    • Translation Quality Feedback
    • Share, Chat, Discuss
    • Community Chat & Announcements
    • Power Automate Cookbook
    • Off Topic Discussion
    • Power Platform Integration - Better Together!
    • Power Platform Integrations
    • Power Platform and Dynamics 365 Integrations
    • Watch & Share Videos
    • Webinars and Video Gallery
    • MBAS Gallery 2019
    • MBAS Gallery 2020
    • Give Feedback & Share Ideas
    • Power Automate Ideas
    • Report Issues
    • I Found A Bug
    • Find & Join Local User Groups
    • Power Automate User Groups
    • Read & Share Blogs
    • Power Automate Community Blog
    • Community Blog Topic Suggestions
    • Community Support
    • Community Accounts & Registration
    • Using the Community
    • Community Feedback
    cancel
    Turn on suggestions
    Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
    Showing results for 
    Search instead for 
    Did you mean: 
    • Microsoft Power Automate Community
    • Watch & Share Videos
    • Webinars and Video Gallery
    • Microsoft Flow Approval Cancellation

    Microsoft Flow Approval Cancellation

    07-23-2019 10:42 AM

    Laskewitz
    MVP
    5533 Views
    LinkedIn LinkedIn Facebook Facebook Twitter Twitter
    Laskewitz
    Laskewitz
    MVP
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Email to a Friend
    • Report Inappropriate Content

    Microsoft Flow Approval Cancellation

    ‎07-23-2019 10:42 AM

    During this video, I will show you how you can cancel approvals. I will show you how this works through the UI and how to cancel through the "Update a record" action from the CDS Connector.

    watch?v=EcUdb2r-DcQ







    Did I answer your question? Mark my post as a solution!


    Proud to be a Flownaut!






    Preview file
    2377 KB
    Labels:
    • Labels:
    • Tutorials
    Message 7 of 7
    5,533 Views
    2 Kudos
    Reply
    • All posts
    • Previous Topic
    • Next Topic
    viewfile
    viewfile Advocate II
    Advocate II
    In response to Laskewitz
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Email to a Friend
    • Report Inappropriate Content

    ‎08-07-2019 06:14 AM

    I've just spotted this action has appeared - attached.  No idea how to use it yet, but looks promising!

    Preview file
    35 KB
    Message 1 of 7
    5,318 Views
    0 Kudos
    Reply
    Laskewitz
    Laskewitz
    MVP
    In response to viewfile
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Email to a Friend
    • Report Inappropriate Content

    ‎08-03-2019 03:04 AM

    @viewfile sorry for the late response. Currently the "official" Microsoft way of cancelling an approval is via the UI. There is no simple "Cancel approval" action. Maybe it will be there in the future, but for now the CDS way is the only automated way to do this. Be aware: it requires premium licensing to work with CDS.

     

    Maybe @dblyth knows more about the plans for providing a cancel approval action.







    Did I answer your question? Mark my post as a solution!


    Proud to be a Flownaut!






    Message 2 of 7
    5,362 Views
    1 Kudo
    Reply
    viewfile
    viewfile Advocate II
    Advocate II
    In response to pcmccull
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Email to a Friend
    • Report Inappropriate Content

    ‎07-31-2019 01:12 AM

    Thanks @pcmccull - I should have thought of that myself!

     

    Is using this "Cancel an approval using a record action from the CDS Connector" method the official Microsoft way of cancelling an approval in the Flow?  The previous posts from them said approvals are now "cancellable" and they were going to document it, but I've seen nothing.  This method seems to work, but I don't want to spend loads of time implementing it in lots of Flows, if a simple "Cancel Approval" action then suddenly appears from Microsoft.

     

    Thanks for the great workaround though

    Message 3 of 7
    5,402 Views
    0 Kudos
    Reply
    pcmccull
    pcmccull Advocate I
    Advocate I
    In response to viewfile
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Email to a Friend
    • Report Inappropriate Content

    ‎07-30-2019 10:46 AM

    Thank you for posting this, it's exactly what I was trying to do. However, I'm getting a Forbidden error anytime I try to update the Approval. Does this require some sort of permission change? I'm currently getting the Approval ID and saving it in a SharePoint list. Later when the Approval is reassigned to someone else, I'm trying to cancel the approval using that id. I also tried just doing it inline, so create an approval and cancel it immediately.  The error message is "Principal user is missing prvWritemsdyn_flow_approval privilege".

     

     

    @viewfile  If you switch to using "Create an Approval" instead of "Start and wait for an approval" then you could branch off of that with the left branch having a "Wait for  an approval" and on the right branch you would have access to the Approval ID in your loop. 

    Message 4 of 7
    5,422 Views
    0 Kudos
    Reply
    viewfile
    viewfile Advocate II
    Advocate II
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Email to a Friend
    • Report Inappropriate Content

    ‎07-24-2019 09:22 AM

    Hi,

    Thanks for posting this video.  However, you are manually getting the approval record identifier from the first flow and manually putting this into the second flow before running it.  Is there a way to do this within the Flow?

     

    For example, here is a simple test approval flow.  If the approver hasn't responded to the approval task after 30 minutes it'll send them an email reminder.  It'll wait 30mins and if they still haven't actioned the approval it'll send them another reminder.  It will send 3 reminder emails and if it's still not actioned then we want to cancel the approval task.

    Cancel a reminder with notes.png

    How do we get the approval record identifier of the approval task so we can put that into a CDS connector as in your method in this place in the flow?

     

    Hope this makes sense and thanks in advance for any help.

    Message 5 of 7
    5,494 Views
    2 Kudos
    Reply
    GabrielStJohn
    Administrator GabrielStJohn
    Administrator
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Email to a Friend
    • Report Inappropriate Content

    ‎07-23-2019 03:58 PM

    Hey, @Laskewitz!

    This is a great video! Thanks so much for posting! 

    Happy Flowing! 

    - Gabriel
    Community Manager
    Power Automate | Power Virtual Agents
    Super User Program Manager
    Power Platform Communities
    • CM
    Message 6 of 7
    5,520 Views
    0 Kudos
    Reply

    Power Platform

    • Overview
    • Power BI
    • Power Apps
    • Power Automate
    • Power Virtual Agents
    • Sign up free
    • Sign in

    Browse

    • Templates
    • Connectors
    • Partners

    Downloads

    • Mobile
    • Gateway

    Learn

    • Documentation
    • Learn
    • Support
    • Community
    • Give feedback
    • Blog
    • Pricing
    • © 2021 Microsoft
    • Twitter
    • RSS Feed
    • YouTube
    • Contact us
    • Trademarks
    • Privacy & cookies
    • Manage cookies
    • Terms of use
    • Terms & conditions