My colleague Ingo just finished a new cockpit plugin allowing to easily migrate a running process instance to a new version of the process definition:
You can find the sources of the plugin on GitHub:
If you want to build some migration scrips (as customers often do) you can easily cherry-pick some code from the plugin to apply it yourself, see ProcessInstanceMigrationResource.java for the core functionality). By doing so you can e.g. migrate a bunch of instances in one go – and adjust some variables on the way (as new versions might require new data).
Please note that version migration has limitations and risks – we collected them in the README. We used an unsupported internal Command. The whole plugin is not part of the supported product, so there is no warranty of any kind. In short: Please read the limitations carefully and test migrations before you apply them in big scale on your live instances!