I have two Farm solutions:
- Contains lists with Site scope
- Adds a list workflow to one of the lists
The problem is in the second one: it does not get updated in SP 2013.
I’ve created a new site collection (dev) . Deployed solution 1. Added a list item.
Then I switch project to the second solution. Hit F5 – debugging starts. I manually kick off the workflow and I can see debug messages in the history list. VS also stops at the breakpoints.
Then I stop debugging and make changes in the WF. Hit F5 VS2012 deploys the workflow. The feature appears in the site features list. I start WF on the item but this time VS does not stop at the breakpoints and the history list does not reflect the changes
I made in WriteToHistory component.
Basically it looks like SP runs the previous version of the WF. I tried to change version of the solution but it did help.
VS says the retraction was successful (the feature disappear from the list)
What might be the problem?
UPDATE:
This is a bug in VS2012. I found a workaround here:
http://connect.microsoft.com/VisualStudio/feedback/details/779905/sharepoint-2013-workflow-deployment-doenst-update-workflow-definition