1

I created new documents library in the Sharepoint online Site and new approval flow for the documents in this library.

I see in the flow's history that it ran successfully, but it doesn't change approval status of the document from Pending to Approved.

I tried to approve document from the email I got in the Outlook.

Could you please explain me, how can I fix it.

Thanks

  • Are you using flow or an SharePoint Workflow? – Johan Brännmar Aug 7 '18 at 10:17
  • Is your Content Approval on for that library? – Satyajit Paul Aug 7 '18 at 10:28
  • I'm using flow. – zigfridus Aug 7 '18 at 10:33
  • Yes, I turned on Content approval in the Versioning Settings. – zigfridus Aug 7 '18 at 10:34
  • Is version history on? Do you see the changes? Could the change of another field after the approval be setting it back to Pending? – mannaggia Aug 7 '18 at 10:55
0

I've had conversation with Microsoft support. They explained me, that default template doesn't change approval status. The solution is to add a field "Approval status 2" to the document library and add 2 operations to the Microsoft flow (one to the Yes branch and one to the No branch of the Condition). Operation should change "Approval status 2" to the Approved or Rejected.

Thank you all for your help

0

The "Start Content Approval" action (which I assume you are using) doesn't actually modify the approval status on an item. All it does is send out the email/notification, as well as gather a bunch of useful information from the responder(s).

The next thing you need to add is a condition that checks the outcome of your action (that is, so you can branch between Approved or Rejected response from the approver).

enter image description here

Based on this condition, you can then add new "Set Content Approval Status" actions. This action can be used to update to the item's approval status, based on the output of the previous "Start Content Approval" action (and yes, you will need one of these actions to approve, and one to reject).

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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