Action .pause
POST /{namespace}/actions/{action}/pause
Pause holds a pending Action past the close of its delay window until a watcher resumes, redirects, or cancels it.
- Noun
- Action
- Mode
do- Event
Action.paused
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
action | Action | required | The pending Action. |
reason | text | required | Why it must wait. |
until | datetime | When the pause escalates to the Role above if nobody resolves it; defaults to one business day. |
Outputs
| Output | Type | Required | Description |
|---|---|---|---|
action | Action | required | The paused Action, still pending. |
Effects
- Emits
Action.paused. - Records a Decision with the reason.
- Escalates to the Role above the watcher when
untilpasses unresolved.
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. | Action.pause |
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. |