Logic Trigger

Combines multiple triggers using boolean operators.

Format

{
  "Type": "LogicTrigger",
  "Config": {
      "Operation": <enum>,
      "Negate": <bool>,
      "Triggers": [<Trigger>],
  }
}

Variables

Operation

Determines how to combine the Triggers.

Allowed values: "And", "Or"

Required: No
Default value:

"And"

Example:

"Operation": "Or"

Negate

Determines if the combined value is negated.

Required: No
Default value:

false

Example:

"Negate": true

Triggers

List of Triggers to combine the values of.

Required: Yes
Default value:

[]

Example:

"Triggers": [
  {...},
  {...}
]

Examples