TOPIC 12/1812 MINNOT STARTED

Use cases and actors

A use case tells the story of one goal from the user's side, including what can go wrong. Learn to name actors and find the other paths.

L1–L4 are part of the Pro pass

L0 Explain simply

Analogy: Using a vending machine. Think about how a person uses a vending machine. The customer wants a drink. Usually they choose, pay and take it. Sometimes the coins run out, or the drink is sold out. A good description of the machine says what happens in those cases too.

A describes how someone uses a system to reach one goal, step by step, including what can go wrong. The customer is the actor: someone or something outside the system that uses it. The usual path is one story. The cases where something differs are alternative flows: different paths taken when something is not the usual case.

Sam is a on the Daily List team. Daily List is a to-do app. Nina, the who decides what the team builds next, wants a clear picture of how sharing a list works. Sam writes a use case called Share a list.

The goal is that Lily's friend can see her list. The actor is Lily in the role of list owner. The usual path is short: Lily picks a list, types her friend's email address, and taps share. The friend gets an email with a link.

Then Sam asks what could differ. What if the friend has no account yet? What if Lily is on the free plan and already shares 3 lists? Each answer becomes an .

The vending machine has one limit. A use case describes one goal from the outside. It does not say how the screens look or how the code works.

PLAIN WORDS · 1 in this section
vending
selling goods from a machine

PICTURE IT

The picture is the one the lesson above opens with. The table below shows how each part of it matches the work.

THE REAL JOB A makes the team decide what happens on the usual path and on every other path before anyone builds.

  1. Name the goal and the actor
  2. Say where it starts
  3. Write the usual path
  4. Ask what could differ at each step
  5. Write the alternative flows
Writing a use case

HOW THE PICTURE MAPS

How each part of the picture matches the work
In the pictureIn the work
The customer at the vending machineThe actor who uses the system
Wanting a drinkThe goal of the use case
Choose, pay, take the drinkThe usual path, step by step
The coins running outAn alternative flow for an error
The drink being sold outAn alternative flow for a different case
The machine's own wiringThe inside of the system, left out of the use case

WHERE THIS PICTURE STOPS

  • A vending machine has one kind of customer. A system can have several actors, including separate services. An internal timer is part of the system, not an external actor.
  • A use case describes one goal from the outside. It does not say how the screens look or how the code works.
  • A machine can be walked around and seen. The paths in software are easy to miss, so ask users and testers.
  • A use case can remain incomplete until important alternatives are investigated; it does not prove every possible path was found.

HOOK

One goal, the usual path, then what else could happen.

REMEMBER IT THIS WAY

A rule of thumb: if you see this, think that.

After you write the usual path, go back to each step and ask what else could happen, like coins running out in a vending machine.

What each part of the trick stands for
In the trickWhat it stands for
Usual paththe usual path
Alternative flowa different path taken when something is not the usual case

A very short use case may have steps where nothing can differ.

TELL A FRIEND

A describes how an actor uses a system to reach one goal, with a usual path and alternative flows. A asks what could differ at every step.

OFTEN MIXED UP WITH User stories. A story is one short line about what a user wants. A walks through the steps and the other paths.

PRACTISE AND KEEP

Sources for this topic — 7 sources
  1. Market practice

    Unified Modeling Language (UML) 2.5.1 specification page ↗ — Object Management Group · Official UML2.5.1 PDF, December2017, sections18.1.3.1 and18.2.1.1, printed pages640/647(PDF pages682/689), opened locally2026-11-05.

    UML 2.5.1 December 2017; §§7.5,9.5.3,11.5,14,15,17 and18 opened/read6 November 2026, including prior actor review. · Checked 2026-11-06

    Official public catalogue/PDF retrieved and the cited sections read. UML 2.5.1 December 2017; §§7.5,9.5.3,11.5,14,15,17 and18 opened/read6 November 2026, including prior actor review. Original educational paraphrase; no source artwork copied.

  2. Market practice

    IREB CPRE (Certified Professional for Requirements Engineering) Foundation Level - syllabus, handbook and practice exam ↗ — International Requirements Engineering Board (IREB) · IREB CPRE Foundation Level material: use cases as one way to write down requirements from the user's point of view; offered as further reading, no numbered learning unit is claimed (search excerpt, page not opened; the board lists syllabus version 3.3.0)

    The free syllabus for a foundation-level requirements engineering qualification. Used here only for how it splits requirements into kinds and the ways to find them out, never as a rule about how a team must work. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). The downloads page is not a versioned syllabus file and no syllabus version was recorded. Licence terms were not read, so put it in your own words and do not quote it. Open the page, record the version and confirm learning-unit numbers before relying on any. A second search on 2026-10-20 returned this page for its title and matched the described content; the page was still not opened (search excerpt, page not opened). 2026-10-25 update: the board's download pages list the Foundation syllabus as version 3.3.0 (see rq-ireb-foundation-syllabus-v330).

    Earlier versions 3.2.0, 3.1.1 and 3.0.1 are also hosted by mirror sites. Objective numbers differ between versions.

  3. Simplified educational illustration

    Payments Signal editorial teaching models — Payments Signal

    This site's own simplified teaching models. · Checked 2026-07-12

    What this simplifies: The Daily List app and its people are invented for teaching. The plain template (name, actor, start, usual path, other paths) is common practice; real templates have more parts. Real UML use case diagrams also show links between use cases, which this lesson leaves out.

    Used wherever diagrams, scenarios, figures, or example values are didactic constructions rather than sourced facts; every such use carries a simplifications disclosure. All people, companies, banks, and list entries in examples are fictional.

  4. Market practice

    User scenarios, user stories, use cases - what's the difference? ↗ — Joseph Dickerson (blog) · Search excerpts only: scenario is a specific path; in a use case the scenario gives the detailed steps.

    Practitioner blog: scenario is one path, story is a short need, use case is the structured whole. · Checked 2026-10-19

    Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  5. Market practice

    Use cases vs user stories: is there a difference? ↗ — Udemy Blog · Search excerpts only: scenario is a specific path; in a use case the scenario gives the detailed steps.

    Practitioner blog: use cases are detailed, user stories are short placeholders. · Checked 2026-10-19

    Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  6. Market practice

    Types of actor in a use case model ↗ — Visual Paradigm · Search excerpts only: primary actor has the goal and usually initiates; secondary or supporting actor provides a service to the system.

    Vendor guide: primary actor has the goal and starts the use case; supporting actor provides a service to the system. · Checked 2026-10-19

    Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  7. Market practice

    Primary and Secondary Actors (Use Case Diagram) ↗ — Software Ideas · Search excerpts only: primary actor has the goal and usually initiates; secondary or supporting actor provides a service to the system.

    Practitioner reference: who starts the interaction separates primary from secondary actors. · Checked 2026-10-19

    Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

Deepest material on this page: L4 — Standards & sources. Where a topic stops short of implementation depth, that is a deliberate coverage decision, not an oversight — see coverage.