An Integration Scenario is an end-to-end thread through several stories, often across several products, that a user or system can experience and that delivers business value on its own.

Integration Scenarios are the H-Model’s most distinctive contribution to requirements, and the one that has aged best. The gap they fill is still there in most organisations. They also turn out to be exactly the artefact the AI SDLC needs: a scenario with acceptance criteria is the natural unit of an outcome-based prompt and the natural unit of verification. That is the second half of this page. The first half is the idea as it was, because it is still right.

The gap

Features say what a product has. User stories say what one user wants from one part of it. Neither says how value actually happens, which is nearly always a path through several stories, and increasingly a path through several products owned by several teams.

When a team faces a few hundred stories, it needs something in the middle to:

Most organisations fill this gap by abusing epics: hierarchies of epics with child stories with child tasks, sometimes several levels deep. That is a work breakdown structure wearing agile clothes. It obscures the backlog, double counts progress, and tells nobody how value happens. Integration Scenarios fill the gap without the hierarchy.

An Integration Scenario is the story across stories. It tells you why the stories exist.

What one looks like

In a single delivery team, an Integration Scenario (sometimes called an Integration Story in that context) threads together the stories that, between them, let a user get something done. In a team of teams delivering a product family, it lives on the programme backlog rather than any one product backlog, because the stories it threads are implemented by different products in the context of a solution architecture.

Scenarios are described firmly in terms of real delivery, not abstractly, so that it is possible to identify the stories each contributing team will build. Those stories trace up to the scenario, which gives lightweight traceability and a view of release progress based on contributing stories done. Like stories, scenarios have acceptance criteria, which clarify their definition of done and carry their non-functional aspects.

The sketch

The 2017 edition drew its Integration Scenarios by hand: a stick-figure user on the left, a stick-figure system on the right, and between them a flow of rough screen mock-ups joined by arrows, with a decision diamond where the path forks and the story identifiers written beside the nodes. The style was deliberate. A hand-drawn flow of sketchy screens cannot be mistaken for a design, so nobody argues about button placement, and nobody thinks the work is done because they have seen a picture of it. The communication is the point, not the notation.

An Integration Scenario drawn as a flow of screens: the book's sketch style, redrawnChoose a colour scheme and see what it does to the numbersEditorview articles(add new)choose colour(amend)manage updatesview statsStats service(data)Stories: S12 Aggregate data · S35 Normalise frames · S6 View data sets · S24 Generate cumulative reportNodes are rough screens, not designs. Links go to stories, not to prose.
An Integration Scenario drawn as a flow of rough screens, redrawn from the book's hand sketch. The nodes are mock-ups, the diamond is a choice, and the story identifiers beside it are links, not prose.

We still recommend this form for user-facing products. The rules: a meaningful title (never “Integration Scenario”); a user perspective; a focus on the value at the end; links to the stories and systems covered; and rich pictures over standard notation wherever they communicate better. Do not be constrained by a formal modelling language.

The narrative

For back-end services, integrations and anything without screens, a textual scenario works better: a narrative of a couple of paragraphs that describes the interactions between users, systems and the product across a number of features and stories, with links to the contributing stories. Alternative and exceptional flows can be added in the style use cases made popular, but if there is a lot of flow logic a diagram beats convoluted text. A short non-functional section lists the constraints that apply across the whole thread.

Keep them short. A couple of paragraphs is normal; two or three pages with alternates and non-functionals is the upper limit. The detail belongs in the stories or the UX storyboards below. The scenario is about the dynamics between requirements, not the requirements themselves.

The elided form and the flipside

When a scenario is used inside another picture (a scoping diagram, a value stream map, a release plan) the full form is too big. Use the elided form: a title and the list of stories it covers, indicative rather than exhaustive. This zoomed-out card is also useful on its own, as the simplest way to gather a handful of stories into a chunk for release planning.

An Integration Scenario card: the elided front and the acceptance-criteria flipsideReorder from historyThis scenario covers stories like:S12 View order historyS35 Repeat an orderS6 Apply saved payment methodS24 Confirm and track deliveryValue: a returning customer re-buys in under a minuteProducts: web shop, payments, warehouseFRONT: title, value, the stories it threadsAcceptance criteriaA past order becomes a basket in one actionOut-of-stock lines are flagged, not droppedSaved card is used; no card details are typedp95 end-to-end under 60 seconds at 200 usersKeyboard-only path passes WCAG 2.2 AAeach criterion links to a check that proves itFLIPSIDE: criteria as tests, functional and non-functional
An Integration Scenario as a card. The front is the elided form: title, value, the stories it threads. The flipside holds the acceptance criteria, functional and non-functional, each linked to the check that proves it.

The flipside of the card holds the acceptance criteria. In a work-tracking tool that is another tab or field. We recommend writing criteria as tests wherever possible, so that the list of criteria is also a list of links to test information. That recommendation from 2017 is the hinge on which the AI SDLC section below turns.

