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
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
Additional context flowable V6.4.2