public void setVariableLocalTransient(String variableName, Object value) {
    TypedValue typedValue = Variables.untypedValue(value, true);

    checkJavaSerialization(variableName, typedValue);

    CoreVariableInstance coreVariableInstance = getVariableInstanceFactory().build(variableName, typedValue, true);
    getVariableStore().addVariable(coreVariableInstance);
  }
public void setVariableLocalTransient ( String variableName , Object value ) { TypedValue typedValue = Variables . untypedValue ( value , true ) ; checkJavaSerialization ( variableName , typedValue ) ; CoreVariableInstance coreVariableInstance = getVariableInstanceFactory ( ) . build ( variableName , typedValue , true ) ; getVariableStore ( ) . addVariable ( coreVariableInstance ) ; }
Sets a variable in the local scope. In contrast to
{@link #setVariableLocal(String, Object)}, the variable is transient that
means it will not be stored in the data base. For example, a transient
variable can be used for a result variable that is only available for
output mapping.