What scenarios are for

Scoping Releases

A Release should be scoped to one or two Integration Scenarios. If there are more, and they are not too interdependent, split them into separate Releases and get feedback sooner, even if some are internal rather than deployed to customers. Elaborating the scenarios for the next Release before development starts, with customer and team representation, is the best way we know to align everybody’s understanding of scope, release by release. Elaborating a large set of scenarios before any development is waterfall by another name and a very bad idea.

The story across stories: one scenario threads stories owned by several products and is delivered by a ReleaseWeb shopstory 1story 2story 3story 4Paymentsstory 5story 6story 7story 8Warehousestory 9story 10story 11story 12Notificationsstory 13story 14story 15story 16Scenario A: reorder from historystorystorystorystorystorystorystorystoryScenario B (dashed) is scoped to the next Release. Neither scenario has points; progress is stories done.A Release is scoped to one or two scenarios. Milestones hang on scenarios, not on stories.
The story across stories. One scenario threads stories owned by four products and is delivered by a Release; a second scenario is scoped to the next. Progress is counted in stories done, never in points on the scenario.

Because scenarios thread stories from several teams, they are delivered by Releases, not by sprints, and they are rarely accepted as done until late in a Release (once they are done, you are finished). Milestones for programme and portfolio governance hang on scenarios, which gives the Big 4+1 questions something real to point at.

Do not put story points on scenarios. It double counts the constituent stories in release burn-ups and gives a false view of progress across teams. Progress is contributing stories done, to the relevant level of the Definitions of Done stack.

Driving integration testing and acceptance

A scenario is a narrative, so scenario-based testing applies directly: walk the thread end to end, across the products, and check the criteria. That is integration testing with a purpose, rather than “test that the interfaces work”. It is also acceptance: the Product Customer accepts a scenario, because a scenario is something a user can experience, in a way they cannot accept “story 47”. The levels of done above product testing (integration tested, business accepted, value achieved) are defined in terms of scenarios for that reason. Scenarios are built across Integration Streams and delivered in Releases; this is how the left side of the H meets the right.

Carrying non-functional requirements

Most NFRs cut across stories. Putting them on a scenario’s flipside, as acceptance criteria, keeps them on the backlog, explicitly tested and marked done during integration, without inventing fake stories to hold them. A performance limit on the end-to-end thread, an accessibility criterion on every user-facing step, a privacy criterion on the data the thread touches: these belong to the scenario, not to any one story. Where an NFR area carries enough risk, a non-functional scenario in its own right is the honest way to plan for it. See Requirements for the embedded-versus-cross-cutting split.

Finding architecture

Scenarios are the best starting point for understanding solution architecture in a product family, and system architecture in a product: they indicate structure and reveal the architectural mechanisms that will be needed. There is a risk of letting scenario structure dictate architectural structure, which is usually wrong; the Architecture pages discuss that. Used with judgement, though, a handful of scenarios tells an architect more about what a system has to be good at than any list of Features.

A common currency

By aligning Integration Scenarios with Integration Streams, delivering them in Releases and tracking them with simple milestones, the views of portfolio, programme, project, architecture, delivery, quality, deployment, acceptance and business change all converge on Releases at the centre of the H. Scenarios de-conflict business management and technical delivery: the business can talk about a thread of value, the teams can talk about the stories that make it, and both are talking about the same thing.

How they differ from the neighbours

User Story Mapping

User Story Mapping (Patton, 2014) is the technique readers are most likely to think of as “the same thing”. It is not, but the overlap is real and worth being precise about.

A story map arranges stories along a backbone of user activities, left to right in the order a user does them, with detail going down, and then slices the map horizontally into releases. It is excellent at what it does: showing the whole of one product’s user journey on one wall, exposing gaps, and making release slicing a visible, collaborative act.

Story mapIntegration Scenario
ScopeOne product, one user journey, all of itOne thread of value, often across several products
FormA grid of cards on a wall or boardA sketch, a narrative or a card, with a flipside of criteria
Release scopingA horizontal slice across the whole mapOne or two scenarios per Release
AcceptancePer storyPer scenario, end to end, plus per story
NFRsNot addressedCarried as cross-cutting criteria
Programme useAwkward across teamsNative: lives on the programme backlog
GovernanceNoneMilestones hang on scenarios

The two work well together. A story map is a good way to discover scenarios for one product: each slice of the backbone that delivers value is a candidate. The scenario is what survives when the wall is cleared, what crosses the product boundary, and what carries the criteria. If you only build one product with one team, a story map may be all the middle layer you need. If you build a product family, you need scenarios.

Epics

