case LogEvent.AFTER_RULEFLOW_COMPLETED:
processEvent = (RuleFlowLogEvent) logEvent;
updateProcessLog(processEvent.getProcessInstanceId());
break;
case LogEvent.BEFORE_RULEFLOW_NODE_TRIGGERED:
RuleFlowNodeLogEvent nodeEvent = (RuleFlowNodeLogEvent) logEvent;
addNodeEnterLog(nodeEvent.getProcessInstanceId(), nodeEvent.getProcessId(), nodeEvent.getNodeInstanceId(), nodeEvent.getNodeId());
break;
case LogEvent.BEFORE_RULEFLOW_NODE_EXITED:
nodeEvent = (RuleFlowNodeLogEvent) logEvent;
addNodeExitLog(nodeEvent.getProcessInstanceId(), nodeEvent.getProcessId(), nodeEvent.getNodeInstanceId(), nodeEvent.getNodeId());
break;
default:
// ignore all other events
}
}