You are here: FME Workbench > About Published and Private Parameters

About Published and Private Parameters

There may be cases where you want to be able to enter or verify a value every time you run a workspace, or share a single value across multiple parameters. You can do this by defining a parameter.

Global parameters are used to enter or verify a parameter value every time you run a workspace, or share a single value across multiple transformer, reader, and writer parameters.

Parameters can include:

There are two parameter types: Published and Private.

Published or Private Parameter?

By defining a Published Parameter, you can be prompted for any information that might change when the workspace is run. This makes the workspace even more portable. All published parameters are also shown in the log file as they would appear on the command line, which allows for simpler migration of workspaces to a command-based environment.

Private Parameters are used internally, mainly to share a parameter value across multiple transformers. For example, multiple SchemaMappers may reference a single parameter for its schema mapping table dataset. You can also create parameters for username/password fields in commonly accessed database tables.

Private Parameters are nearly identical to Published Parameters, but they have the following differences:

You can always convert between parameter types by right-clicking on the parameter in the Navigator and selecting Convert to Published Parameter or Convert to Private Parameter.

Using a Parameter

Once you create a parameter, you can use it in several ways:

Examples

FMEpedia includes additional information and examples of published parameters.