hi every body.
I created a state machine workflow using visual studio 2013 for SharePoint 2013 and it's work fine, but i have a big problem for changing and modifying workflow.
When I change the workflow that there are some running or completed instances, all the previous tasks and workflow histories are removed!!
How I resolve this problem ??