SlideShare a Scribd company logo
Using Activity Diagrams to
      Model Use Cases Visually
Part 3: Ignoring the Variable Details
           by Declan Chellar
Our activity diagrams
model the Actor/System
 interactions within a
  Software Use Case.
In this example, “Add
Address”, we model only the
logical interactions between
  the Actor and the System
There may be variations in
the kind of data that makes
     up an address, for
   example, addresses in
    different countries…
…but those details are
documented as part of the
data requirements for the
      relevant step.
And they should not
distract from the logic of
   the process itself by
appearing in the activity
         diagram.
The same is true for any
 business rules which
 might affect the flow.
Or any messages that the
 System might need to
   display to the Actor.
This activity diagram tells us
 the essential nature of the
process without clogging it up
 with data options, business
 rules, button clicks and on-
       screen messages.
Any of those things can
 change in the future
 without the proces s
    itself changing.
But analysts who lack experience in
   drawing activity diagrams often
treat every possible data and screen
option as if it were an alternate path
        through the use case.
Imagine we could capture two
  types of address in our use
 case: An Irish address, which
 does not use post codes, and
  a UK address, which does.
Modelling those data differences as
alternate paths results in a much more
complicated activity diagram, which is
     harder to follow without really
    providing any extra information.
Very inexperienced analysts
sometimes even try to model the
 capture of every item of data as
 a separate step in the process!
If we modelled our activity
 diagram like this, look what
would happen if we had to add
    a third address type…
Activity Diagram tutorial part 3
By the way, if your activity
   diagram contains alternate
   flows hanging off alternate
flows, it’s a sign that something
          may be wrong.
Another mistake is to try to
model each data/business
 rule/screen variance as a
    different use case.
This adds effort to the
 modelling task without adding
clarity. Indeed, it reduces clarity
and increases maintenance and
       development effort.
When you model it this way, it doesn’t
matter how many different address types
get added to the data model, or whether
   the definition of “Valid” changes or
whether the on-screen messages change.
One thing needs to remain
    absolutely clear…
This is not an
 alternative way of
modelling a use case…

  It is plain wrong!
This is not an
 alternative way of
modelling a use case…

  It is plain wrong!
Activity Diagram tutorial part 3
Activity Diagram tutorial part 3

More Related Content

PPTX
Activity diagram tutorial part 2
PPT
Use Case and Activity Diagrams Modeling Notation
PPTX
Activity Diagram Examples by Creately
PPTX
SAD06 - Use Case Diagrams
PPT
Activity Diagram
PPTX
Activity diagram
PDF
PPT
Uml diagrams usecase
Activity diagram tutorial part 2
Use Case and Activity Diagrams Modeling Notation
Activity Diagram Examples by Creately
SAD06 - Use Case Diagrams
Activity Diagram
Activity diagram
Uml diagrams usecase

What's hot (20)

PPT
Functional modeling
PPTX
Enhancement of Action Description Language for UML Activity Diagram Review
PPTX
UML (Unified Modeling Language)
PPT
Use Case Diagram
PDF
Lecture04- Use Case Diagrams
PPT
Lecture 15 requirements modeling - scenario, information and analysis class...
PPT
Lecture 16 requirements modeling - scenario, information and analysis classes
PPT
Lecture 13 requirements modeling - flow & behavior (2)
DOCX
UML Design
RTF
DOCX
PPTX
Uml
PDF
Modeling software with UML
PPTX
System model.Chapter One(GEOFFREY GORDON)
PPTX
Activity diagram
PPTX
Functional modeling
PDF
Shlaer mellor-method
PPTX
Dynamic modeling
PPT
Functional modeling
Enhancement of Action Description Language for UML Activity Diagram Review
UML (Unified Modeling Language)
Use Case Diagram
Lecture04- Use Case Diagrams
Lecture 15 requirements modeling - scenario, information and analysis class...
Lecture 16 requirements modeling - scenario, information and analysis classes
Lecture 13 requirements modeling - flow & behavior (2)
UML Design
Uml
Modeling software with UML
System model.Chapter One(GEOFFREY GORDON)
Activity diagram
Functional modeling
Shlaer mellor-method
Dynamic modeling
Ad

Viewers also liked (13)

