Metadata Fields
Metadata fields are used to provide additional information for FBL to change the action execution behavior.
Metadata fields are located on the same level as the action ID or alias and should always start with $ character. E.g.:
1
pipeline:
2
$title: Assign 'value' to ctx.field
3
ctx:
4
'$.field':
5
inline: 'value'
Copied!

$title

Title is used to make --verbose output more meaningful for the user. Instead of printing action ID or alias FBL will use the text inside the $title meta field.

$parameters

Used to assign additional, provide initial or merge with existing parameters before running the action.
1
pipeline:
2
# provide parameters.test value right to the action
3
$parameters:
4
test: true
5
ctx:
6
'$.field':
7
# reference parameters field provided inside the metadata
8
inline: $ref:parameters.test
Copied!
Last modified 3yr ago
Copy link