Startup .advance
POST /{namespace}/startups/{startup}/advance
Advance moves a Startup to its next Lifecycle state once every entry check of that state passes.
- Noun
- Startup
- Mode
do- Event
Startup.advanced
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
startup | Startup | required | The Startup to advance. |
to | string | The target state. Defaults to the next state. |
Outputs
| Output | Type | Required | Description |
|---|---|---|---|
startup | Startup | required | The Startup in its new state. |
Effects
- Emits
Startup.advanced. - Runs the entry checks of the target state, in order.
- Refuses the Action and names each failing check when any check fails.
Refuses when
| Check | Error | Fix | Then call |
|---|---|---|---|
| Any entry check of the target Lifecycle state | refused | Pass each check the error names. | Startup.advance |
| 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. | Startup.advance |
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. |