case LogEvent.BEFORE_RULEFLOW_NODE_EXITED:
nodeEvent = (RuleFlowNodeLogEvent) logEvent;
addNodeExitLog(nodeEvent.getProcessInstanceId(), nodeEvent.getProcessId(), nodeEvent.getNodeInstanceId(), nodeEvent.getNodeId(), nodeEvent.getNodeName());
break;
case LogEvent.AFTER_VARIABLE_INSTANCE_CHANGED:
RuleFlowVariableLogEvent variableEvent = (RuleFlowVariableLogEvent) logEvent;
addVariableLog(variableEvent.getProcessInstanceId(), variableEvent.getProcessId(), variableEvent.getVariableInstanceId(), variableEvent.getVariableId(), variableEvent.getObjectToString());
break;
default:
// ignore all other events
}
}