feat(REQ-4418) - 添加推测未来节点日志时的抄送节点配置内容
This commit is contained in:
parent
267e5faf3a
commit
f08459c0a9
@ -99,6 +99,7 @@ public class CustomCarbonCopyUserSelectorCmd extends AbstractCommand<List<BpmnTa
|
||||
params.put("processInstanceId", processInstanceId);
|
||||
params.put("carbons", carbons);
|
||||
params.put("serviceVersion", serviceVersion);
|
||||
params.put("categoryVersion", categoryVersion);
|
||||
return JSON.toJSONString(params);
|
||||
}
|
||||
|
||||
|
||||
@ -1089,11 +1089,18 @@ public class BpmnProcessInstanceServiceImpl implements BpmnProcessInstanceServic
|
||||
if (skipTaskDefinitionKeys.contains(i.getId())) {
|
||||
return;
|
||||
}
|
||||
getCarbonCopyConfigs(i).ifPresent(carbons ->
|
||||
node.setForecastAssigners(springProcessEngineConfiguration.getCommandExecutor()
|
||||
.execute(new CustomCarbonCopyUserSelectorCmd(processInstanceId, carbons,
|
||||
i, engineExecutionStartListener,
|
||||
historicTaskInstanceConverter, serviceVersion, categoryVersion))));
|
||||
if (categoryVersion < 2) {
|
||||
getCarbonCopyConfigs(i).ifPresent(carbons ->
|
||||
node.setForecastAssigners(springProcessEngineConfiguration.getCommandExecutor()
|
||||
.execute(new CustomCarbonCopyUserSelectorCmd(processInstanceId, carbons,
|
||||
i, engineExecutionStartListener,
|
||||
historicTaskInstanceConverter, serviceVersion, categoryVersion))));
|
||||
} else {
|
||||
node.setForecastAssigners(springProcessEngineConfiguration.getCommandExecutor()
|
||||
.execute(new CustomCarbonCopyUserSelectorCmd(processInstanceId, null,
|
||||
i, engineExecutionStartListener,
|
||||
historicTaskInstanceConverter, serviceVersion, categoryVersion)));
|
||||
}
|
||||
}
|
||||
|
||||
private void parseUserTask(String processInstanceId, UserTask i, ProcessNodeDetailVO
|
||||
|
||||
Loading…
Reference in New Issue
Block a user