A task can reference a parameter via the [Parm:ParameterName] syntax, or a script call to MIGetTaskParam(). The following occurs, in the order listed:
MOVEit Automation looks in the information for that task for a parameter with that name. If it is found, that task parameter is used.
If the parameter is not found in the task, MOVEit Automation looks for a global task parameter with that name and uses it if available.
If no parameter with that name is available, MOVEit Automation uses an empty string.
Uses for Global Parameters
Global task parameters can be useful when there are multiple tasks or Next Actions that use the same parameter. You can use built-in parameters to define default or common settings across multiple tasks that use built-in MOVEit Automation scripts. For example:
PGP public/private key pairs that are used to sign/encrypt PGP files. For more information, see Using Global Parameters for Keys.
ZIP process compression options.
Common "email errors to" email addresses
Types of global parameters
A built-in global parameter is the global setting for any parameter that is used by a built-in script.
If a specific built-in script parameter is validated or selected using a drop-down menu, the built-in global parameter is validated or selected in the same way.
A custom global parameter is one that you create, that is not a parameter in any built-in script.
You must always type the value of a custom global parameter. The value is never validated.
To configure a global parameter:
Select SETTINGS > Global Parameters.
Click Add Parameter and provide a Parameter Name and Value.