Merge branch 'feature/hiddenLogAutoSkip' into test
This commit is contained in:
commit
5a9d76960c
@ -190,10 +190,17 @@ public class EngineExecutionStartListener implements ExecutionListener {
|
|||||||
});
|
});
|
||||||
|
|
||||||
// 部分节点查找人时,如果不存在组织则要求隐藏日志
|
// 部分节点查找人时,如果不存在组织则要求隐藏日志
|
||||||
Boolean hiddenLog = execution.getVariable(TASK_LOG_NODE_HAS_BEEN_HIDDEN + userTask.getId(), Boolean.class);
|
Boolean hiddenLog = false;
|
||||||
|
try {
|
||||||
|
hiddenLog = execution.getVariable(TASK_LOG_NODE_HAS_BEEN_HIDDEN + userTask.getId(), Boolean.class);
|
||||||
|
log.info("查询是否是组织不存在,需要隐藏日志: {}", hiddenLog);
|
||||||
|
} catch (Exception e) {
|
||||||
|
// ignore
|
||||||
|
log.warn("查询组织不存在,需要隐藏日志异常: {}", e.getMessage(), e);
|
||||||
|
}
|
||||||
if (!Objects.equals(Boolean.TRUE, hiddenLog)) {
|
if (!Objects.equals(Boolean.TRUE, hiddenLog)) {
|
||||||
// 审批候选人为空时的兜底,
|
// 审批候选人为空时的兜底,
|
||||||
|
log.info("执行审批人为空的兜底");
|
||||||
emptyAssigneeHandle(assigners, userTask, execution, categoryVersion);
|
emptyAssigneeHandle(assigners, userTask, execution, categoryVersion);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user