Skip to main content
The “Value Filter” transformer removes values from the entity data when they meet a specific set of conditions. This transformer is used to eliminate values that are not permitted or usable.

Fields

Accessor

A required field. The accessor selects the data to be filtered from the entity. Refer to “Accessors” for more details.

Conditions

A list of conditions that must be met for the selected value to be removed. If all conditions are satisfied, the value is removed. If the conditions are not met, the value remains.

Sample data

Accesor: Pattern: product.price Input:
{ 
    "product": { 
        "name": "example", 
        "price": 10 
    } 
} 
Output:
{ 
    "product": { 
        "name": "example" 
    } 
} 

Accesor: Pattern: product.* Input:
{ 
    "product": { 
        "name": "example", 
        "price": 10 
    } 
} 
Output:
{ 
    "product": {}
}