Tuesday, 20 May 2014

Errors were found when compiling the workflow. The workflow files were saved but cannot be run. SharePoint 2013

Recently I had come up with a strange issue when trying to publish SharePoint 2013 Workflow. The error is
 
 
After Re-registering the Workflow Service in  PowerShell using the -force parameter the error gone and the workflow published successfully.

Register-SPWorkflowService –SPSite http://sharepointsite –WorkflowHostUri http://localhost:12291 –Force