Nguyen Le Phong

Lean Business AnalysisPart 3 of 4

Requirements Modeling: Five Kinds of Pictures That Catch Gaps Early

Scope, process, rule, data and interface models, worked through one refund flow.

Ten in the morning, and the requirement is one sentence: "The system should notify the manager when a refund needs approval." Everyone nods. By lunch the whiteboard is a mess of boxes, arrows, two crossed-out steps and one lonely question mark next to "approval exception." It looks worse than it did at ten. It's actually much better, because people have stopped arguing from memory and started pointing at the same picture.

That's what requirements modeling is for. A model doesn't have to be pretty. It has to make a misunderstanding easy to spot and cheap to fix.

Nguyen Le Phong stands beside a teammate and a student-built drone prototype after a classroom demo, with the idea finally concrete enough for everyone to inspect.
Once an idea is something people can point at, they stop defending their private version of it and start improving the shared one.

Where this comes from: This is part 3 of the Lean Business Analysis series. The five model families below follow the models section of Chapter 4 (Requirements Elicitation and Analysis) in PMI's Business Analysis for Practitioners: A Practice Guide (2015). The decision table advice and the model selection tips come from Joy Beatty and Anthony Chen's Visual Models for Software Requirements (Microsoft Press, 2012). The examples are mine.

Sentences hide gaps

Requirements usually start as sentences, and sentences are flexible. That's handy early on. It's also the problem. "Notify the manager" leaves five people imagining five different triggers, channels, timings and escalation rules, and every one of them thinks the team agreed.

Beatty and Chen open their book with a blunt diagnosis. Many analysts still write requirements as spreadsheets or documents with thousands of line items, and those documents are "overwhelming, boring to review, and extremely difficult to analyze for missing requirements" (Visual Models for Software Requirements, Introduction). A picture shows the gaps a list hides. If a box has no arrow coming out of it, someone has to ask why.

A model can be a context diagram, a process flow, a decision table, a data dictionary, a story map, a wireframe or a state diagram. Nobody is grading the notation. What you're after is ambiguity on the table while changing it still costs a marker and five minutes.

Nguyen Le Phong looks across two screens of code and a desk full of tools, sorting rough implementation detail into something he can reason about.
A model holds messy detail still long enough for you to ask better questions about it.

Five families, five questions

PMI's practice guide sorts requirements models into five families. The grouping helps because it reminds you that one diagram rarely explains everything. Each family answers a different question:

Model familyThe question it answersCommon examples
ScopeWhat's inside, what's outside, and what touches the edge?Context diagram, ecosystem map, feature model, use case diagram
ProcessHow does work move across people and systems?Swimlane or process flow, use case, user story, story map
RuleWhat logic decides the outcome?Business rules catalog, decision table, decision tree
DataWhat information exists, moves or changes state?Entity relationship diagram, data flow diagram, data dictionary, state diagram
InterfaceWhat do users or other systems see and do at the surface?Wireframe, report table, UI flow, display-action-response

You won't need all five on every piece of work. When a conversation keeps going in circles, though, it's often because the team is arguing about one family with a picture from another.

Scope models draw the edge

Scope problems hurt because they look like broken promises. The team agreed to build "customer onboarding." Three weeks later sales, KYC, billing, support and compliance each turn out to have assumed their part was included.

A context diagram puts the solution in the middle and draws everything it talks to: people, systems and the data going back and forth. An ecosystem map zooms out to partners, departments, regulators and other products. Beatty and Chen point out that an ecosystem map doesn't give you requirements directly, but it shows you every interface you still need to ask about.

Take a lending product. "Application review" sounds like one feature until the context diagram shows the applicant portal, credit bureau, fraud service, document storage, underwriting team, notification service, audit log and CRM. The diagram doesn't solve anything yet. It makes the scope real enough to argue about.

Process models show the handoffs

Reach for a process model when the pain is delay, rework or "who owns this?" A swimlane diagram of a refund might show the request going from support to finance, back to support, up to a manager and then to the payment gateway. Each lane is an owner. Each arrow between lanes is a handoff that can drop the ball.

Say the swimlane shows that agents can't tell whether a refund is within policy until after they've created a ticket. That one finding explains a pile of pointless escalations. The better requirement becomes "show policy eligibility before the ticket is submitted," which beats "add refund status to the ticket screen."

User stories are process models too when you use them well. "As a support agent, I want to see refund eligibility before I submit a ticket, so I can close simple cases without escalating" keeps the user, the capability and the outcome together. Bill Wake's INVEST checklist (Independent, Negotiable, Valuable, Estimable, Small, Testable) is a good sanity check, and his line that a good story "captures the essence, not the details" is worth remembering (INVEST in Good Stories). A pile of stories still needs a shape, though. Jeff Patton built the story map for that: a flat, prioritized backlog "is a difficult tool for understanding what your whole system is intended to do," while laying stories along the user's journey helps you "identify holes and omissions" (Jeff Patton, User Story Mapping).

