Older version2.8 Valves PropertyPropertyReplaceValve

PropertyReplaceValve

Replace tokens in item property.

Note: This valve operates on regular item properties (string) and does NOT support binary item properties.

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 destination property. If not specified the resulting value will be put in source (i.e source will be replaced). No Yes
token The token to replace. Yes No
replacement The replacement value. (empty string is a legal value) Yes No

Example Configuration

{
    "name": "PropertyReplaceValve",
    "config": { 
        "source":"mail",
        "token":"(at)",
        "replacement":"@"
    }
}

Requirements

Item set must have at least one entry.