Skip to content

Process.update

PATCH /{namespace}/processes/{id}

Changes the given properties of a Process.

Mode
do
Event
Process.updated

Update changes the given properties of a Process. It is inherited: every Noun has get, list, create, update and delete.

Inputs

InputTypeRequiredDescription
idstringrequiredThe id of the Process.
namestringThe name in sentence case, such as Month-end close.
saystext[]What a founder says to run, turn on, or ask about it.
settingsjsonThe Settings it reads: key, type, default, the founder’s sentence and the Verb that sets each.
defaultOnstring[]The Product Templates it is on in by default.
wakesjsonThe Events that wake it in the Startup’s own records.
inputsstring[]The Nouns an Action reads at its start.
outputsstring[]The Nouns a finished Action leaves behind, rolled up from its Workflows.
outcometextWhat a finished Action leaves true, in one sentence.
serviceLeveljsonIts target duration, clock, escalation Role, and the waits that stop the clock.
scopestringWhere it runs: startup, studio, or any.

Outputs

OutputTypeRequiredDescription
processProcessrequiredThe Process.

Effects

  • Emits Process.updated.
  • Two-way: try, send, do.

Refuses when

CheckErrorFixThen call
The key is valid, but its scopes do not allow this operation.forbiddenUse a key whose scopes cover the operation, or ask an owner of the namespace to grant them.Process.update

When it waits

GateDefault
Decision classLow: two-way, nothing at stake
Delay windowNone: it runs once review passes.
LimitThe call Limit of the Permission it runs under.
Over the LimitIt waits pending for an Approval from the Founder. Approved, it runs; refused, it ends refused with limit-exceeded; unanswered by its deadline, it ends canceled.