Skip to content

mathComparator Condition

Refael Mizrahi edited this page Jan 27, 2022 · 2 revisions

mathComparator

The condition can be used to check if a value is grater/smaller then, or a value is in a range

  • field
  • gt (greater than)
  • gte (greater than or equal to)
  • lt (less than)
  • lte (less than or equal to)

Examples

{
  "steps": [
    {
      "if": {
        "condition": {
          "mathComparator": {
            "field": "field_name",
            "gte":"value",
            "lte":"value"
          }
        }
      }
    },
    "then": [
      {
        <processor or statement>
      }
    ]
  ]
}
Clone this wiki locally