Outdated Version of Workflow Runs After Publishing

  • 26 March 2021
  • 0 replies
  • 149 views

Userlevel 5
Badge +19
ISSUE
After publishing a new version of a workflow, an outdated version still runs.
ERROR CODE
RESOLUTION
  1. Go to List Settings > Workflow Settings.
  2. Click on Remove a Workflow.
  3. From list of the workflows and previous versions, ensure that the old versions are set to “No New Instances” and the most current is set to “Allow”.
ADDITIONAL INFORMATION
This process should automatically happen when a workflow is published. If prompted for credentials during publishing, the web application pool might have recycled and the publish might not have completed correctly.

 

Also, if the workflow is very large, the SharePoint validation routine might be unable to process the workflow. There is an option in the “Startup Options” in the workflow designer to “Publish without validation”. Checking this option will skip the validation step and publish the workflow properly.
RELATED LINKS

0 replies

Be the first to reply!

Reply