OrCondition OrCondition

yaml
type: "io.kestra.core.models.conditions.types.OrCondition"

Condition to have at least one condition validated.

Examples

yaml
- conditions:
    - type: io.kestra.core.models.conditions.types.OrCondition
      conditions:
      -  type: io.kestra.core.models.conditions.types.DayWeekCondition
         dayOfWeek: "MONDAY"
      -  type: io.kestra.core.models.conditions.types.DayWeekCondition
         dayOfWeek: "SUNDAY"

Properties

conditions

  • Type: array
  • SubType: Condition
  • Dynamic:
  • Required: ✔️
  • Min items: 1

The list of conditions to validate.

If any condition is true, it will allow the event's execution.