Parameters
Parameters are key value pairs that can modify the behaviour of an engine during workflow execution. The workflow is typically unaware of these parameters, and they are set by the user when creating or updating an engine in Workbench or when submitting a workflow run.
Parameters can do everything from setting the log level of the engine to specifying a different destination for the outputs of the workflow. Each engine supports a different set of parameters that are described in the relevant engine documentation.
Parameter Sets
You can define common parameter sets for engines in Workbench directly from the engines parameter page to prevent you from having to define them every time you configure a run. These sets are not submitted automatically with workflow runs, but they can be selected when submitting the run from the engine tab.
Each engine can have multiple parameter sets, allowing you to easily switch between different configurations depending on your needs.
Viewing Parameter Sets
Since every engine has its own presets you will need to navigate to the engine you want to view the parameter sets for. You can follow these steps to view the parameter sets:
Navigate to the Engines Page
Select the engine you want to view the presets for
Click on the Parameters tab
You will see a list of presets for the engine
Click on a preset to view the parameter values or change the name of the preset
Creating a Parameter Sets
Every parameter set consists of a name and a set of key-value pairs that define the parameters for the engine. You can create a new preset by following these steps:
Navigate to the Engines Page
Select the engine you want to create a preset for
Click on the Parameters tab
Click on the
Add Parameter Set
buttonEnter a name for the preset
Enter the key-value pairs for the parameters you want to set as JSON in the editor
click on the
Save
button
Default Preset
You can select on of the presets as the default preset. This preset will be automatically selected when submitting a workflow run form the User interface. It will not be applied automatically.
Navigate to the Engines Page
Select the engine you want to set the default preset for
Click on the Parameters tab
Hover over the preset you want to set as the default
Click on the star icon to set the preset as the default
Deleting a Parameter Set
You can easily delete a parameter set by following these steps:
Navigate to the Engines Page
Select the engine you want to delete a preset for
Click on the Parameters tab
Hover over the preset you want to delete
Click on the trash icon to delete the preset
Last updated