cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Scottb1
Level: Powered On

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

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. 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

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

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

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Community Support Team
Community Support Team

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

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

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Administrator
Administrator

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

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

-Gabriel
Microsoft Power Automate Community Manager
Are YOU a member of your local Power Automate User Group?
Fill out This Form to claim your Community User Group Member Badge!

Helpful resources

Announcements
firstImage

Better Together Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Kudoed Authors
Users online (9,109)