Hi,
I am trying to migrate few process instances from one version to another using migration plan
In java code when I use execute() method then it is done immediately. runtimeService.newMigration(migrationPlan) .processInstanceQuery(processQuery).execute();
But When I use executeAsync() method then I see the batch job waiting in the batches section but does not complete.
Yes code looks similar… I think I am doing something wrong in dependencies or something I am not sure. I still could not find the issue in the repository link I shared GitHub - firstpostt/camunda-demo-migration
Then camunda batch is not working properly sometimes. I am not able to recreate the issue consistently but it has something to do with the unique constraint