Rule models catch hidden logic

Business rules love to hide inside friendly phrases: "eligible customer," "high risk," "manager approval," "standard discount." A rule model drags that logic into the open.

Beatty and Chen's rule of thumb for decision tables is easy to apply: if you find yourself writing two or three "if" statements in a row in a process flow or use case, you probably want a decision table instead. Their example makes the case on its own: a five-by-five table is much easier to review than the 25 separate "if" statements it replaces (Chapter 16, Decision Table). For the refund flow:

Customer tierRefund ageAmountDecision
GoldUnder 30 daysUnder $100Auto approve
GoldUnder 30 days$100 or moreManager review
StandardUnder 14 daysUnder $50Auto approve
AnyOutside the policy windowAnyDeny, or send to exception review
Any, with a fraud flagAnyAny? (open question for the risk team)

That last row is the point. The same chapter advises leaving cells you don't know blank and tracking them for follow-up. Once the table is up, people start poking at it. Is Gold really enough for auto approval? What about partial refunds? Those questions are cheap now and expensive once the logic is buried in three services.

Data models keep words honest

A lot of requirement fights are really arguments about what a word means. "Customer" means the account holder to billing, an active user to product, a legal entity to compliance and a contact person to sales. A data dictionary with the term, format, owner, allowed values and relationships can save days of crossed wires.

Use a data flow diagram when information crosses system boundaries, an entity relationship diagram when structure matters, and a state diagram when something changes over time: draft, submitted, under review, approved, rejected, expired, withdrawn. Say an application can be "approved" while still missing bank details. The state model should name that state out loud. Otherwise support promises one thing, ops expects another, and engineering ships a state nobody owns.

Interface models protect the last mile

Interface models sit where people actually click, read and decide. They help the team agree on what users see, what they can do and what the system says back.

Pick the cheapest one that answers the question. If the question is what a number means (column name, source, formula, filters, refresh time, owner), a report table beats a polished mockup. If the question is layout and the decision a user makes on one screen, sketch a low-fidelity wireframe. If the risk is getting lost between screens, draw the UI flow.

A half-built drone frame with exposed wiring sits next to a laptop and classroom monitors, before any casing hides the parts underneath.
Interface work goes better while the wiring is still visible: what people touch, what the system shows, and what each signal depends on underneath.

How much modeling is enough?

Enough is when the team can make the next decision with fewer hidden assumptions. If one story and three examples do it, stop there. If a rule table saves weeks of rework, draw the table. If five systems depend on the same entity, the formal ERD is worth the afternoon.

Beatty and Chen suggest choosing models by project phase and by what the project looks like, and they're clear that this works in agile teams too. A backlog is great for managing work, but it doesn't tell you what belongs in it in the first place. Models help fill the backlog and pin down the rules inside each sprint (Chapter 25, Selecting Models for a Project). When you want those rules written as concrete examples the whole team can test, BDD scenarios pick up where the decision table stops.

Try this week

  • Find one requirement in your backlog with two or more "if" conditions in a row and redraw it as a decision table. Leave unknown cells blank and give each one an owner.
  • Pick the most overloaded noun in your product ("customer," "order," "active") and write down what it means to each team that uses it.
  • Before the next refinement session, sketch a context diagram on one page and ask: who or what talks to this that we haven't asked yet?

The previous post covered how to find the right people and ask the right questions: Lean BA planning, stakeholders and elicitation. The next one is about keeping requirements honest after sign-off: quality, traceability and solution evaluation.

What did you think?

Frequently asked questions

What is requirements modeling?
It's drawing or structuring a requirement (as a diagram, a table or structured text) so the team can see scope, process, rules, data and interfaces in one place. The point is to find gaps and mismatched assumptions before they turn into code.
What are the main types of requirements models?
PMI's Business Analysis for Practitioners groups them into five families: scope models (context diagram, ecosystem map), process models (process flow, use case, user story), rule models (decision table, decision tree), data models (ERD, data dictionary, state diagram) and interface models (wireframe, report table, UI flow).
When should I use a decision table?
Beatty and Chen's rule of thumb in Visual Models for Software Requirements: if you're writing two or three 'if' statements in a row in a process flow or use case, switch to a decision table. Leave cells you don't know blank and track them as open questions.
Do agile teams need requirements models?
Lightweight ones, yes. A backlog is good for managing work but doesn't tell you what belongs in it. A story map, a context diagram or a decision table helps fill the backlog and pin down rules inside a sprint. Draw only what the next decision needs.