Scale Intelligence■ Docs
Docs / The model / WorkBase

WorkBase.

What every unit of work carries beyond the unit

Figure 1WorkBasespecified
WORKBASEvalue at none scopeexactly one of the kind's placesplacetextentered_place_attimeits deadlinedue_attimeoptionalrequired whenever it waitsheld_reasontextoptionalits idempotency key, so the same input is the same workinput_keytexteach with the class of its failureattempts[Attempt]costCostATTEMPTthrough attemptsCOSTthrough cost
WorkBase is a value at none scope. The drawing shows its fields and the objects that they point at.
kind
value
scope
none
key
carried by every unit of work
store
none
family
kernel

Fields#

fieldtyperequirednote
placetextyesexactly one of the kind’s places
entered_place_attimeyes
due_attimenoits deadline
held_reasontextnorequired whenever it waits
input_keytextyesits idempotency key, so the same input is the same work
attemptsAttemptyeseach with the class of its failure
costCostyes

Routes that use it#

No route takes or returns WorkBase directly. The record holds it, and the objects that point at it reach it.