}
}
public void setVariableInstanceValueFromSerialized(PersistentVariableInstance variableInstance, Object value, String variableTypeName,
Map<String, Object> configuration, CoreVariableScope<PersistentVariableInstance> sourceActivityExecution) {
VariableInstanceEntity variableInstanceEntity = (VariableInstanceEntity) variableInstance;
if (!canStoreSerializedValue(variableInstanceEntity, value, configuration)) {
clearForNewValue(variableInstanceEntity, getVariableTypeByName(variableTypeName));
}
variableInstanceEntity.setValueFromSerialized(value, configuration);
// fire UPDATE event
if(isAutoFireHistoryEvents()) {
fireHistoricVariableInstanceUpdate(variableInstanceEntity, sourceActivityExecution);
}