PPTX
A Tale Of Two Projects
PPTX
Business analysis is about more than software requirements
PDF
TD-635-03-PSBO
PDF
Business Process Modeling
PDF
Business Process Modeling
DOC
Modeling techniques forthe business analyst
PPTX
Activity Diagram Templates by Creately
PPT
Uml Activity Diagram
PPTX
Activity diagram model
PDF
Activity diagram-UML diagram
PPT
Business Process Modeling
PDF
Getting Started With Business Process Modeling
PDF
Business Process Modeling with BPMN 2.0 - Second edition
A Tale Of Two Projects
Business analysis is about more than software requirements
TD-635-03-PSBO
Business Process Modeling
Business Process Modeling
Modeling techniques forthe business analyst
Activity Diagram Templates by Creately
Uml Activity Diagram
Activity diagram model
Activity diagram-UML diagram
Business Process Modeling
Getting Started With Business Process Modeling
Business Process Modeling with BPMN 2.0 - Second edition
Ad

Similar to Activity Diagram tutorial part 3 (20)

PDF
Informatica Data Modelling : Importance of Conceptual Models
PDF
Data modeling 101 - Basics - Software Domain
PDF
IntelligentEnterprise
PPTX
Data Modelingwnifffffffffffffffffi3wihffffffffffffffffff
PDF
Itlc hanoi ba day 3 - thai son - data modelling
PDF
Data Mapping eBook
PDF
LOGICAL data Model - Software Data engineering
PPTX
1-SDLC - Development Models – Waterfall, Rapid Application Development, Agile...
PDF
Spreadsheets 2.0
DOCX
Data Modeling.docx
DOCX
Chapter 3 • Nature of Data, Statistical Modeling, and Visuali.docx
PDF
Formalization & data abstraction during use case modeling in object oriented ...
PDF
FORMALIZATION & DATA ABSTRACTION DURING USE CASE MODELING IN OBJECT ORIENTED ...
DOCX
Unit iv function and service oriented designs 9
PPTX
Automation of reporting process
PPT
Salesforce Data Structures
DOCX
Data modeling levels and techniques.docx
DOCX
Data modeling levels and techniques.docx
DOCX
Data modeling levels and techniques.docx
DOCX
54 C o m m u n i C at i o n s o F t h e a C m j u.docx
Informatica Data Modelling : Importance of Conceptual Models
Data modeling 101 - Basics - Software Domain
IntelligentEnterprise
Data Modelingwnifffffffffffffffffi3wihffffffffffffffffff
Itlc hanoi ba day 3 - thai son - data modelling
Data Mapping eBook
LOGICAL data Model - Software Data engineering
1-SDLC - Development Models – Waterfall, Rapid Application Development, Agile...
Spreadsheets 2.0
Data Modeling.docx
Chapter 3 • Nature of Data, Statistical Modeling, and Visuali.docx
Formalization & data abstraction during use case modeling in object oriented ...
FORMALIZATION & DATA ABSTRACTION DURING USE CASE MODELING IN OBJECT ORIENTED ...
Unit iv function and service oriented designs 9
Automation of reporting process
Salesforce Data Structures
Data modeling levels and techniques.docx
Data modeling levels and techniques.docx
Data modeling levels and techniques.docx
54 C o m m u n i C at i o n s o F t h e a C m j u.docx

More from Declan Chellar (8)

PPTX
BPMN 2.0 - an introduction to the Level 1 Palette
PPTX
Defining process scope
PPTX
Iliad Book 1
PPTX
BPMN in Pegasystems' PRPC Flow Rules
PPTX
Process Model versus PRPC Discovery Map
PPTX
Tracing Data Requirements
PPTX
The Importance of Data Analysis in Producing a Robust Physical Data Model
PPTX
Activity diagram tutorial
BPMN 2.0 - an introduction to the Level 1 Palette
Defining process scope
Iliad Book 1
BPMN in Pegasystems' PRPC Flow Rules
Process Model versus PRPC Discovery Map
Tracing Data Requirements
The Importance of Data Analysis in Producing a Robust Physical Data Model
Activity diagram tutorial

Recently uploaded (20)

