none
How to build an "Everyone Must Approve" approval workflow with Logic Apps? RRS feed

  • Question

  • Hi

    I would like to know how to build an Approval Workflow with Logic Apps that waits for all recipients to "Approve" (or "Reject") before the request can be approved/rejected and the workflow continues. 

    In my workflow I am using the "Send approval email" action to send an approval email to all recipients, but as far as I can see only one recipient is required to "Approve" (or "Reject") the request for the workflow to continue.

    Microsoft Flow has the "Start an approval" action which has an "Approval Type" where the developer can select the "Everyone from the assigned list" option: https://docs.microsoft.com/en-us/flow/all-assigned-must-approve

    Is it possible to configure the Logic Apps "Send approval email" action to approve a request only if everyone approves, and reject the request if a single person rejects it?

    Alternatively, are there any patterns that you can recommended for implementing this type of workflow?

    Thanks
    Andy

    Wednesday, August 14, 2019 9:58 AM

All replies

  • Apparently not. The Send Approval Email only returns the "SelectedOption" user response. The webhook does not return anything else. Microsoft Flow apparently has another API it uses to wait on all the responses before calling back into Flow (Logic Apps).

    Blog | <a href="http://www.sharepointfieldnotes.blogspot.com">SharePoint Field Notes</a> Dev Tools | <a href="http://visualstudiogallery.msdn.microsoft.com/9e03d0f5-f931-4125-a5d1-7c1529554fbd"> SPFastDeploy</a> | <a href="http://bit.ly/1cpgILA">SPRemoteAPIExplorer</a>|<a href="http://bit.ly/29ijZWo">SPRemoteAPI (VSCode)</a>

    Wednesday, August 14, 2019 9:53 PM