PropertyValueMapping
Note
Map values for the specified property.
Valve operates on the Current Item Set and will process all items surviving the common item filtering rules.
Properties
Name | Description | Default value | Mandatory | Supports property expansion |
---|---|---|---|---|
source | The name of the source property. | Yes | Yes | |
dest | The destination property. If not specified the resulting value will be put in source (i.e source will be replaced). | No | Yes | |
mapping_table | The mapping table. Character '|' is used to separate the from|to values. Use comma to separate multiple values. | Yes | No |
Example Configuration
{
"name": "PropertyValueMapping",
"config": {
"source":"{{item.countries}}",
"dest":"languages",
"mapping_table":"en|English,sv|Swedish"
}
}
Requirements
Item set must have at least one entry.