1

I have a SharePoint list. A group of managers (5 people) have approval rights on the list. A larger group of contributors will submit new items to that list, and the Power Automate I have setup is a Single Approver workflow. Not all managers need to approve every item, only the contributor's direct manager needs to approve it. However, if one of the other managers goes to the SharePoint list and sees that there are 10 pending items (perhaps for his employee or perhaps not) and approves them all, then my flow will never finish because it wasn't approved by a direct manager.

I do not want to do a flow with multiple approvers (first to respond) because I do not want to send all of those emails to all managers in every case. Unless its possible to begin an approval process but not send an email? Haven't found anything to that effect.

How can I modify the standard Single Approver workflow to cancel the approval if one of the other managers has approved the item?

1 Answer 1

0

It is not supported to cancel an approval once it is initiate via a flow for the time being.

Here is a UserVoice post you can vote if that is something you need as well: Create a way to remove approval cards in pending send requests when the flow has been cancelled.

--

In addition, there is a workaround introduced in this post to cancel the approval request by deleting the record in Common Data Service (CDS):

https://sharepains.com/2019/06/13/cancel-your-pending-approvals-in-microsoft-flow/

It is not an idea solution since it requires Premium Microsoft Flow Plan and messing with CDS directly might cause problem in production environment. But you can take a look if needed.

2
  • Thanks for your reply. I am able to setup the part to delete from CDS, I just don't know how to run a continuous/repeated check to see if the item has been approved.
    – Jen
    Jan 8, 2021 at 15:25
  • @Jen You can build another flow to do that. Trigger the flow using schedule, repeat every 5 minutes for example. If the approval status is “Approved” then execute the second flow to delete the approval request. A reference in case you need it: flow.microsoft.com/en-us/blog/… Jan 11, 2021 at 2:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.