Skip to content

workflowSchedules

Lists the Temporal schedules of the request’s tenant, with the workflow type each one starts, whether it is paused, when it fires and what it started recently. workflowType equals the name of the registered Workflow the schedule starts: workflows(where: {name: <workflowType>}). The order is not defined.

The list is eventually consistent: right after a pause or unpause it can still show the old state. Use the mutation result instead. The list also shows at most 10 intervals, calendars and skip calendars per schedule; the mutation result shows all of them.

The list is not paginated, unlike workflowExecutions: a tenant has a handful of schedules, and the service reads every page from Temporal.

Served by: workflow

[WorkflowSchedule!]!

query GetWorkflowSchedules {
workflowSchedules {
id
nextActionTimes
note
paused
recentActions {
actualTime
runID
scheduleTime
workflowID
}
spec {
calendars {
comment
dayOfMonth {
end
start
step
}
dayOfWeek {
end
start
step
}
hour {
end
start
step
}
minute {
end
start
step
}
month {
end
start
step
}
second {
end
start
step
}
year {
end
start
step
}
}
endAt
intervals {
offsetSeconds
periodSeconds
}
jitterSeconds
skip {
comment
dayOfMonth {
end
start
step
}
dayOfWeek {
end
start
step
}
hour {
end
start
step
}
minute {
end
start
step
}
month {
end
start
step
}
second {
end
start
step
}
year {
end
start
step
}
}
startAt
timeZoneName
}
workflowType
}
}