TimeBetweenCondition​Time​Between​Condition

TimeBetweenCondition TimeBetweenCondition

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

Condition to allow events between two specific times.

Examples

yaml
- conditions:
    - type: io.kestra.core.models.conditions.types.TimeBetweenCondition
      after: "16:19:12+02:00"

Properties

date

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

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.