variableInstances.clear();
}
public void createOrUpdateVariableFromSerialized(String variableName, Object value, String variableTypeName, Map<String, Object> configuration,
CoreVariableScope<PersistentVariableInstance> sourceActivityExecution) {
PersistentVariableInstance variableInstance = getVariableInstance(variableName);
if (variableInstance == null) {
createVariableInstanceFromSerialized(variableName, value, variableTypeName, configuration, sourceActivityExecution);
} else {
setVariableInstanceValueFromSerialized(variableInstance, value, variableTypeName, configuration, sourceActivityExecution);