SharePoint Designer workflow does not change after publishing

I am working on SharePoint Workflow (SharePoint 2010) in SharePoint designer 2010. I have been published many times without a problem. But after many of them publish (I'm 30), SharePoint stops changing in the workflow (I published it without any errors, and I can find the new version of the workflow in the SharePoint web interface).

I published a new version (with new commands), but the workflow is still using the old one. But when I modified one of the commands that was in the workflow, the earlier modification will appear in the next run. I need to add new workflow work teams. My only option is to rewrite the entire workflow to a new one. But this is a complex workflow, and rewriting takes a lot of time. Is this normal behavior? It's some kind of mistake? is there any patch or workaround?

+7
workflow sharepoint sharepoint-2010 sharepoint-designer
source share
2 answers

This happens most of the time due to the caching mechanism in SharePoint / SharePoint Designer. What you need to do is the following:

  • Close your SharePoint Designer
  • Browse to the following directory:% USERPROFILE% \ AppData \ Local \ Microsoft \ WebsiteCache
  • Delete everything in this directory
  • Change to the following directory:% APPDATA% \ Microsoft \ Web Server Extensions \ Cache
  • Delete everything in this directory
  • Open SharePoint Designer and try publishing the workflow again.

Now everything should work.

For SharePoint Designer 2013, you must complete the following steps:

  • Go to File> Options> General> Application Settings
  • On the General tab, under the General heading, verify that the "Cache site data in SharePoint Designer sessions" checkbox is checked. If so, uncheck it.
  • Open your SharePoint designer again and try publishing your workflows.
+16
source share

There is an easy way: you need to enable basic version control for the Workflows list. By default, this list is not displayed, but you can go to the admin page:

  • Open constructor SP
  • Go to all files
  • Right-click workflow list -> Properties
  • On the ribbon, click "Administration Web Page"
  • On the administration page, go to version control settings
  • Enabling Basic Versioning
  • Save workflow
+1
source share

All Articles