Here's the scenario: I have a SP 2013 Visual studio workflow in my Staging Server. I want to replace the current workflow with the updated version. (Not add as a new version, I want to replace it)
What I have in my hand is the visual studio 2012 published WSP file.
Here are the steps that I performed:
- Removed workflow association from the list by going the workflow settings page.
- Deactivated the 'Content Type feature' (via web interface)
- Performed an IISReset
- Deactivated the 'Workflow feature' (via web interface)
- Performed an IISReset
- Uninstalled the 'Content Type feature' (via STSADM commands)
- Performed an IISReset
- Uninstalled 'Workflow feature' (via STSADM commands)
- Performed an IISReset
- Retracted and removed the workflow.wsp from the solution management.
- Performed an IISReset
Now thinking that the workflow is completely removed, I performed the following steps to add the solution:
- Added and Deployed the workflow.wsp in the Solution Management.
- Performed an IISReset
- Activated the 'Content Type feature' (via web interface)
- Performed an IISReset
- Activated the 'Workflow feature' (via web interface)
- Performed an IISReset
- Checked the List Settings > Workflow Settings for the Workflow association. It was fine.
However when I triggered the workflow, I am still getting the old workflow instance which can spotted obviously by the difference in the logic.(Incorrect tasks were getting created)
What am I missing here?