Older version2.8 ValvesItemItemMatchAndMergeValve

ItemMatchAndMergeValve

Valve for merging items with equal value in configured property. Only configured properties will be merged. Other properties will remain with the value from the first item.

If a configured property already exist, additional values will be added and the property will become multi value.

The valve provides the same functionality as the AAM/PIP action ‘Merge objects and selected attributes’.

Properties

Name Description Default value Mandatory Supports property expansion
matchingProperty Property to use for matching. Yes No
mergeProperties Properties to merge. Yes No

Example Configuration

{      
  "name": "ItemMatchAndMergeValve",
  "enabled": "true",
  "config": {
    "matchingProperty": "uid",
    "mergeProperties": "sn,givenName,mobile,mail"
  }
}

In the example above, if the property uid equals jdoe from two different sources/items, the configured "mergeProperties" will be merged into one item.

Requirements