feat(REQ-4468) - 解决转交、加签、提级审批动作后,配置回退操作,原转交、加签、提级审批的节点的人均可能不对

This commit is contained in:
wangli 2025-07-04 17:07:12 +08:00
parent 6c46e104d5
commit 62a3ec2075

View File

@ -90,7 +90,7 @@ public class EngineExecutionStartListener implements ExecutionListener {
String currentActivityId = execution.getCurrentActivityId();
String assigneeListVariableName = INTERNAL_TASK_RELATION_ASSIGNEE_LIST_INFO + currentActivityId;
if (execution.hasVariable(assigneeListVariableName)) {
// 提级审批中会操作
// 加签转交提级审批的动作会操作该变量导致回退后只用了当时被变更后的人就不符合逻辑了
execution.removeVariable(assigneeListVariableName);
}
Process mainProcess = ProcessDefinitionUtil.getBpmnModel(execution.getProcessDefinitionId()).getMainProcess();