DayWeekCondition DayWeekCondition

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

Condition to allow events on weekdays.

Examples

yaml
- conditions:
    - type: io.kestra.plugin.core.condition.DayWeekCondition
      dayOfWeek: "MONDAY"

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.

dayOfWeek

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

The day of week.

Outputs

Definitions

Was this page helpful?