flowable / flowable-engine

A compact and highly efficient workflow and Business Process Management (BPM) platform for developers, system admins and business users.
https://www.flowable.org
Apache License 2.0
8k stars 2.62k forks source link

Process definition id of an async external worker service task job is not updated after direct migration #3894

Closed basclaessen closed 4 months ago

basclaessen commented 6 months ago

Describe the bug When a process instance with an async external worker service task is migrated using direct migration, the process definition id of the external worker service task job is not updated with the process definition id of the new process definition.

Expected behavior The process definition id of the migrated external worker service task job should contain the process definition id of the new process definition.

Code I'll add a pull request with a test case.

Additional context main branch flowable-release-7.0.0 branch flowable-release-7.1.0 branch

caused by e82e4d4859a05431489657192f16f49e27f71e1b Add support for direct migration for async service tasks in process migration 9cf6db198f6f0150dd47a1a64c5480e11ac0c3e0 Add support for direct migration for async service tasks in process migration

basclaessen commented 5 months ago

@tijsrademakers Can you take a look at my PR and if you agree merge it before the next Flowable release please?

tijsrademakers commented 4 months ago

@basclaessen , thanks for providing the PR, we've merged it