Older versionPhenixID server 2.3 Valves PropertyPropertyRemoveFromMultiValueValve

PropertyRemoveFromMultiValueValve

Valve for removing entries that matches a specific regex from a multivalue 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 name of the first 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",
              "regex":"[a-zA-Z]{3}"
        }
}

Requirements

item set must have at least one entry.