DayWeekInMonthCondition

type: "io.kestra.core.models.conditions.types.DayWeekInMonthCondition"

Condition for allows events on weekdays relative to current month (first, last, ...)

# Examples

- conditions:
    - type: io.kestra.core.models.conditions.types.DayWeekInMonthCondition
      dayOfWeek: MONDAY
      dayInMonth: FIRST

# Properties

# date

  • Type: string
  • Dynamic: ✔️
  • Required: ✔️
  • Default: {{ now(format="iso_local_date") }}

The date to test

Can be any variable or any valid ISO 8601 datetime, default will use {{ now(format="iso_local_date") }}

# dayInMonth

  • Type: string

  • Dynamic:

  • Required: ✔️

  • Possible Values:

    • FIRST
    • LAST
    • SECOND
    • THIRD
    • FOURTH

Are you looking at first or last day in month

# dayOfWeek

  • Type: string

  • Dynamic:

  • Required: ✔️

  • Possible Values:

    • MONDAY
    • TUESDAY
    • WEDNESDAY
    • THURSDAY
    • FRIDAY
    • SATURDAY
    • SUNDAY

The day of week