Process commands: enable, pause
The Process Verbs enable, pause as CLI commands, with inputs, result, refusals and an example.
Reference for Process, one group of Process commands.
Process.enable
Enable turns a Process on for a Startup, so its Workflows start on their Triggers. Verb page.
npx startup-builder do Process.enable --json '<input>' [--try | --send | --do]Emits Process.enabled.
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
process | Process | required | The Process to turn on. |
Returns
| Output | Type | Required | Description |
|---|---|---|---|
process | Process | required | The Process, now on. |
Refuses when
| Check | Error | Fix | Then call |
|---|---|---|---|
| The key is valid, but its scopes do not allow this operation. | forbidden | Use a key whose scopes cover the operation, or ask an owner of the namespace to grant them. | None. |
Example
npx startup-builder do Process.enable --json '{"process": "process_X2zteZ3CQI"}'Process.pause
Pause stops a Process from starting new Actions; Actions already in progress finish. Verb page.
npx startup-builder do Process.pause --json '<input>' [--try | --send | --do]Emits Process.paused.
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
process | Process | required | The Process to pause. |
Returns
| Output | Type | Required | Description |
|---|---|---|---|
process | Process | required | The paused Process. |
Refuses when
| Check | Error | Fix | Then call |
|---|---|---|---|
| The key is valid, but its scopes do not allow this operation. | forbidden | Use a key whose scopes cover the operation, or ask an owner of the namespace to grant them. | None. |
Example
npx startup-builder do Process.pause --json '{"process": "process_X2zteZ3CQI"}'