PropertyKeepInMultiValueValve
Note
Valve for keeping entries that matches a specific regex in a multi value property.
The resulting value is set in the 'dest' 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 source property. | Yes | Yes | |
dest | The name of the property to set/update with the result of the operation. If not specified the resulting value will be put in source (i.e source will be replaced). | No | Yes | |
regex | The regular expression. | Yes | Yes |
Example Configuration
{
"name": "PropertyKeepInMultiValueValve",
"config": {
"source":"description",
"dest":"keepdescr",
"regex":"^[^\\d].*"
}
}
Requirements
item set must have at least one entry.