PropertyMultiValueDiffValve

Compares two multi value properties (source_1 & source_2) and puts the values from the first one, that doesn't exist in the second one, in a third property (dest).

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_1 The name of the first source property. Yes Yes
source_2 The name of the second 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_1 property (i.e source_1 will be replaced). No Yes

Example Configuration

{
    "name": "PropertyMultiValueDiffValve",
    "config": { 
        "source_1":"description", 
        "source_2":"carLicense",
        "dest":"match_prop"
    }
}

The valve will compare all values in 'description' against the values in 'carLicense'. Missing values in 'carLicense' will be added to 'match_prop'. 

Requirements

item set must have at least one entry.