Skip to main content
Nintex Community Menu Bar

Error "The Workflow has ended unexpectedly" when workflow changes state


butlerj
Nintex Employee
Forum|alt.badge.img+20
ISSUE
When running a workflow, the workflow will enter the first state, however as soon as it tries to change state it will fail. The following error is logged in the workflow history:

The Workflow <name> has ended unexpectedly.

In ULS, the logs indicate the OWSTIMER.exe service on an Application server starting the workflow, and then failing.
ERROR CODE
RESOLUTION
  1. Locate a Web Front End server which has the Web Application service running.
  2. Open a SharePoint Management Console and run the following PowerShell command to copy workflow-related configuration from the web.config to the configuration database so it will be available from every server in the Farm.
    $webapp = Get-SPWebApplication -identity http:// $webapp.UpdateWorkflowConfigurationSetttings()
ADDITIONAL INFORMATION
This is caused by missing Workflow Manager config on the Application server.
RELATED LINKS
Translate
Did this topic help you find an answer to your question?

0 replies

Be the first to reply!

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings