Thursday 21 November 2013

Workflow got suspended in sharepoint 2013 document library

Uncheck option "Automatically update the workflow status to the current stage name" in sharepoint designer and try again

Also make sure you have register the workflow to the site you are deploying

Another thing you can try is, let SP timer job runs at night.  And try to run workflow again tomorrow.

ref: http://support.microsoft.com/kb/2836896

Unable to register-spworkflow

when I attempted to register workflow using command Register-SPWorkflowService –SPSite http://sharepointsite –WorkflowHostUri https://sharepointsite.domain.com:12290.  I received error http 403 forbidden.
The step that I did to resolve it:
  • I checked that automatically detect proxy has been turned off and add exception to https://sharepointsite.domain.com:12290 in proxy setting (for this to work you need to set this in internet option under system account login) it's better if you could setting the proxy to redirect every request that goes to https://sharepointsite.domain.com to this sharepointsite server
  • I also make sure that proxy has been turned off in internet options from account that run workflow service
  • make sure that windows TCP/IP redirect sharepointsite to 127.0.0.1 (using hosts file configuration)
  • Make sure that workflow account you register is present under User Profile Services. If it doesn't, try add it manually
  • Also make sure that the user which execute register-spworkflow command has access to sharepointsite
This was installed in single server (web, app & workflow).