Skip to content

WorkCenterSortField ​

Type: Enum

Work center attribute that listWorkCenters can be ordered by.

Values ​

ValueDescriptionDeprecated
CREATED_ATOrder by when the work centre was first created — the column the keyset pagination itself walks, newest first unless the first sort term asks for ASC.
NAMEOrder by the work centre'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.
RESOURCE_TYPEOrder by the stored resource-type string, which sorts alphabetically (HUMAN, LOCATION, MACHINE, TOOL) — it groups the kinds together rather than ranking them. Tie-breaker only, on top of the createdAt keyset walk.
UPDATED_ATOrder by when the work centre was last changed. Tie-breaker only, on top of the createdAt keyset walk.

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