AddFields
Transformation which adds field to an output record. The path of the added field can be nested.
- type:
object - required:
["type","fields"]
type
- Required: Yes
- type:
string - enum:
["AddFields"]
fields
List of transformations (path and corresponding value) that will be added to the record.
-
Required: Yes
-
type:
array -
items:
- Allowed type:
AddedFieldDefinition
- Allowed type:
condition
Fields will be added if expression is evaluated to True.
- Required: No
- type:
string - default: ``
- Available variables:
config,property,parameters
Examples:
{{ property|string == '' }}
{{ property is integer }}
{{ property|length > 5 }}
{{ property == 'some_string_to_match' }}
$parameters
- Required: No
- type:
object