FME Transformers: 2024.1



Fetches the specified environment variable and includes it in a new attribute.

Environment variables are convenient especially if certain standard folders and parameters need to be referenced in a workspace, but the actual locations or names can vary from computer to computer.

The available variables will depend on which platform you are using. 

Within an FME workspace you could use the value retrieved to:

  • Define the output location of a dataset (in conjunction with Feature Type Fanout, which is described in the FME Workbench help files)
  • Define the location of a file for the AttributeFileWriter or AttributeFileReader
  • Define the location of a workspace to run with the WorkspaceRunner
  • Write the value to some type of metadata output



Editing Transformer Parameters

Transformer parameters can be set by directly entering values, using expressions, or referencing other elements in the workspace such as attribute values or user parameters. Various editors and context menus are available to assist. To see what is available, click beside the applicable parameter.

For more information, see Transformer Parameter Menu Options.

Transformer History

This transformer has been renamed from EnvironmentVariableRetriever.

FME Community

The FME Community is the place for demos, how-tos, articles, FAQs, and more. Get answers to your questions, learn from other users, and suggest, vote, and comment on new features.

Search for all results about the EnvironmentVariableFetcher on the FME Community.

Keywords: EnvironmentVariableRetriever