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
7.8k stars 2.59k forks source link

No matter who initiates the process, the handler of the first task node will become a specific person #3160

Open lianganjian opened 2 years ago

lianganjian commented 2 years ago

Describe the bug When the system runs for a period of time, I use the method(runtimeService.startProcessInstanceByKey(data.getProcDefKey(),businessKey,variables);) to initiate a process, the assignee of the first node in the cached model data becomes a fixed personnel ID, but I set a variable in the process model.

Expected behavior No matter who initiates the process, the handler of the first task node will become a specific person

Code image

Additional context flowable V6.4.2

lianganjian commented 2 years ago

When will the assignee of cached model data be modified, i have no idea.