cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

Delete a sharepoint item in the middle of the approval flow

What happens when a sharePoint item is deleted in the middle of the approval flow waiting for approvers to respond?

8 REPLIES 8
Highlighted
Dual Super User II
Dual Super User II

Re: Delete a sharepoint item in the middle of the approval flow

Nothing really happens, but when the Approver finally approves or rejects the approval it will probably return an error message saying that the item can't be found.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
Highlighted
Super User III
Super User III

Re: Delete a sharepoint item in the middle of the approval flow

@lavint 

I agree with @Pstork1.  I believe that you'll see an error when the Flow attempts to update the SharePoint list item.

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott
Highlighted
Community Support
Community Support

Re: Delete a sharepoint item in the middle of the approval flow

Hi @lavint ,

 

 

Could you please share a screenshot of the Flow configuration?

Have you configured Delete item action in Flow?

If so, it may be that some part of the logic leads to such a situation.

Please provide more details so that we can do a more accurate analysis.

 

Best Regards,

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

Re: Delete a sharepoint item in the middle of the approval flow

Hello,

 

Doing nothing is fine but the problem is, the flow Approval center does NOT give an error message when the item does not exist anymore OR if the item is not with that user anymore.. Is there a way I can force the Approval center to show an error when the approver's decision on the approval item will no longer affect the result? 

Highlighted
Dual Super User II
Dual Super User II

Re: Delete a sharepoint item in the middle of the approval flow

1) It doesn't show an error, but clicking on it doesn't do anything either.

2) You can use Delete a CDS record to remove the Approval from the Flow Approvals tab.

3) There is no way to force the Approval center to show an error.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
Highlighted
Helper I
Helper I

Re: Delete a sharepoint item in the middle of the approval flow

Hi,

 

1) It doesn't do anything on the Sharepoint item itself, but if I click approved, it allows me to click and shows "The request is approved" on the flow approval center. This causes confusion for approvers.. Basically the person do not have an affect on the item anymore but he is able to click and thought he approved/rejected the item

 

2) How to use Delete a CDS record? It's done in the approval center?

Highlighted
Dual Super User II
Dual Super User II

Re: Delete a sharepoint item in the middle of the approval flow

1) Agreed it could be confusing.  But its just as confusing if they approve the item and then someone deletes.

2) There is an action in the Common Data Service connector that lets you Delete a Record.  When you create your approval it generates an ID in the dynamic content.  The Delete a Record takes three parameters. Environment, Entity (it would be Approvals) and the ID.  Note: Anything with CDS is a Premium feature.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
Highlighted
Helper I
Helper I

Re: Delete a sharepoint item in the middle of the approval flow

Does this CDS function delete the approval request in the APPROVAL CENTER at flow.microsoft.com?

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

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!

Top Solution Authors
Top Kudoed Authors
Users online (6,412)