Skip to content

ScheduleScenarioSortField ​

Type: Enum

Schedule scenario attribute that listScheduleScenarios can be ordered by.

Values ​

ValueDescriptionDeprecated
CREATED_ATOrder by when the scenario was first persisted — the column the keyset pagination itself walks, newest first unless the first sort term asks for ASC.
NAMEOrder by the scenario's name column. Applied only as a tie-breaker: the list always keys its pagination on createdAt, and the first sort term contributes just its direction.
STATUSOrder by the stored status string, which sorts alphabetically (ARCHIVED, DRAFT, PUBLISHED, SIMULATION) rather than in lifecycle order. Tie-breaker only, on top of the createdAt keyset walk.
UPDATED_ATOrder by the timestamp of the most recent accepted mutation, bringing recently-touched scenarios together. Tie-breaker only, on top of the createdAt keyset walk.
VERSIONOrder by the planner-assigned revision number, so successive revisions line up numerically. Tie-breaker only, on top of the createdAt keyset walk.

Connect machines, automate workflows, and build custom apps for print production.