DayWeekInMonth​Day​Week​In​Month

DayWeekInMonth DayWeekInMonth

yaml
type: "io.kestra.plugin.core.condition.DayWeekInMonth"

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

Examples

yaml
- conditions:
    - type: io.kestra.plugin.core.condition.DayWeekInMonth
      dayOfWeek: MONDAY
      dayInMonth: FIRST

Properties

date

  • Type: string
  • Dynamic: ✔️
  • Required: ✔️
  • Default: {{ trigger.date }}

The date to test.

Can be any variable or any valid ISO 8601 datetime. By default, it will use the trigger date.

dayInMonth

  • Type: string
  • Dynamic:
  • Required: ✔️
  • Possible Values:
    • FIRST
    • LAST
    • SECOND
    • THIRD
    • FOURTH

Are you looking for the first or the last day in the month?

dayOfWeek

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

The day of week.

Was this page helpful?