I have a workflow that I am creating in SharePoint Designer 2010. The issue I am running into is every time I publish a new version of the workflow, an older version keeps running. I have tried removing all instances of the workflow and then republishing the workflow, but it keeps returning a variable that no longer exists to my log. Any help would be appreciated.
Every time you publish a workflow, it will throw all the instances of that workflow to an old version. Check your local variables and association variables. Also, try to close SP Designer completely and connect back to the site, open the workflow, and publish again.