You are here: FME Transformers > Infrastructure > VariableSetter

VariableSetter

Creates and sets the specified variable to the specified value.

The variable can later be read back into an attribute using the VariableRetriever transformer.

The 'Variable Scope' parameter specifies whether the scope of this variable is Global or Local.  Globally-scoped variables can be accessed by a VariableRetriever anywhere in the workspace, whereas locally-scoped transformers can only be accessed within the custom transformer they are created in.

Editing Transformer Parameters

Using a set of menu options, transformer parameters can be assigned by referencing other elements in the workspace. More advanced functions, such as an advanced editor and an arithmetic editor, are also available in some transformers. To access a menu of these options, click beside the applicable parameter. For more information, see Transformer Parameter Menu Options.

Transformer Categories

Infrastructure

Search FMEpedia Knowledge Base

Search for samples and information about this transformer on FMEpedia.

Keywords: GlobalVariableSetter