PropertyContainsValve

Valve for checking if a property contains a specific token.

If one or more values of the property contains the token, the destination property is set to "true", otherwise "false".

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 property. Yes Yes
dest The name of the property to set/update with the result of the operation. Yes Yes
token The token to look for. Yes Yes

Example Configuration

{
    "name": "PropertyContainsValve",
    "config": { 
       "source":"memberOf",
       "dest":"group",
       "token":"CN=SMS,OU=OTP,OU=Groups,DC=comp,DC=local"
    }
}

Requirements

Item set must have at least one entry.