Process .enable
POST /{namespace}/processes/{process}/enable
Enable turns a Process on for a Startup, so its Workflows start on their Triggers.
- Noun
- Process
- Mode
do- Event
Process.enabled
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
process | Process | required | The Process to turn on. |
Outputs
| Output | Type | Required | Description |
|---|---|---|---|
process | Process | required | The Process, now on. |
Effects
- Emits
Process.enabled. - Performed by the Founder.
- Two-way: it runs at once, in the
try,sendanddomodes. - Its Workflows start on their next Trigger; its Settings keep their inherited values until changed.
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. | Process.enable |
When it waits
| Gate | Default |
|---|---|
| Decision class | Low: two-way, nothing at stake |
| Delay window | None: it runs once review passes. |
| Limit | The call Limit of the Permission it runs under. |
| Over the Limit | It 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. |