PPTX
PRECISION AGRICULTURE- 1.pptx for agriculture
PDF
Download FL Studio Crack Latest version 2025
PDF
A New Kind of Director for a New Kind of World Why Enzo Zelocchi Matters More...
PDF
EVs U-5 ONE SHOT Notes_c49f9e68-5eac-4201-bf86-b314ef5930ba.pdf
PDF
My Oxford Year- A Love Story Set in the Halls of Oxford
PDF
Ct.pdffffffffffffffffffffffffffffffffffff
PPTX
The story of Nomuzi and the way she was living
PDF
Gess1025.pdfdadaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
PPTX
SPARSH-SVNITs-Annual-Cultural-Fest presentation for orientation
PDF
Keanu Reeves Beyond the Legendary Hollywood Movie Star.pdf
DOC
NSCAD毕业证学历认证,温哥华岛大学毕业证国外证书制作申请
PDF
oppenheimer and the story of the atomic bomb
PPTX
shbthd htsh htrw hw htr 5w h5e 54 y.pptx
PPTX
What Makes an Entertainment App Addictive?
PDF
Rare Big Band Arrangers Who Revolutionized Big Band Music in USA.pdf
PDF
What is Rotoscoping Best Software for Rotoscoping in 2025.pdf
PDF
Rakshabandhan – Celebrating the Bond of Siblings - by Meenakshi Khakat
PDF
Between the Reels and the Revolution Enzo Zelocchi’s Unscripted Path Through ...
PDF
TAIPANQQ SITUS MUDAH MENANG DAN MUDAH MAXWIN SEGERA DAFTAR DI TAIPANQQ DAN RA...
PPTX
genderandsexuality.pptxjjjjjjjjjjjjjjjjjjjj
PRECISION AGRICULTURE- 1.pptx for agriculture
Download FL Studio Crack Latest version 2025
A New Kind of Director for a New Kind of World Why Enzo Zelocchi Matters More...
EVs U-5 ONE SHOT Notes_c49f9e68-5eac-4201-bf86-b314ef5930ba.pdf
My Oxford Year- A Love Story Set in the Halls of Oxford
Ct.pdffffffffffffffffffffffffffffffffffff
The story of Nomuzi and the way she was living
Gess1025.pdfdadaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
SPARSH-SVNITs-Annual-Cultural-Fest presentation for orientation
Keanu Reeves Beyond the Legendary Hollywood Movie Star.pdf
NSCAD毕业证学历认证,温哥华岛大学毕业证国外证书制作申请
oppenheimer and the story of the atomic bomb
shbthd htsh htrw hw htr 5w h5e 54 y.pptx
What Makes an Entertainment App Addictive?
Rare Big Band Arrangers Who Revolutionized Big Band Music in USA.pdf
What is Rotoscoping Best Software for Rotoscoping in 2025.pdf
Rakshabandhan – Celebrating the Bond of Siblings - by Meenakshi Khakat
Between the Reels and the Revolution Enzo Zelocchi’s Unscripted Path Through ...
TAIPANQQ SITUS MUDAH MENANG DAN MUDAH MAXWIN SEGERA DAFTAR DI TAIPANQQ DAN RA...
genderandsexuality.pptxjjjjjjjjjjjjjjjjjjjj

Activity Diagram tutorial part 3

  • 1. Using Activity Diagrams to Model Use Cases Visually Part 3: Ignoring the Variable Details by Declan Chellar
  • 2. Our activity diagrams model the Actor/System interactions within a Software Use Case.
  • 3. In this example, “Add Address”, we model only the logical interactions between the Actor and the System
  • 4. There may be variations in the kind of data that makes up an address, for example, addresses in different countries…
  • 5. …but those details are documented as part of the data requirements for the relevant step.
  • 6. And they should not distract from the logic of the process itself by appearing in the activity diagram.
  • 7. The same is true for any business rules which might affect the flow.
  • 8. Or any messages that the System might need to display to the Actor.
  • 9. This activity diagram tells us the essential nature of the process without clogging it up with data options, business rules, button clicks and on- screen messages.
  • 10. Any of those things can change in the future without the proces s itself changing.
  • 11. But analysts who lack experience in drawing activity diagrams often treat every possible data and screen option as if it were an alternate path through the use case.
  • 12. Imagine we could capture two types of address in our use case: An Irish address, which does not use post codes, and a UK address, which does.
  • 13. Modelling those data differences as alternate paths results in a much more complicated activity diagram, which is harder to follow without really providing any extra information.
  • 14. Very inexperienced analysts sometimes even try to model the capture of every item of data as a separate step in the process!
  • 15. If we modelled our activity diagram like this, look what would happen if we had to add a third address type…
  • 17. By the way, if your activity diagram contains alternate flows hanging off alternate flows, it’s a sign that something may be wrong.
  • 18. Another mistake is to try to model each data/business rule/screen variance as a different use case.
  • 19. This adds effort to the modelling task without adding clarity. Indeed, it reduces clarity and increases maintenance and development effort.
  • 20. When you model it this way, it doesn’t matter how many different address types get added to the data model, or whether the definition of “Valid” changes or whether the on-screen messages change.
  • 21. One thing needs to remain absolutely clear…
  • 22. This is not an alternative way of modelling a use case… It is plain wrong!
  • 23. This is not an alternative way of modelling a use case… It is plain wrong!