feat(REQ-4468) - 解决转交、加签、提级审批动作后,配置回退操作,原转交、加签、提级审批的节点的人均可能不对
This commit is contained in:
parent
a340dc71b7
commit
6c46e104d5
@ -90,7 +90,8 @@ public class EngineExecutionStartListener implements ExecutionListener {
|
|||||||
String currentActivityId = execution.getCurrentActivityId();
|
String currentActivityId = execution.getCurrentActivityId();
|
||||||
String assigneeListVariableName = INTERNAL_TASK_RELATION_ASSIGNEE_LIST_INFO + currentActivityId;
|
String assigneeListVariableName = INTERNAL_TASK_RELATION_ASSIGNEE_LIST_INFO + currentActivityId;
|
||||||
if (execution.hasVariable(assigneeListVariableName)) {
|
if (execution.hasVariable(assigneeListVariableName)) {
|
||||||
return;
|
// 提级审批中,会操作
|
||||||
|
execution.removeVariable(assigneeListVariableName);
|
||||||
}
|
}
|
||||||
Process mainProcess = ProcessDefinitionUtil.getBpmnModel(execution.getProcessDefinitionId()).getMainProcess();
|
Process mainProcess = ProcessDefinitionUtil.getBpmnModel(execution.getProcessDefinitionId()).getMainProcess();
|
||||||
UserTask userTask = (UserTask) mainProcess.getFlowElement(currentActivityId);
|
UserTask userTask = (UserTask) mainProcess.getFlowElement(currentActivityId);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user