2022.1

Table Of Contents
1. Click the Add button ( ).
2. Give the parameter a name.
3. Select the data type. This impacts the way the data can be handled in a script; for
example, if a parameter's type is Number, its value can be used directly in calculations,
without having to parse it first.
In the Parameters pane, the type of a runtime parameter can be recognized by its icon.
4. Optionally, set a default value. A default value will only be used in the case that there is
no actual value coming from the automation tool, e.g. one of the Content Creation tasks in
PlanetPress Workflow, at runtime. Since runtime parameters cannot be empty, this
prevents an error.
At design-time runtime parameters are undefined, unless you add values manually in
order to test a template. For instructions, see below.
5. Click OK.
To add multiple parameters or to set values:
1.
Click the Set Values button ( ). This opens the Set Values dialog which allows to load
JSON data.
Any previously defined runtime parameters are displayed in the dialog as a JSON object.
Parameter names appear as keys; default values appear as values.
2. Either browse to the location of a JSON file and select it, or paste/write/edit the JSON
directly in the box below the File field.
Note that JSON arrays are not supported.
3. Click OK. The keys of the JSON object appear in the Name column, the values in the
Value column.
4. For new parameters an attempt is made to derive the data type from the value, but this is
only possible to a limited extent. Double-click any new parameter to set its desired data
type.
Editing a runtime parameter
To edit a runtime parameter, either:
l Double-click the parameter; or right-click and choose Edit; or select the parameter and
click the Edit button ( ), and modify it in the Edit Parameter dialog.
Page 497