Scale Intelligence■ Docs
Docs / The model / Attempt

Attempt.

One try of a job, a run keyed by the unit and the attempt's number

Figure 1Attemptspecified
ATTEMPTvalue at none scopenumbercountrunidoutcomeenum:done|failed|stoppedonly a failure of the unit's own class counts against itfailure_classFailureClassoptionalFAILURECLASSthrough failure_class
Attempt is a value at none scope. The drawing shows its fields and the objects that they point at.
kind
value
scope
none
key
none
store
none
family
kernel

Fields#

fieldtyperequirednote
numbercountyes
runidyes
outcomeone of done | failed | stoppedyes
failure_classFailureClassnoonly a failure of the unit’s own class counts against it

Routes that use it#

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