执行审批超期逻辑异常
This commit is contained in:
parent
f0fa9ebaa5
commit
b08bebdf1c
@ -46,6 +46,7 @@ public class ApprovalTimeoutServiceTask implements JavaDelegate {
|
|||||||
public void execute(DelegateExecution execution) {
|
public void execute(DelegateExecution execution) {
|
||||||
//执行审批超期逻辑
|
//执行审批超期逻辑
|
||||||
log.info("执行审批超期逻辑");
|
log.info("执行审批超期逻辑");
|
||||||
|
try {
|
||||||
FlowElement element = execution.getCurrentFlowElement();
|
FlowElement element = execution.getCurrentFlowElement();
|
||||||
String[] split = element.getId().split("-");
|
String[] split = element.getId().split("-");
|
||||||
Map variable = execution.getVariable(WflowGlobalVarDef.WFLOW_NODE_PROPS, Map.class);
|
Map variable = execution.getVariable(WflowGlobalVarDef.WFLOW_NODE_PROPS, Map.class);
|
||||||
@ -63,6 +64,9 @@ public class ApprovalTimeoutServiceTask implements JavaDelegate {
|
|||||||
handlerApprovalTask(execution.getProcessInstanceId(), split[0], false);
|
handlerApprovalTask(execution.getProcessInstanceId(), split[0], false);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
} catch (Exception e) {
|
||||||
|
log.info("执行审批超期逻辑异常:",e);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user