Skip to content

Process commands: update, delete

The Process Verbs update, delete as CLI commands, with inputs, result, refusals and an example.

Reference for Process, one group of Process commands.

Process.update

Changes the given properties of a Process. Verb page.

Text
npx startup-builder do Process.update --json '<input>' [--try | --send | --do]

Emits Process.updated.

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.

Returns

OutputTypeRequiredDescription
processProcessrequiredThe Process.

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.None.

Example

Terminal
npx startup-builder do Process.update --json '{"id":"process_X2zteZ3CQI","name":"Leaseline"}'

Process.delete

Deletes a Process: a soft delete that keeps its history, undone by Thing.restore. Verb page.

Text
npx startup-builder do Process.delete --json '<input>' [--try | --send | --do]

Emits Process.deleted.

Inputs

InputTypeRequiredDescription
idstringrequiredThe id of the Process.

Returns

OutputTypeRequiredDescription
processProcessrequiredThe Process.

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.None.

Example

Terminal
npx startup-builder do Process.delete --json '{"id":"process_X2zteZ3CQI"}'