putInMapIfNotNull(data, Fields.PROCESS_DEFINITION_ID, variableEvent.getProcessDefinitionId());
putInMapIfNotNull(data, Fields.PROCESS_INSTANCE_ID, variableEvent.getProcessInstanceId());
putInMapIfNotNull(data, Fields.EXECUTION_ID, variableEvent.getExecutionId());
putInMapIfNotNull(data, Fields.VALUE, variableEvent.getVariableValue());
VariableType variableType = variableEvent.getVariableType();
if (variableType instanceof BooleanType) {
putInMapIfNotNull(data, Fields.VALUE_BOOLEAN, (Boolean) variableEvent.getVariableValue());
putInMapIfNotNull(data, Fields.VALUE, variableEvent.getVariableValue());
putInMapIfNotNull(data, Fields.VARIABLE_TYPE, TYPE_BOOLEAN);