I have a custom sequential workflow that works fine when deployed from Visual Studio in my development environment.
To deploy to the test environment I follow the following procedure
- Deactivate feature
- retract solution
- remove solution
- add-spsolution using powershell and path to new solution file
- deploy solution
- Activate solution in the site collection
My changes however are never picked up. I've tried to recycle the SPTimer service as well as W3WP. And changed the workflow from WebApplication deployment to GAC deployment.
None seem to make a difference.
I did notice that after deployment on the test machine I dont get workflowInstanceID issues if I refresh the page on an old version of the workflow but I do on my dev environment so to me thats showing some caching. Any idea how to resolve the issue?
Update I've also tried renaming the workflows within the same package to try to force a new workflow to show up however that failed too. I've got time scheduled today to try a new GUID for the workflows but that's going to be a pain to update each deployment.