Use this when defining what a job must achieve before writing it.
Requirements
Requirements in automation design describe what the job must achieve, for whom, under what constraints and how success is measured, before any code is written.
1. Requirements define what the automation must do and must not do.
2. Include constraints (maintenance windows, approvals).
3. Acceptance criteria.
4. Non-functional needs (speed, audit).
5. Keep them in the repo.
stakeholder needs → requirements → acceptance tests
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
The negative fixture should deliberately exercise risks such as implicit defaults, hidden dependencies, duplicate dispatch, worker drift, timeout without cancellation, retries against non-idempotent operations and confusing control-plane completion with target convergence, choosing the cases most relevant to functional/nonfunctional constraints, target scope, permissions, dependencies, safety and verification criteria converted into machine-checkable preconditions where possible.
Step 2 Common mistakes Narrow the fault
- Automating a process nobody has written down.
- Missing non-functional requirements (runtime window, rate limits).
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Who uses it, what result, which constraints.
- Define success criteria.
- Agree on scope.
- Requirements (what, who, when, constraints) — scope
- Acceptance criteria — done definition
- Stakeholder sign-off — agreement
ReferenceWhy it matters1 section · depth on demand
What it is
Requirements define what the automation must achieve and under which constraints: target systems, inputs, success criteria, allowed impact, approvals and rollback. Write them before code so tests and acceptance can be checked against them.
ReferenceImportant terms & boundaries1 section · depth on demand
In depth
Requirements define what an automation must achieve before anyone writes code: the outcome, the inputs, the scope, the constraints and how success is verified. Clear requirements prevent automations that technically run but do not solve the real problem, or that are unsafe in edge cases.
Questions to answer:
| Area | Example question |
|---|---|
| Outcome | What state should exist afterwards? |
| Trigger and users | Who or what starts it? |
| Inputs | Which parameters, from where? |
| Scope | Which systems, which environments? |
| Safety | Dry run? Approval? Rollback? Change windows? |
| Non-functional | Duration, concurrency, logging, audit |
| Verification | How do we know it worked? |
Write requirements as short, testable statements; they become test cases later.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Automation Design > Requirements. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://learn.microsoft.com/en-us/azure/well-architected/operational-excellence/enable-automation · confidence 94%Deep reference
Healthy vs suspicious evidence
Output interpretation
For functional/nonfunctional constraints, target scope, permissions, dependencies, safety and verification criteria converted into machine-checkable preconditions where possible, prefer typed fields and stable IDs over human presentation text.