TimeBetween TimeBetween

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

Condition to allow events between two specific times.

Examples

yaml
- conditions:
    - type: io.kestra.plugin.core.condition.TimeBetween
      after: "16:19:12+02:00"

Properties

date

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

The time to test.

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

after

  • Type: string
  • Dynamic:
  • Required:
  • Format: time

The time to test must be after this one.

Must be a valid ISO 8601 time with offset.

before

  • Type: string
  • Dynamic:
  • Required:
  • Format: time

The time to test must be before this one.

Must be a valid ISO 8601 time with offset.

Was this page helpful?