Older version3.2 ValvesPropertyPropertyRemoveFromMultiValueValve

PropertyRemoveFromMultiValueValve

Valve for removing entries from a multi value property that matches a specific regex.

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 name of 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 the source property (i.e source will be replaced). No Yes
regex The regular expression. Yes Yes

Example Configuration

{
    "name": "PropertyRemoveFromMultiValueValve",
    "config": { 
        "source":"givenName",
        "dest":"removedfromgiven",
        "regex":"[a-zA-Z]{3}"
    }
}

Requirements

item set must have at least one entry.