Errors were found when compiling the workflow. The workflow files were saved but cannot run. - SharePoint 2013
Today while trying to publish the workflow, came across the weird error
"Errors were found when compiling the workflow. The workflow files were saved but cannot run."
After digging into it, came to the solution that need to Re-register service into my site using following commands:
"Errors were found when compiling the workflow. The workflow files were saved but cannot run."
After digging into it, came to the solution that need to Re-register service into my site using following commands:
Register-SPWorkflowService -SPSite 'https://my-host/mysite' -WorkflowHostUri 'https://workflowhost' -AllowOAuthHttp -Force
I reopened SharePoint Designer again and problem disappeared.
Hope this will save your time.
This article on workflow compilation errors in SharePoint 2013 is very insightful! Just like the hekate switch ensures smooth gameplay, troubleshooting these errors can help streamline your SharePoint workflows.
ReplyDelete