cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
lavint
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
Pstork1
Dual Super User III
Dual Super User III

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.
ScottShearer
Super User III
Super User III

@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
v-bacao-msft
Community Support
Community Support

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.

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? 

Pstork1
Dual Super User III
Dual Super User III

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.

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?

Pstork1
Dual Super User III
Dual Super User III

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.

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

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (2,091)