Contact

Use-Case Foundation

Ivar Jacobson and Alistair Cockburn
To get to the heart of what a system must do, focus on who or what will use it, and then look at what the system must do for them to help them achieve their goals.
A use case is all the ways of using a system to achieve a goal of a particular user.

Core Concepts

  1. A system of interest.
  2. A primary actor with a goal.
  3. A flow of events (there will be several).
  4. A use case to collect those flows.

Image of a use case diagram for a simple system

FIGURE 1: A USE CASE

A Use Case – A use case is all the ways of using a system to achieve a goal of a particular user.

Notes:

  • This includes all the successful, challenged and failure paths.
  • It may be described textually or visually.
  • It is independent of implementation, technology, and platform.

The System of Interest – The system used to achieve the goal.

An Actor – “Actor” is intended to cover anything with behavior. It can be a person, an organization, a piece of software, or any combination. An actor identifies a role played when interacting with the system. A use case might involve many actors: the actor that initiates a use case is known as the “primary actor” and the actors called upon by the system are known as “supporting actors”.

The Goal – The reason that the user will use the system and the value that they will receive when successfully using the system.

A simple example:

Image of a use case diagram for a simple on-line store

FIGURE 2: THE BROWSE AND SHOP USE CASE

Underlying Principles

  1. Use Cases apply to systems of all types and sizes: businesses, IT systems, physical systems or any combinations thereof.
  2. Use cases help you understand the big picture: the system’s purpose and how it will be used.
  3. Use cases focus on value: the users’ goals and how best to achieve them.
  4. Stakeholder involvement is essential: bring all the involved parties together to establish the intent and scope of the system.
  5. A use case tells the whole story, as a story, from the initial event to the realization of the value it provides or the eventual failure if it can’t be met. It includes how to handle any problems and alternatives that may occur on the way.
  6. Use cases trigger conversations: While discussing the possible alternate flows, you and your co-writers will think of missing steps and missing alternatives. These conversations help you find situations that often get overlooked.
  7. Prioritize readability: the goal is to communicate the big picture to everyone involved, generating comments, spotting any gaps, and getting their buy-in.
  8. The amount of detail and the format used will vary to match your circumstances: You can start with a sketch of the flow of events and add detail as needed.
  9. A use case can be implemented in stages: develop and put into place some key flows of a use case early to capture value and feedback, add less used or less critical flows over time strategically.

A Sample Use Case

The use case is presented as a network of flows, each describing a path to value.

Image showing an example of a basic and some alternate flows.

FIGURE 4: BASIC AND ALTERNATE FLOWS

The Basic Flow – The normal, happy path to value often referred to as the ‘main scenario’ or the ‘happy path.’ This is described as a simple sequence of steps each of which involves the system and / or one of the actors doing something.

Alternate Flows – A list of all the special cases, alternative paths, optional steps, and errors that need to be handled.

The key aspect of a use case is its structure: the way it identifies the basic and alternate flows – this acts as a map of how the system will be used. The flow of events can be described as simply as a bulleted list of steps and alternatives, or elaborated to fully describe what should happen at each step or within each alternative. It can be described in text, as above, or in some graphical form.

What is important is the accuracy of the flow of events and not how detailed you write out the steps and alternatives.

A a simple example:

Image showing an example of an outlined use case.

FIGURE 5: AN OUTLINE OF THE BROWSE AND SHOP USE CASE

Note - If you look closely, you might find issues and problems with this use case such as missing steps and missing alternatives. This is deliberate. This is exactly the sort of conversation that we want the use-case to start.



This unifying paper aligns the ideas within the two main industry use-case approaches. The paper acts as a foundation to reframe Use-Case modelling to support modern product development. It is both the foundation and inspiration for the next generation of Use-Case thinking; Use-Case 3.0 - The Guide to Succeeding with Use Cases Refreshed.

The paper can also be found published by Ivar Jacobson as advertised on LinkedIn and on Alistair Cockburns website.


Contact Us