An interrupted workflow still has a state.
Coordinate people, tools and long-running work without losing the distinction between waiting, running and done.
Discuss the architecture01The design question
A timeout tells you what you did not hear.
The destination may have committed a write just before the connection failed. Retrying immediately can repeat the action. A workflow needs an explicit unknown-outcome state, enough information to inspect the destination, and a policy for what happens next.
Reference design. Reusable NAV infrastructure is under development.
02Key decisions
Different states require different responses.
Waiting for approval
Nothing should execute yet. Preserve the exact proposal, its expiry and the person responsible for the decision.
Dependency unavailable
A bounded retry may be appropriate. Give it a budget and an escalation path rather than an endless loop.
Outcome unknown
Inspect or reconcile the destination before another attempt. A generic “failed” label discards the distinction that matters.
03In practice
Orchestration in practice
States people can understand
Requested, prepared, awaiting approval, executing, completed, and failed are useful distinctions. Each state needs a permitted next action and an owner. A task awaiting review should not look like a task currently running.
Retries need a policy
Transient reads can often be retried. A write with an unknown outcome requires a lookup or reconciliation first. Retry budgets, backoff, and dead-letter handling keep an unavailable dependency from creating an endless loop.
Recover from interruption
Record completed steps and stable operation identifiers before advancing the workflow. On recovery, check the destination for actions with an unknown outcome and resume from the last confirmed state.
04Scope
Areas of work
- Workflow state
- Human approval
- Queues
- Idempotent execution
- Timeout handling
- Exception recovery
05A common question
Does orchestration always require agents?
No. Explicit workflows often provide the right coordination without model-directed planning. An agent can participate at a particular step while the surrounding application owns state and execution policy.