pub struct ScheduleResponse {Show 18 fields
pub id: Uuid,
pub workflow_name: String,
pub cron_expression: String,
pub inputs: Value,
pub source: ScheduleSource,
pub disabled_at: Option<DateTime<Utc>>,
pub last_triggered_at: Option<DateTime<Utc>>,
pub next_trigger_at: Option<DateTime<Utc>>,
pub last_error: Option<String>,
pub priority: i16,
pub catchup: CatchupPolicy,
pub catchup_max: u32,
pub catchup_window_secs: u32,
pub overlap: OverlapPolicy,
pub timezone: Tz,
pub created_by_user_id: Option<Uuid>,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
}Expand description
Schedule list/detail response.
Fields§
§id: UuidSchedule ID.
workflow_name: StringName of the workflow to trigger.
cron_expression: StringCron expression.
inputs: ValueJSON payload passed to the workflow.
source: ScheduleSourceWhere this schedule was created (handler or api).
disabled_at: Option<DateTime<Utc>>When the schedule was disabled. None means active.
last_triggered_at: Option<DateTime<Utc>>When the schedule last created a run.
next_trigger_at: Option<DateTime<Utc>>When the schedule will next fire. Always set on an active schedule.
last_error: Option<String>Why Ironflow disabled the schedule on its own (e.g. its next trigger
cannot be computed). None when paused by a user or never disabled.
priority: i16Queue priority given to every run the schedule creates, from -100 to 100.
catchup: CatchupPolicyWhat the schedule does with the occurrences it missed while no server fired it.
catchup_max: u32Most runs created to catch up under catchup = all.
catchup_window_secs: u32How far back, in seconds, a missed occurrence is still caught up.
overlap: OverlapPolicyWhat the schedule does when an occurrence comes while one of its runs is still active.
timezone: TzIANA timezone the cron expression is evaluated in.
created_by_user_id: Option<Uuid>User who created the schedule. None for handler-declared schedules.
created_at: DateTime<Utc>When the schedule was created.
updated_at: DateTime<Utc>When the schedule was last updated.