ConditionModel

An action condition: a single clause, or a compound of clauses combined with all / any.

  • all
    Type: array object[] | null · Allnullable

    Compound AND — the action fires only when every clause is met.

    • expression
      Type: string · Expression
      required

      Boolean expression over the event's fields, e.g. result.value > 80 AND confidence > 0.75.

    • operator
      Type: string · Operator
      required

      Name of the operator whose result this clause tests.

  • any
    Type: array object[] | null · Anynullable

    Compound OR — the action fires when any clause is met.

    • expression
      Type: string · Expression
      required

      Boolean expression over the event's fields, e.g. result.value > 80 AND confidence > 0.75.

    • operator
      Type: string · Operator
      required

      Name of the operator whose result this clause tests.

  • expression
    Type: string · Expressionnullable

    Single-clause form: the expression to evaluate.

  • operator
    Type: string · Operatornullable

    Single-clause form: the operator to test.