ConfigRemapField
Transformation that remaps a field's value to another value based on a static map.
- type:
object - required:
["type","map","field_path"]
type
- Required: Yes
- type:
string - enum:
["ConfigRemapField"]
map
A mapping of original values to new values. When a field value matches a key in this map, it will be replaced with the corresponding value.
- Required: Yes
- type:
["object","string"] - Available variables:
config
Examples:
pending: in_progress
done: completed
cancelled: terminated
{{ config['status_mapping'] }}
field_path
The path to the field whose value should be remapped. Specified as a list of path components to navigate through nested objects.
- Required: Yes
- type:
array - Available variables:
config
Examples:
- status
- data
- status
- data
- '{{ config.name }}'
- status
- data
- '*'
- status
-
items:
- type:
string
- type: