Thursday, 5 May 2016

Troubleshooting of SharePoint 2013 Workflow




1.    User Profile Service
2.       App Management Service
3.       Managed Metadata services
4.       Workflow Proxy Services Connected
5.       Association of workflow services with targeted  Web Application

6.       Register-SPWorkflowService -SPSite http://site:port/ –WorkflowHostUri http://wfm1:12291/ –AllowOAuthHttp


7.       Make sure the “http://wfm1:12291/”  services is running and Status is Active


8.       get-WFStatus using powershell


   if not active or connected then  Verify that all the following Windows NT services are running if not then start or restart:
a.     WorkflowServiceBackend
b.     Service Bus Backend
c.     Service Bus Gateway
d.     FabricHostSvc
e.     Windows Fabric App


IF error à unable to properly communicate with the workflow service or  Create designer WF for testing. When you trying to publishing the designer WF. It will throw Scope State Error
Try to re-register proxy with scope name
Register-SPWorkflowService -SPSite http://sit:port/ –WorkflowHostUri http://wfm1:12291/ –AllowOAuthHttp –Force -ScopeName “SharePoint”

IF workflow  getting Suspended or Workflow getting Automatically Cancelled or getting Token Issue.

Refresh “Trusted Security Token Services Metadata feed” Timer job.


No comments:

Post a Comment