Wednesday, December 10, 2014

SharePoint Publishing Workflow - The workflow could not set content approval status. Enable content moderation for this list and run the workflow again.

This is regarding SharePoint Out Of Box Publishing Approval Workflow issue in SharePoint 2010.

1. Add  an Out of Box Publishing Approval workflow to a SharePoint document library (e.g Pages)
2. Create a Page and Publish the page.
3. The workflow assigns task to Content Approver to Approve/Reject the changes
4. When the Content Approver approves/rejects the page, the status is updated as Approved/Rejected.
5. But when we navigate to the page, it still shows "Waiting for approval".

The issue occurs in April 2012 CU of SharePoint 2010 (version 14.0.6120.5000). 
To fix the issue, install the higher version of CU or register older version of dll of Microsoft.Office.Workflow.Actions.dll (14.0.6108.5000in GAC

Reference
https://social.msdn.microsoft.com/Forums/sharepoint/en-US/e87c50e0-e7ed-41f0-bdb5-b16a3cf6828d/ootb-workflow-gives-error-when-user-rejects-in-the-document-in-publishing-a-major-version

No comments: