Data models
Macros
Macros can be used to model reusable workflow parts. A macro consists of a list of actions and has input and output parameters. It can be included in a workflow (or indeed another macro) through an include action.
Macros are specified in the configuration file macros/macros.yaml.
| Property | Type | Description | 
|---|
| id (required)
 | string | A unique macro identifier | 
| name (required)
 | string | A human-readable name | 
| description (required)
 | string | A human-readable description | 
| parameters (optional)
 | array | An optional list of input and output parameters that can be accessed from outside the macro to provide arguments or to access return values, respectively. | 
| vars (optional)
 | array | An optional list of private variables that can be used inside the macro. These variables are not accessible from the outside. | 
| actions (required)
 | array | The actions to execute | 
Macro parameters
Macro parameters describe inputs and outputs of macros.
| Property | Type | Description | 
|---|
| id (required)
 | string | A unique parameter identifier | 
| name (required)
 | string | A human-readable name | 
| description (required)
 | string | A human-readable description | 
| type (required)
 | string | The type of this parameter. Valid values: input,output | 
| default (optional)
 | string | An optional default value for this parameter that will be used if a parameter value is not explicitly provided when the macro is included. |