🚀 New! Kestra raises $3 million to grow Learn more

DayWeekCondition DayWeekCondition

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

Condition for allows events on weekdays

Examples

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

Properties

date

  • Type: string
  • Dynamic: ✔️
  • Required: ✔️
  • Default: null

The date to test

Can be any variable or any valid ISO 8601 datetime, default will use null

dayOfWeek

  • Type: string
  • Dynamic:
  • Required: ✔️
  • Possible Values:
    • MONDAY
    • TUESDAY
    • WEDNESDAY
    • THURSDAY
    • FRIDAY
    • SATURDAY
    • SUNDAY

The day of week