Scale Intelligence■ Docs
Docs / The model / NamedProcedure

NamedProcedure.

A written way of doing a recurring job, which the agent follows and a person can read

Figure 1NamedProcedurespecified
NAMEDPROCEDUREdefinition at platform scopenametextsteps[text]for an acceptance procedure: the fault it plantsplantstextoptionalmust_read_redtextoptionalmust_read_greentextoptionalpopulationtextoptionalcontroltextoptionalfor a procedure the workbench runs: the script its steps run, as a path inside the workspacecodetextoptionalthe hash of the code as it ran; a number from code without it is never measuredcode_hashhashoptionalpoints at no other object
NamedProcedure is a definition at platform scope. The drawing shows its fields and the objects that they point at.
kind
definition
scope
platform
key
its name and version
store
postgres
family
harness

Fields#

fieldtyperequirednote
nametextyes
steps[text]yes
plantstextnofor an acceptance procedure: the fault it plants
must_read_redtextno
must_read_greentextno
populationtextno
controltextno
codetextnofor a procedure the workbench runs: the script its steps run, as a path inside the workspace
code_hashhashnothe hash of the code as it ran; a number from code without it is never measured

Routes that use it#

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