DateTimeBetweenCondition
DateTimeBetweenCondition
yaml
type: "io.kestra.core.models.conditions.types.DateTimeBetweenCondition"
Condition to allow events between two specific datetime values.
Examples
yaml
- conditions:
- type: io.kestra.core.models.conditions.types.DateTimeBetweenCondition
after: "2013-09-08T16:19:12Z"
Properties
date
- Type: string
- Dynamic: ✔️
- Required: ✔️
- Default:
The date to test. Can be any variable or any valid ISO 8601 datetime. By default, it will use the trigger date.
after
- Type: string
- Dynamic: ❌
- Required: ❌
- Format:
date-time
The date to test must be after this one. Must be a valid ISO 8601 datetime with the zone identifier (use 'Z' for the default zone identifier).
before
- Type: string
- Dynamic: ❌
- Required: ❌
- Format:
date-time
The date to test must be before this one. Must be a valid ISO 8601 datetime with the zone identifier (use 'Z' for the default zone identifier).