Epics are big stories. The word has drifted to mean “a container for stories”, and from there to “a level in a hierarchy”, which is where the damage happens. A scenario is not a container and not a parent. The same story can contribute to two scenarios; a scenario is a path, not a folder. Scenarios are described from the user’s point of view and must end in value; an epic is usually described from the backlog’s point of view and need not end in anything. If your tool only has epics, use an epic to hold a scenario, write the scenario in its description, put the criteria on it, and refuse to nest.

Use cases

Scenarios owe a debt to use cases, especially the alternate-flow idea and the discipline of describing a goal from the actor’s side. They differ in weight (a couple of paragraphs, not a document), in scope (a thread across use cases is a scenario, not a use case) and in the refusal to be tied to a notation.

Gherkin scenarios

BDD’s “scenario” is a Given, When, Then example that executes as a test. It is a format for acceptance criteria, and a good one. An Integration Scenario is the thing the criteria belong to. The natural relationship: the flipside of an Integration Scenario is written, in whole or in part, as Gherkin. Do not confuse the two words; do use them together.

Scenarios as executable specifications

Here is the part that is new. In the AI SDLC, agents generate code, tests and infrastructure from a statement of intent, and the right-hand side of the H verifies what they produce. The question every organisation adopting this now faces is: what is the unit of intent, and what is the unit of verification? Prompts written per task are too small; they lose the value thread and produce locally correct, globally incoherent systems. Strategic goals are too big. The answer is the artefact we already have.

A scenario with acceptance criteria is an executable specification. It is the unit of an outcome-based prompt and the unit of verification, and it was already the unit of release scope.

A scenario with criteria is the unit of an outcome-based prompt and the unit of verificationScenarionarrative, value,the stories itthreadsCriteriatestable, functionaland non-functionalPromptintent + constraints+ contextAgent generatescode, tests,infrastructureCheckscriteria run astests and fitnessfunctionsfail: fix the scenario or the code, never the checkPeople write the left two boxes and own the right one. Agents do the middle.Same artefact, three uses: scope the Release, prompt the agent, prove the outcome
One artefact, three uses. The scenario and its criteria scope the Release, become the outcome-based prompt an agent generates from, and run as the checks that prove the outcome. People write the left and own the right; agents do the middle.

Three things make scenarios the right size:

The outcome-based prompting page describes the prompt shape in full: intent, constraints, context. The scenario supplies the intent and most of the constraints. The team supplies the context: the codebase, the mechanisms, the decision records, the things the business knows that the code does not.

A worked example

Scenario: Reorder from history. A returning customer opens their order history, picks a past order, and re-buys it. Lines that are out of stock are flagged rather than silently dropped. Their saved payment method is used without re-entering card details. They get a confirmation and can track the delivery. Products involved: web shop, payments service, warehouse system, notifications. Stories: S12 View order history, S35 Repeat an order, S6 Apply saved payment method, S24 Confirm and track delivery.

Acceptance criteria (the flipside):

  1. A past order becomes a basket in one action, with its original quantities.
  2. Out-of-stock lines are shown as unavailable in the basket and the customer can proceed without them; nothing is removed silently.
  3. The saved payment method is used; no card details are typed. Payment failure returns the customer to the basket with the reason.
  4. End to end, from opening history to confirmation, the 95th percentile is under 60 seconds at 200 concurrent users.
  5. The whole path can be completed with keyboard only and passes WCAG 2.2 AA on each screen.
  6. No personal data from the thread appears in application logs.

The prompt it yields. Intent: the scenario text, verbatim, and the value statement. Constraints: the six criteria, verbatim, with the instruction that each must be covered by an automated check that the agent writes and that fails before the change and passes after it; the architectural constraints (the payments mechanism to use, the warehouse interface version, the existing notification contract); the Definition of Done for “product tested”. Context: the four repositories, the relevant decision records, the existing tests for S12, and the data model for orders. Scope: the four stories, in whatever order makes the thread work, and nothing else.

The checks that prove it. Criteria 1 to 3 become end-to-end scenario tests across the four products, run in the integration environment on every change. Criterion 4 becomes a load test in the pipeline against the end-to-end path, a fitness function. Criterion 5 becomes an automated accessibility scan on each screen plus a scripted keyboard walkthrough. Criterion 6 becomes a log-scanning check that runs in the integration environment after the scenario test. The scenario is done at “integration tested” when all six pass in the integrated environment, and “business accepted” when the Product Customer has walked the thread.

Notice what the people did. They wrote the scenario and the criteria, with a customer. They chose the constraints. They will accept the result. The agent wrote the code, the tests and the pipeline changes. When a check fails, the fix is to the scenario (the criterion was wrong) or to the code (the generation was wrong), never to the check.

What this changes in practice

Skemata, the modelling tool that will accompany the H-Model, will model Integration Scenarios as first-class elements, with their stories, criteria, products and checks as linked elements rather than text.

Last updated