Scale Intelligence■ Docs
Docs / The model / ProcedureResult

ProcedureResult.

What one run of a named procedure in the workbench left: the procedure, the run, the hashes of its code and its inputs, its outputs as measures, how it ended and how long it took

Figure 1ProcedureResultspecified
PROCEDURERESULTvalue at none scopeprocedureNamedProcedurerunidabsent when the procedure carries no code, and then every output is never measuredcode_hashhashoptionalinputs_hashhashone for each number the code left, its kind the name the procedure leaves it underoutputs[Measure]endedenum:ended|failed|stoppedelapsed_mscountNAMEDPROCEDUREthrough procedureMEASUREthrough outputs
ProcedureResult 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
harness

Fields#

fieldtyperequirednote
procedureNamedProcedureyes
runidyes
code_hashhashnoabsent when the procedure carries no code, and then every output is never measured
inputs_hashhashyes
outputsMeasureyesone for each number the code left, its kind the name the procedure leaves it under
endedone of ended | failed | stoppedyes
elapsed_mscountyes

Routes that use it#

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