Older versionPhenixID server 2.6PropertyPropertyKeepInMultiValueValve

PropertyKeepInMultiValueValve

Valve for keeping entries that matches a specific regex in 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 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",
              "regex":"^[^\\d].*"
        }
}

Requirements

item set must have at least one entry.