liveBook · Manning

Primary action sequence

As explained in Software Design for Python Programmers

A primary action sequence is the normal ordered set of interactions between an actor and an application during a use case.

A primary action sequence is the normal ordered set of interactions between the triggering actor, other actors, and the application during a use case. Write it from the triggering actor’s point of view, keeping it to about ten steps; a longer sequence may indicate excessive complexity. section 3.6.2

A practical sequence should:

  • Begin after the actor’s trigger and describe the normal action steps in order. section 3.6.2
  • Allow steps to refer to other use cases when the interaction is reusable or complex. section 3.6.2
  • Stay separate from alternate action sequences, which describe what happens when something goes wrong. section 3.6.2

Searching a catalogue

A customer submits target book attributes through an online form, and the catalogue returns matching books. The sequence belongs to the Search Catalogue use case and assumes that books and attributes are already loaded. section 3.6.2

How Software Design for Python Programmers covers it

How deep it goes
Defines ordered actor-facing steps and limits them to about ten, while deferring failures to alternate sequences.
Examples
Uses a customer searching a book catalogue through an online form as its concrete interaction example.
What it assumes
Assumes a triggering actor and use case context, while defining the sequence’s role alongside related description elements.
What you can do after
Apply it via use case descriptions to document practical normal interactions from an actor’s perspective.
How it connects
Connects use case descriptions with actors, triggers, alternate action sequences, preconditions, postconditions, and referenced use cases.

Also explained in

Compare how 2 books explain primary action sequence →

This explainer was generated by Manning's knowledge graph from the text of Software Design for Python Programmers. The section links point to the parts of the book it draws on.