执行审批超期逻辑异常

This commit is contained in:
guoshengxiong 2024-10-16 10:04:27 +08:00
parent f0fa9ebaa5
commit b08bebdf1c

View File

@ -46,6 +46,7 @@ public class ApprovalTimeoutServiceTask implements JavaDelegate {
public void execute(DelegateExecution execution) {
//执行审批超期逻辑
log.info("执行审批超期逻辑");
try {
FlowElement element = execution.getCurrentFlowElement();
String[] split = element.getId().split("-");
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);
break;
}
} catch (Exception e) {
log.info("执行审批超期逻辑异常:",e);
}
}
/**