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 / Approval Panel - Doesn...
Power Automate
Answered

Approval Panel - Doesn't update if a document is deleted before approval

(0) ShareShare
ReportReport
Posted on by 8

I have developed a flow that uses the trigger "When a file is modified or created" in a document library and it has an approval further down the flow that runs when a certain value in a custom meta data column is selected. During testing I've found that if you delete a file after an approval has been started the approval still shows in the approvers 'approval panel' and it acts as if the document still exists. Is this functionality intended & is there any way to delete the approval if the associated document is deleted? 

Althought someone shouldn't delete a file once it has been sent from approval I am not ultimately in control of other users actions and it is a possibility that they dont follow the correct procedure. 

Categories:
I have the same question (0)
  • Verified answer
    v-yamao-msft Profile Picture
    Microsoft Employee on at

    Hi @Scottb1,

     

    It is a default behavior for flow that once an approval request is sent, the flow will keep on running until a response is given, though the file that triggered the flow has been deleted.

    If you would like a feature to delete the approval if the associated document is deleted, please submit a request on Flow Ideas Forum:

    https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

    Besides, if you want to restrict users’ behavior, you could specify permission level to users in SharePoint, please take the following doc for a reference:

    https://docs.microsoft.com/en-us/sharepoint/understanding-permission-levels 

     

    Best regards,

    Mabel

  • GabrielStJohn Profile Picture
    Microsoft Employee on at

    Hello, @Scottb1!

    Thank you for posting on the Flow Community Forum! Have you had an opportunity to apply @v-yamao-msft‘s recommendation to adapt your Flow? If yes, and you find that solution to be satisfactory, please go ahead and click “Accept as Solution” so that this thread will be marked for other users to easily identify!

    Thank you for being an active member of the Flow Community!

    -Gabriel
    Flow Community Manager

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 550

#2
Valantis Profile Picture

Valantis 390

#3
11manish Profile Picture

11manish 348

Last 30 days Overall leaderboard