Some time ago we started using the MigrationPlan within our application to handle migrations automatically. This worked fine up until today when we discovered an issue and we were wondering if this is by-design or a bug. In short: if you update a candidate group, existing tasks don’t get the new candidate group but keep the old one.
Lets say in process V1 we have a task: Compose Letter. This task has a candidate group: ‘writer’. Now we want to release process V2. In V2 we still have the task ‘Compose Letter’ but we have changed the candidate group to ‘editors’. The migration using the MigrationPlan goes fine but after the migration, the ‘Compose Letter’ tasks that were started on V1 (but are on V2 now) still have the old candidate group, namely ‘writer’ and aren’t migrated to use the new ‘editors’ group. Is this by design?
Kind regards,
Bob
Edit: We use camunda-bpm-spring-boot-starter-bom
v2.2.0.