Set Variables with YAML
YAML parameters for Set Variables
Name | Type | Description |
---|---|---|
action Required | String | The name of the action. |
type Required | String | The type of the action. Should be set to SET_VARIABLES . |
variables Required | Variable[] | The list of existing settable variables. |
key Required | String | The name of the variable. |
defaults | String | The value of the variable. |
encrypted | Boolean | Encrypted values will not be visible once saved. Can be used for things like passwords. |
init_path | String | Path to the file with options. |
comment | String | The custom comment that will be displayed upon passing arguments. |
YAML example for Set Variables
actions:
- action: "Set Variables"
type: "SET_VARIABLES"
comment: "comment"
variables:
- key: "var1"
type: "VAR"
- key: "var2"
type: "VAR"
defaults: "option1\noption2"
- key: "var3"
type: "VAR"
init_path: "/fileWithOptions"
- key: "var4"
type: "VAR"
Last modified on February 15, 2023