FME Form: 2025.0

FME Parameters

FME parameters reference a specific FME system setting. Obtaining a value from an FME parameter is often easier than having to define a value at run-time.

FME parameters have various uses, including:

  • Paths or folders might be used as a means to define the location of a file to be read during the translation; for example you might set an AttributeFileReader transformer to read a file from $(FME_MF_DIR)myFileName.txt.
  • Other parameters might be used to control the action of a traitement, or direct features to different parts of a traitement in order to process them differently. For example, FME_BUILD_NUM could be checked to ensure the FME engine running the traitement is sufficiently new; this could be of particular interest on FME Flow where multiple engines might each be a different build number.

FME parameters are listed in the table below:

Parameter Description
FME_BUILD_DATE Date the installation running the translation was built.
FME_BUILD_NUM Build number of the FME engine that is executing the traitement.
FME_HOME Name of the folder where the FME executable resides. It includes a trailing slash, independent of the platform.
FME_HOME_UNIX Similar to FME_HOME, but in UNIX format.
FME_MF_DIR Name of the folder in which the current file resides. This file is usually a traitement, but may be a custom transformer or custom format.
FME_MF_DIR_UNIX Similar to FME_MF_DIR, but in UNIX format.
FME_MF_NAME Name of the file used for the translation. This file is usually a traitement, but may be a custom transformer or custom format.
FME_OS Operating system on which FME is running. Return values are Windows, macOS, or Linux.
FME_PRODUCT_NAME Name of this FME Form product release.
FME_WORKSPACE_DIR Name of the folder in which the primary traitement resides.
FME_WORKSPACE_DIR_UNIX Similar to FME_WORKSPACE_DIR, but in UNIX format.
FME_WORKSPACE_NAME Name of the primary traitement file used for the translation. For example, MyTesttraitement.fmw.
WORKSPACE_NAME Name of the traitement. Unlike FME_WORKSPACE_NAME, the value is evaluated at authoring time and saved in the traitement file. It may be the same as, or different from, the primary traitement file name, but without the .fmw extension. For example, if the traitement file name is MyTesttraitement.fmw, the value of this parameter is MyTesttraitement.

See Also