Property description

The attributeComparatorFilter clause filters objects by comparing attribute values using expressions.

Minimal JSON

{
  "type": "attributeComparatorFilter",
  "value" : ""
}

Example JSON

{
  "type": "attributeComparatorFilter",
  "value" : "{attributeTypeKey(cust_package_deadline)} = {currentUtcDate}.addDays(-7)"
}

Nested properties

PropertyDescriptionValuesMandatory
typeattributeComparatorFilterstringYes
valueComparison of two values represented by expressions.stringYes

Supported values

Apart from expressions, you can also use mathematical and datetime functions in the value as the following operators are supported:

  • >: Greater than
  • >=: Greater than or equal to
  • =: Equal to
  • !=: Not equal to
  • <=: Less than or equal to
  • <: Less than