SlideShare uma empresa Scribd logo
1 de 34
Using Activity Diagrams to
Model Use Cases Visually
Part 2: Model the logical interactions
by Declan Chellar
Our activity diagrams model
the Actor/System interactions
within a System Use Case.
Actor needs to do
something
System responds
by asking for some
information
Actor provides
information
System does
something with
the information
Our activity diagrams model
the Actor/System interactions
within a System Use Case.
The System neither knows nor
cares where the Actor gets
the customer details.
Analogy: A chef does not care what the waiter
says to the diner. The chef only cares about
what the waiter writes on the order slip.
Analogy: A chef does not care what the waiter
says to the diner. The chef only cares about
what the waiter writes on the order slip.
The Actor
Analogy: A chef does not care what the waiter
says to the diner. The chef only cares about
what the waiter writes on the order slip.
The System The Actor
Actor elects to Add Customer
System requests
customer details
Actor asks
customer for
details
Customer provides
details to Actor
Actor provides
customer details to
System
The System neither knows nor
cares where the Actor gets
the customer details
Interactions outside the
Actor/System relationship
belong in other models.
Actor elects to Add Customer
System requests
customer details
Actor asks
customer for
details
Customer provides
details to Actor
Actor provides
customer details to
System
The highlighted steps belong
in a low-level business
process diagram, not an
activity diagram.
Actor elects to Add Customer
System requests
customer details
Actor asks
customer for
details
Customer provides
details to Actor
Actor provides
customer details to
System
Much better!
Actor elects to Add Customer
System requests
customer details
Actor provides
customer details
Actor elects to Add Customer
Actor provides
customer details
System connects
to CRM System
database
System saves
customer details to
CRM System
database
CRM System
confirms customer
detals saved
Similarly, the Actor neither
knows nor cares what the
System has to do to produce
the result the Actor needs.
System confirms
customer detals
saved
Analogy: The waiter does not care what
the chef has to do in the kitchen to
produce the order.
Actor elects to Add Customer
Actor provides
customer details
System connects
to CRM System
database
System saves
customer details to
CRM System
database
CRM System
confirms customer
detals saved
System confirms
customer detals
saved
The highlighted steps belong
in a Technical Use Case, not
an activity diagram.
Actor elects to Add Customer
Actor provides
customer details
System saves
customer details to
CRM System
database
System confirms
customer detals
saved
Much better!
Actor elects to Add Customer
Actor provides
customer details
System saves
customer details to
CRM System
database
System confirms
customer detals
saved
But wait!
Actor elects to Add Customer
Actor provides
customer details
System saves
customer details to
CRM System
database
System confirms
customer detals
saved
Our diagram should be
technology-agnostic
Actor elects to Add Customer
Actor provides
customer details
System saves
customer details to
CRM System
database
System confirms
customer detals
saved
The steps and text of our
diagram should remain valid
even if the technology
changes, so we remove any
reference to technology.
Our activity diagram should
only model the logical
interactions between the
Actor and the System.
Our activity diagram should
only model the logical
interactions between the
Actor and the System.
Actor needs to do
something
System responds
by asking for some
information
Actor provides
information
System does
something with
the information
The physical layout of how
that interaction occurs is not
relevant at this level.
Actor clicks on the
“Do something”
button
System responds
by asking for some
information
Actor provides
information
System does
something with
the information
Screen design in an activity
diagram draws focus away
from the logic of the System
Use Case and must be
avoided.
Actor clicks on the
“Do Something”
button
System responds
by asking for some
information
Actor provides
information
System does
something with
the information
We simply don’t care at this
point whether it’s a button or
a hyperlink or an item in a
drop-down list!
We also don’t care about
steps that model the screen
flow and field validations.
Actor clicks on the
“Do something”
button
System responds
by asking for some
information
Actor provides
information
System checks whether
Actor provided
mandatory information
System does
something with
the information
System displays
error message
Actor clicks on the
“Do something”
button
System responds
by asking for some
information
Actor provides
information
System checks whether
Actor provided
mandatory information
System does
something with
the information
System displays
error message
Actor clicks on the
“Do something”
button
System responds
by asking for some
information
Actor provides
information
System does
something with
the information
Much better!
Actor clicks on the
“Do something”
button
System responds
by asking for some
information
Actor provides
information
System checks whether
Actor provided
mandatory information
System does
something with
the information
System displays
error message
Of course we don’t lose these
screen flow details. We
capture them in a screen flow
diagram, not an activity
diagram.
SUMMARY
1. Interactions between the Actor and a third
party should be modelled in a low-level
business process model.
SUMMARY
1. Interactions between the Actor and a third
party should be modelled in a low-level
business process model.
2. What the System has to do in the “kitchen”
to produce a result for the Actor should be
modelled within a Technical Use Case.
SUMMARY
1. Interactions between the Actor and a third
party should be modelled in a low-level
business process model.
2. What the System has to do in the “kitchen”
to produce a result for the Actor should be
modelled within a Technical Use Case.
3. Avoid references to widgets on screens.
SUMMARY
1. Interactions between the Actor and a third
party should be modelled in a low-level
business process model.
2. What the System has to do in the “kitchen”
to produce a result for the Actor should be
modelled within a Technical Use Case.
3. Avoid references to widgets on screens.
4. Screen flow should be modelled in a screen
flow diagram.
SUMMARY
1. Interactions between the Actor and a third
party should be modelled in a low-level
business process model.
2. What the System has to do in the “kitchen”
to produce a result for the Actor should be
modelled within a Technical Use Case.
3. Avoid references to widgets on screens.
4. Screen flow should be modelled in a screen
flow diagram.
www.chellar.com/blog

Mais conteúdo relacionado

Mais procurados

Database Modeling presentation
Database Modeling  presentationDatabase Modeling  presentation
Database Modeling presentationBhavishya Tyagi
 
Use Case Diagram Templates by Creately
Use Case Diagram Templates by CreatelyUse Case Diagram Templates by Creately
Use Case Diagram Templates by CreatelyCreately
 
Use Case and Activity Diagrams Modeling Notation
Use Case and Activity Diagrams Modeling NotationUse Case and Activity Diagrams Modeling Notation
Use Case and Activity Diagrams Modeling NotationLeslie Munday
 
Use case diagrams
Use case diagramsUse case diagrams
Use case diagramsMir Majid
 
Use Case and Activity Diagrams Modeling Notation
Use Case and Activity Diagrams Modeling NotationUse Case and Activity Diagrams Modeling Notation
Use Case and Activity Diagrams Modeling NotationLeslie Munday
 
Lecture04- Use Case Diagrams
Lecture04- Use Case DiagramsLecture04- Use Case Diagrams
Lecture04- Use Case Diagramsartgreen
 
Class Diagram Templates by Creately
Class Diagram Templates by CreatelyClass Diagram Templates by Creately
Class Diagram Templates by CreatelyCreately
 
Hr profile option
Hr profile optionHr profile option
Hr profile optionFeras Ahmad
 
Lecture 15 requirements modeling - scenario, information and analysis class...
Lecture 15   requirements modeling - scenario, information and analysis class...Lecture 15   requirements modeling - scenario, information and analysis class...
Lecture 15 requirements modeling - scenario, information and analysis class...IIUI
 
Lecture 13 requirements modeling - flow & behavior (2)
Lecture 13   requirements modeling - flow &  behavior (2)Lecture 13   requirements modeling - flow &  behavior (2)
Lecture 13 requirements modeling - flow & behavior (2)IIUI
 
Use Case Diagram
Use Case DiagramUse Case Diagram
Use Case DiagramKumar
 
Use case Diagram
Use case Diagram Use case Diagram
Use case Diagram Rahul Pola
 
Use case modeling & analysis v 1
Use case modeling & analysis v 1Use case modeling & analysis v 1
Use case modeling & analysis v 1JIGAR MAKHIJA
 

Mais procurados (19)

Database Modeling presentation
Database Modeling  presentationDatabase Modeling  presentation
Database Modeling presentation
 
Use Case Diagram Templates by Creately
Use Case Diagram Templates by CreatelyUse Case Diagram Templates by Creately
Use Case Diagram Templates by Creately
 
Use Cases
Use CasesUse Cases
Use Cases
 
Use Case and Activity Diagrams Modeling Notation
Use Case and Activity Diagrams Modeling NotationUse Case and Activity Diagrams Modeling Notation
Use Case and Activity Diagrams Modeling Notation
 
Use case diagrams
Use case diagramsUse case diagrams
Use case diagrams
 
Use Case and Activity Diagrams Modeling Notation
Use Case and Activity Diagrams Modeling NotationUse Case and Activity Diagrams Modeling Notation
Use Case and Activity Diagrams Modeling Notation
 
Lecture04- Use Case Diagrams
Lecture04- Use Case DiagramsLecture04- Use Case Diagrams
Lecture04- Use Case Diagrams
 
Uml
UmlUml
Uml
 
Class Diagram Templates by Creately
Class Diagram Templates by CreatelyClass Diagram Templates by Creately
Class Diagram Templates by Creately
 
Hr profile option
Hr profile optionHr profile option
Hr profile option
 
Lecture 15 requirements modeling - scenario, information and analysis class...
Lecture 15   requirements modeling - scenario, information and analysis class...Lecture 15   requirements modeling - scenario, information and analysis class...
Lecture 15 requirements modeling - scenario, information and analysis class...
 
Lecture 13 requirements modeling - flow & behavior (2)
Lecture 13   requirements modeling - flow &  behavior (2)Lecture 13   requirements modeling - flow &  behavior (2)
Lecture 13 requirements modeling - flow & behavior (2)
 
Sdlc
SdlcSdlc
Sdlc
 
Use Case Diagram
Use Case DiagramUse Case Diagram
Use Case Diagram
 
Use case Diagram
Use case Diagram Use case Diagram
Use case Diagram
 
Introduction to UML
Introduction to UMLIntroduction to UML
Introduction to UML
 
Lecture05
Lecture05Lecture05
Lecture05
 
Uml doc
Uml docUml doc
Uml doc
 
Use case modeling & analysis v 1
Use case modeling & analysis v 1Use case modeling & analysis v 1
Use case modeling & analysis v 1
 

Destaque

Activity Diagram
Activity DiagramActivity Diagram
Activity DiagramAshesh R
 
Uml Activity Diagram
Uml Activity DiagramUml Activity Diagram
Uml Activity DiagramNiloy Rocker
 
Activity diagram-UML diagram
Activity diagram-UML diagramActivity diagram-UML diagram
Activity diagram-UML diagramRamakant Soni
 
Mgi unleashing indonesia_potential_full_report
Mgi unleashing indonesia_potential_full_reportMgi unleashing indonesia_potential_full_report
Mgi unleashing indonesia_potential_full_reportMaoelana Noermoehammad
 
Uml tutorial (1) (1)
Uml tutorial (1) (1)Uml tutorial (1) (1)
Uml tutorial (1) (1)IIUM
 
Enhancement of Action Description Language for UML Activity Diagram Review
Enhancement of Action Description Language for UML Activity Diagram ReviewEnhancement of Action Description Language for UML Activity Diagram Review
Enhancement of Action Description Language for UML Activity Diagram ReviewChinnapat Kaewchinporn
 
UML Diagram @ Software engineering discussion
UML Diagram @ Software engineering discussionUML Diagram @ Software engineering discussion
UML Diagram @ Software engineering discussionCherryBerry2
 
Business Process Modeling
Business Process ModelingBusiness Process Modeling
Business Process Modelingguest2c3da5c7
 
Business Process Modeling
Business Process ModelingBusiness Process Modeling
Business Process ModelingAng Chen
 
Activity diagram tutorial
Activity diagram tutorialActivity diagram tutorial
Activity diagram tutorialDeclan Chellar
 
Sequence diagram
Sequence diagramSequence diagram
Sequence diagramRahul Pola
 
Activity Diagram Templates by Creately
Activity Diagram Templates by CreatelyActivity Diagram Templates by Creately
Activity Diagram Templates by CreatelyCreately
 
Modeling techniques forthe business analyst
Modeling techniques forthe business analystModeling techniques forthe business analyst
Modeling techniques forthe business analystbestip
 
Basic Statistical Process Control
Basic Statistical Process ControlBasic Statistical Process Control
Basic Statistical Process ControlStephen Deas
 
INTRODUCTION TO UML DIAGRAMS
INTRODUCTION TO UML DIAGRAMSINTRODUCTION TO UML DIAGRAMS
INTRODUCTION TO UML DIAGRAMSAshita Agrawal
 

Destaque (20)

Activity Diagram
Activity DiagramActivity Diagram
Activity Diagram
 
Uml Activity Diagram
Uml Activity DiagramUml Activity Diagram
Uml Activity Diagram
 
Activity diagram-UML diagram
Activity diagram-UML diagramActivity diagram-UML diagram
Activity diagram-UML diagram
 
Mgi unleashing indonesia_potential_full_report
Mgi unleashing indonesia_potential_full_reportMgi unleashing indonesia_potential_full_report
Mgi unleashing indonesia_potential_full_report
 
Uml tutorial (1) (1)
Uml tutorial (1) (1)Uml tutorial (1) (1)
Uml tutorial (1) (1)
 
TD-635-03-PSBO
TD-635-03-PSBOTD-635-03-PSBO
TD-635-03-PSBO
 
Enhancement of Action Description Language for UML Activity Diagram Review
Enhancement of Action Description Language for UML Activity Diagram ReviewEnhancement of Action Description Language for UML Activity Diagram Review
Enhancement of Action Description Language for UML Activity Diagram Review
 
UML Diagram @ Software engineering discussion
UML Diagram @ Software engineering discussionUML Diagram @ Software engineering discussion
UML Diagram @ Software engineering discussion
 
Uml sequence diagrams
Uml sequence diagramsUml sequence diagrams
Uml sequence diagrams
 
Business Process Modeling
Business Process ModelingBusiness Process Modeling
Business Process Modeling
 
Sequence diagrams
Sequence diagramsSequence diagrams
Sequence diagrams
 
Business Process Modeling
Business Process ModelingBusiness Process Modeling
Business Process Modeling
 
Activity diagram
Activity diagramActivity diagram
Activity diagram
 
Activity diagram tutorial
Activity diagram tutorialActivity diagram tutorial
Activity diagram tutorial
 
Sequence diagram
Sequence diagramSequence diagram
Sequence diagram
 
Activity Diagram Templates by Creately
Activity Diagram Templates by CreatelyActivity Diagram Templates by Creately
Activity Diagram Templates by Creately
 
Modeling techniques forthe business analyst
Modeling techniques forthe business analystModeling techniques forthe business analyst
Modeling techniques forthe business analyst
 
Sequence diagrams in UML
Sequence diagrams in UMLSequence diagrams in UML
Sequence diagrams in UML
 
Basic Statistical Process Control
Basic Statistical Process ControlBasic Statistical Process Control
Basic Statistical Process Control
 
INTRODUCTION TO UML DIAGRAMS
INTRODUCTION TO UML DIAGRAMSINTRODUCTION TO UML DIAGRAMS
INTRODUCTION TO UML DIAGRAMS
 

Semelhante a Activity diagram tutorial part 2

Combined UseCase Description, MockUp Screens & System Sequence Diagram
Combined UseCase Description, MockUp Screens & System Sequence DiagramCombined UseCase Description, MockUp Screens & System Sequence Diagram
Combined UseCase Description, MockUp Screens & System Sequence DiagramPutcha Narasimham
 
What is a_use_case
What is a_use_caseWhat is a_use_case
What is a_use_casehaifa2 riyad
 
SAD06 - Use Case Diagrams
SAD06 - Use Case DiagramsSAD06 - Use Case Diagrams
SAD06 - Use Case DiagramsMichael Heron
 
Use case diagrams 2014
Use case diagrams 2014Use case diagrams 2014
Use case diagrams 2014Inge Powell
 
Obey The Rules: Implementing a Rules Engine in Flex
Obey The Rules: Implementing a Rules Engine in FlexObey The Rules: Implementing a Rules Engine in Flex
Obey The Rules: Implementing a Rules Engine in FlexRJ Owen
 
Flex 360 Rules Engine
Flex 360 Rules EngineFlex 360 Rules Engine
Flex 360 Rules EngineEffectiveUI
 
Flex 360 Rules Engine
Flex 360 Rules EngineFlex 360 Rules Engine
Flex 360 Rules EngineEffective
 
1_Use-Case (1).pdf
1_Use-Case (1).pdf1_Use-Case (1).pdf
1_Use-Case (1).pdfSaeedAtrab
 
Job Portal
Job PortalJob Portal
Job PortalNA
 
05 use-case-modeling-1mon
05 use-case-modeling-1mon05 use-case-modeling-1mon
05 use-case-modeling-1monTuul Tuka
 
05 use-case-modeling-1mon
05 use-case-modeling-1mon05 use-case-modeling-1mon
05 use-case-modeling-1monTuul Tuka
 
Unit 3 system models
Unit 3 system modelsUnit 3 system models
Unit 3 system modelsAzhar Shaik
 
Lesson02_Use Case Diagrams
Lesson02_Use Case DiagramsLesson02_Use Case Diagrams
Lesson02_Use Case DiagramsMarwa Ali Eissa
 
Use Case Analysis and Diagramming
 Use Case Analysis and Diagramming Use Case Analysis and Diagramming
Use Case Analysis and DiagrammingOrnella Dunn
 
Lecture04- Use Case Diagrams
Lecture04- Use Case DiagramsLecture04- Use Case Diagrams
Lecture04- Use Case Diagramsartgreen
 

Semelhante a Activity diagram tutorial part 2 (20)

Use case basics
Use case basicsUse case basics
Use case basics
 
Combined UseCase Description, MockUp Screens & System Sequence Diagram
Combined UseCase Description, MockUp Screens & System Sequence DiagramCombined UseCase Description, MockUp Screens & System Sequence Diagram
Combined UseCase Description, MockUp Screens & System Sequence Diagram
 
What is a_use_case
What is a_use_caseWhat is a_use_case
What is a_use_case
 
Use Case UML Diagram
Use Case UML DiagramUse Case UML Diagram
Use Case UML Diagram
 
SAD06 - Use Case Diagrams
SAD06 - Use Case DiagramsSAD06 - Use Case Diagrams
SAD06 - Use Case Diagrams
 
Use case diagrams 2014
Use case diagrams 2014Use case diagrams 2014
Use case diagrams 2014
 
Obey The Rules: Implementing a Rules Engine in Flex
Obey The Rules: Implementing a Rules Engine in FlexObey The Rules: Implementing a Rules Engine in Flex
Obey The Rules: Implementing a Rules Engine in Flex
 
Flex 360 Rules Engine
Flex 360 Rules EngineFlex 360 Rules Engine
Flex 360 Rules Engine
 
Flex 360 Rules Engine
Flex 360 Rules EngineFlex 360 Rules Engine
Flex 360 Rules Engine
 
Jar chapter 3
Jar chapter 3Jar chapter 3
Jar chapter 3
 
1_Use-Case (1).pdf
1_Use-Case (1).pdf1_Use-Case (1).pdf
1_Use-Case (1).pdf
 
Job Portal
Job PortalJob Portal
Job Portal
 
05 use-case-modeling-1mon
05 use-case-modeling-1mon05 use-case-modeling-1mon
05 use-case-modeling-1mon
 
05 use-case-modeling-1mon
05 use-case-modeling-1mon05 use-case-modeling-1mon
05 use-case-modeling-1mon
 
Day01 01 software requirement concepts
Day01 01 software requirement conceptsDay01 01 software requirement concepts
Day01 01 software requirement concepts
 
Unit 3 system models
Unit 3 system modelsUnit 3 system models
Unit 3 system models
 
Use case Modeling
Use case ModelingUse case Modeling
Use case Modeling
 
Lesson02_Use Case Diagrams
Lesson02_Use Case DiagramsLesson02_Use Case Diagrams
Lesson02_Use Case Diagrams
 
Use Case Analysis and Diagramming
 Use Case Analysis and Diagramming Use Case Analysis and Diagramming
Use Case Analysis and Diagramming
 
Lecture04- Use Case Diagrams
Lecture04- Use Case DiagramsLecture04- Use Case Diagrams
Lecture04- Use Case Diagrams
 

Mais de Declan Chellar

Business analysis is about more than software requirements
Business analysis is about more than software requirementsBusiness analysis is about more than software requirements
Business analysis is about more than software requirementsDeclan Chellar
 
BPMN 2.0 - an introduction to the Level 1 Palette
BPMN 2.0 - an introduction to the Level 1 PaletteBPMN 2.0 - an introduction to the Level 1 Palette
BPMN 2.0 - an introduction to the Level 1 PaletteDeclan Chellar
 
Defining process scope
Defining process scopeDefining process scope
Defining process scopeDeclan Chellar
 
BPMN in Pegasystems' PRPC Flow Rules
BPMN in Pegasystems' PRPC Flow RulesBPMN in Pegasystems' PRPC Flow Rules
BPMN in Pegasystems' PRPC Flow RulesDeclan Chellar
 
Process Model versus PRPC Discovery Map
Process Model versus PRPC Discovery MapProcess Model versus PRPC Discovery Map
Process Model versus PRPC Discovery MapDeclan Chellar
 
Tracing Data Requirements
Tracing Data RequirementsTracing Data Requirements
Tracing Data RequirementsDeclan Chellar
 
The Importance of Data Analysis in Producing a Robust Physical Data Model
The Importance of Data Analysis in Producing a Robust Physical Data ModelThe Importance of Data Analysis in Producing a Robust Physical Data Model
The Importance of Data Analysis in Producing a Robust Physical Data ModelDeclan Chellar
 
A Tale Of Two Projects
A Tale Of Two ProjectsA Tale Of Two Projects
A Tale Of Two ProjectsDeclan Chellar
 

Mais de Declan Chellar (9)

Business analysis is about more than software requirements
Business analysis is about more than software requirementsBusiness analysis is about more than software requirements
Business analysis is about more than software requirements
 
BPMN 2.0 - an introduction to the Level 1 Palette
BPMN 2.0 - an introduction to the Level 1 PaletteBPMN 2.0 - an introduction to the Level 1 Palette
BPMN 2.0 - an introduction to the Level 1 Palette
 
Defining process scope
Defining process scopeDefining process scope
Defining process scope
 
Iliad Book 1
Iliad Book 1Iliad Book 1
Iliad Book 1
 
BPMN in Pegasystems' PRPC Flow Rules
BPMN in Pegasystems' PRPC Flow RulesBPMN in Pegasystems' PRPC Flow Rules
BPMN in Pegasystems' PRPC Flow Rules
 
Process Model versus PRPC Discovery Map
Process Model versus PRPC Discovery MapProcess Model versus PRPC Discovery Map
Process Model versus PRPC Discovery Map
 
Tracing Data Requirements
Tracing Data RequirementsTracing Data Requirements
Tracing Data Requirements
 
The Importance of Data Analysis in Producing a Robust Physical Data Model
The Importance of Data Analysis in Producing a Robust Physical Data ModelThe Importance of Data Analysis in Producing a Robust Physical Data Model
The Importance of Data Analysis in Producing a Robust Physical Data Model
 
A Tale Of Two Projects
A Tale Of Two ProjectsA Tale Of Two Projects
A Tale Of Two Projects
 

Último

8447779800, Low rate Call girls in Kotla Mubarakpur Delhi NCR
8447779800, Low rate Call girls in Kotla Mubarakpur Delhi NCR8447779800, Low rate Call girls in Kotla Mubarakpur Delhi NCR
8447779800, Low rate Call girls in Kotla Mubarakpur Delhi NCRashishs7044
 
8447779800, Low rate Call girls in Tughlakabad Delhi NCR
8447779800, Low rate Call girls in Tughlakabad Delhi NCR8447779800, Low rate Call girls in Tughlakabad Delhi NCR
8447779800, Low rate Call girls in Tughlakabad Delhi NCRashishs7044
 
Marketplace and Quality Assurance Presentation - Vincent Chirchir
Marketplace and Quality Assurance Presentation - Vincent ChirchirMarketplace and Quality Assurance Presentation - Vincent Chirchir
Marketplace and Quality Assurance Presentation - Vincent Chirchirictsugar
 
Investment in The Coconut Industry by Nancy Cheruiyot
Investment in The Coconut Industry by Nancy CheruiyotInvestment in The Coconut Industry by Nancy Cheruiyot
Investment in The Coconut Industry by Nancy Cheruiyotictsugar
 
International Business Environments and Operations 16th Global Edition test b...
International Business Environments and Operations 16th Global Edition test b...International Business Environments and Operations 16th Global Edition test b...
International Business Environments and Operations 16th Global Edition test b...ssuserf63bd7
 
Case study on tata clothing brand zudio in detail
Case study on tata clothing brand zudio in detailCase study on tata clothing brand zudio in detail
Case study on tata clothing brand zudio in detailAriel592675
 
Global Scenario On Sustainable and Resilient Coconut Industry by Dr. Jelfina...
Global Scenario On Sustainable  and Resilient Coconut Industry by Dr. Jelfina...Global Scenario On Sustainable  and Resilient Coconut Industry by Dr. Jelfina...
Global Scenario On Sustainable and Resilient Coconut Industry by Dr. Jelfina...ictsugar
 
Cybersecurity Awareness Training Presentation v2024.03
Cybersecurity Awareness Training Presentation v2024.03Cybersecurity Awareness Training Presentation v2024.03
Cybersecurity Awareness Training Presentation v2024.03DallasHaselhorst
 
2024 Numerator Consumer Study of Cannabis Usage
2024 Numerator Consumer Study of Cannabis Usage2024 Numerator Consumer Study of Cannabis Usage
2024 Numerator Consumer Study of Cannabis UsageNeil Kimberley
 
IoT Insurance Observatory: summary 2024
IoT Insurance Observatory:  summary 2024IoT Insurance Observatory:  summary 2024
IoT Insurance Observatory: summary 2024Matteo Carbone
 
Kenya Coconut Production Presentation by Dr. Lalith Perera
Kenya Coconut Production Presentation by Dr. Lalith PereraKenya Coconut Production Presentation by Dr. Lalith Perera
Kenya Coconut Production Presentation by Dr. Lalith Pereraictsugar
 
(Best) ENJOY Call Girls in Faridabad Ex | 8377087607
(Best) ENJOY Call Girls in Faridabad Ex | 8377087607(Best) ENJOY Call Girls in Faridabad Ex | 8377087607
(Best) ENJOY Call Girls in Faridabad Ex | 8377087607dollysharma2066
 
Buy gmail accounts.pdf Buy Old Gmail Accounts
Buy gmail accounts.pdf Buy Old Gmail AccountsBuy gmail accounts.pdf Buy Old Gmail Accounts
Buy gmail accounts.pdf Buy Old Gmail AccountsBuy Verified Accounts
 
Market Sizes Sample Report - 2024 Edition
Market Sizes Sample Report - 2024 EditionMarket Sizes Sample Report - 2024 Edition
Market Sizes Sample Report - 2024 EditionMintel Group
 
8447779800, Low rate Call girls in Saket Delhi NCR
8447779800, Low rate Call girls in Saket Delhi NCR8447779800, Low rate Call girls in Saket Delhi NCR
8447779800, Low rate Call girls in Saket Delhi NCRashishs7044
 
Intro to BCG's Carbon Emissions Benchmark_vF.pdf
Intro to BCG's Carbon Emissions Benchmark_vF.pdfIntro to BCG's Carbon Emissions Benchmark_vF.pdf
Intro to BCG's Carbon Emissions Benchmark_vF.pdfpollardmorgan
 
Ten Organizational Design Models to align structure and operations to busines...
Ten Organizational Design Models to align structure and operations to busines...Ten Organizational Design Models to align structure and operations to busines...
Ten Organizational Design Models to align structure and operations to busines...Seta Wicaksana
 
Youth Involvement in an Innovative Coconut Value Chain by Mwalimu Menza
Youth Involvement in an Innovative Coconut Value Chain by Mwalimu MenzaYouth Involvement in an Innovative Coconut Value Chain by Mwalimu Menza
Youth Involvement in an Innovative Coconut Value Chain by Mwalimu Menzaictsugar
 
8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR
8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR
8447779800, Low rate Call girls in Shivaji Enclave Delhi NCRashishs7044
 

Último (20)

8447779800, Low rate Call girls in Kotla Mubarakpur Delhi NCR
8447779800, Low rate Call girls in Kotla Mubarakpur Delhi NCR8447779800, Low rate Call girls in Kotla Mubarakpur Delhi NCR
8447779800, Low rate Call girls in Kotla Mubarakpur Delhi NCR
 
8447779800, Low rate Call girls in Tughlakabad Delhi NCR
8447779800, Low rate Call girls in Tughlakabad Delhi NCR8447779800, Low rate Call girls in Tughlakabad Delhi NCR
8447779800, Low rate Call girls in Tughlakabad Delhi NCR
 
Marketplace and Quality Assurance Presentation - Vincent Chirchir
Marketplace and Quality Assurance Presentation - Vincent ChirchirMarketplace and Quality Assurance Presentation - Vincent Chirchir
Marketplace and Quality Assurance Presentation - Vincent Chirchir
 
Investment in The Coconut Industry by Nancy Cheruiyot
Investment in The Coconut Industry by Nancy CheruiyotInvestment in The Coconut Industry by Nancy Cheruiyot
Investment in The Coconut Industry by Nancy Cheruiyot
 
International Business Environments and Operations 16th Global Edition test b...
International Business Environments and Operations 16th Global Edition test b...International Business Environments and Operations 16th Global Edition test b...
International Business Environments and Operations 16th Global Edition test b...
 
Case study on tata clothing brand zudio in detail
Case study on tata clothing brand zudio in detailCase study on tata clothing brand zudio in detail
Case study on tata clothing brand zudio in detail
 
Global Scenario On Sustainable and Resilient Coconut Industry by Dr. Jelfina...
Global Scenario On Sustainable  and Resilient Coconut Industry by Dr. Jelfina...Global Scenario On Sustainable  and Resilient Coconut Industry by Dr. Jelfina...
Global Scenario On Sustainable and Resilient Coconut Industry by Dr. Jelfina...
 
No-1 Call Girls In Goa 93193 VIP 73153 Escort service In North Goa Panaji, Ca...
No-1 Call Girls In Goa 93193 VIP 73153 Escort service In North Goa Panaji, Ca...No-1 Call Girls In Goa 93193 VIP 73153 Escort service In North Goa Panaji, Ca...
No-1 Call Girls In Goa 93193 VIP 73153 Escort service In North Goa Panaji, Ca...
 
Cybersecurity Awareness Training Presentation v2024.03
Cybersecurity Awareness Training Presentation v2024.03Cybersecurity Awareness Training Presentation v2024.03
Cybersecurity Awareness Training Presentation v2024.03
 
2024 Numerator Consumer Study of Cannabis Usage
2024 Numerator Consumer Study of Cannabis Usage2024 Numerator Consumer Study of Cannabis Usage
2024 Numerator Consumer Study of Cannabis Usage
 
IoT Insurance Observatory: summary 2024
IoT Insurance Observatory:  summary 2024IoT Insurance Observatory:  summary 2024
IoT Insurance Observatory: summary 2024
 
Kenya Coconut Production Presentation by Dr. Lalith Perera
Kenya Coconut Production Presentation by Dr. Lalith PereraKenya Coconut Production Presentation by Dr. Lalith Perera
Kenya Coconut Production Presentation by Dr. Lalith Perera
 
(Best) ENJOY Call Girls in Faridabad Ex | 8377087607
(Best) ENJOY Call Girls in Faridabad Ex | 8377087607(Best) ENJOY Call Girls in Faridabad Ex | 8377087607
(Best) ENJOY Call Girls in Faridabad Ex | 8377087607
 
Buy gmail accounts.pdf Buy Old Gmail Accounts
Buy gmail accounts.pdf Buy Old Gmail AccountsBuy gmail accounts.pdf Buy Old Gmail Accounts
Buy gmail accounts.pdf Buy Old Gmail Accounts
 
Market Sizes Sample Report - 2024 Edition
Market Sizes Sample Report - 2024 EditionMarket Sizes Sample Report - 2024 Edition
Market Sizes Sample Report - 2024 Edition
 
8447779800, Low rate Call girls in Saket Delhi NCR
8447779800, Low rate Call girls in Saket Delhi NCR8447779800, Low rate Call girls in Saket Delhi NCR
8447779800, Low rate Call girls in Saket Delhi NCR
 
Intro to BCG's Carbon Emissions Benchmark_vF.pdf
Intro to BCG's Carbon Emissions Benchmark_vF.pdfIntro to BCG's Carbon Emissions Benchmark_vF.pdf
Intro to BCG's Carbon Emissions Benchmark_vF.pdf
 
Ten Organizational Design Models to align structure and operations to busines...
Ten Organizational Design Models to align structure and operations to busines...Ten Organizational Design Models to align structure and operations to busines...
Ten Organizational Design Models to align structure and operations to busines...
 
Youth Involvement in an Innovative Coconut Value Chain by Mwalimu Menza
Youth Involvement in an Innovative Coconut Value Chain by Mwalimu MenzaYouth Involvement in an Innovative Coconut Value Chain by Mwalimu Menza
Youth Involvement in an Innovative Coconut Value Chain by Mwalimu Menza
 
8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR
8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR
8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR
 

Activity diagram tutorial part 2

  • 1. Using Activity Diagrams to Model Use Cases Visually Part 2: Model the logical interactions by Declan Chellar
  • 2. Our activity diagrams model the Actor/System interactions within a System Use Case.
  • 3. Actor needs to do something System responds by asking for some information Actor provides information System does something with the information Our activity diagrams model the Actor/System interactions within a System Use Case.
  • 4. The System neither knows nor cares where the Actor gets the customer details.
  • 5. Analogy: A chef does not care what the waiter says to the diner. The chef only cares about what the waiter writes on the order slip.
  • 6. Analogy: A chef does not care what the waiter says to the diner. The chef only cares about what the waiter writes on the order slip. The Actor
  • 7. Analogy: A chef does not care what the waiter says to the diner. The chef only cares about what the waiter writes on the order slip. The System The Actor
  • 8. Actor elects to Add Customer System requests customer details Actor asks customer for details Customer provides details to Actor Actor provides customer details to System The System neither knows nor cares where the Actor gets the customer details
  • 9. Interactions outside the Actor/System relationship belong in other models. Actor elects to Add Customer System requests customer details Actor asks customer for details Customer provides details to Actor Actor provides customer details to System
  • 10. The highlighted steps belong in a low-level business process diagram, not an activity diagram. Actor elects to Add Customer System requests customer details Actor asks customer for details Customer provides details to Actor Actor provides customer details to System
  • 11. Much better! Actor elects to Add Customer System requests customer details Actor provides customer details
  • 12. Actor elects to Add Customer Actor provides customer details System connects to CRM System database System saves customer details to CRM System database CRM System confirms customer detals saved Similarly, the Actor neither knows nor cares what the System has to do to produce the result the Actor needs. System confirms customer detals saved
  • 13. Analogy: The waiter does not care what the chef has to do in the kitchen to produce the order.
  • 14. Actor elects to Add Customer Actor provides customer details System connects to CRM System database System saves customer details to CRM System database CRM System confirms customer detals saved System confirms customer detals saved The highlighted steps belong in a Technical Use Case, not an activity diagram.
  • 15. Actor elects to Add Customer Actor provides customer details System saves customer details to CRM System database System confirms customer detals saved Much better!
  • 16. Actor elects to Add Customer Actor provides customer details System saves customer details to CRM System database System confirms customer detals saved But wait!
  • 17. Actor elects to Add Customer Actor provides customer details System saves customer details to CRM System database System confirms customer detals saved Our diagram should be technology-agnostic
  • 18. Actor elects to Add Customer Actor provides customer details System saves customer details to CRM System database System confirms customer detals saved The steps and text of our diagram should remain valid even if the technology changes, so we remove any reference to technology.
  • 19. Our activity diagram should only model the logical interactions between the Actor and the System.
  • 20. Our activity diagram should only model the logical interactions between the Actor and the System. Actor needs to do something System responds by asking for some information Actor provides information System does something with the information
  • 21. The physical layout of how that interaction occurs is not relevant at this level.
  • 22. Actor clicks on the “Do something” button System responds by asking for some information Actor provides information System does something with the information Screen design in an activity diagram draws focus away from the logic of the System Use Case and must be avoided.
  • 23. Actor clicks on the “Do Something” button System responds by asking for some information Actor provides information System does something with the information We simply don’t care at this point whether it’s a button or a hyperlink or an item in a drop-down list!
  • 24. We also don’t care about steps that model the screen flow and field validations.
  • 25. Actor clicks on the “Do something” button System responds by asking for some information Actor provides information System checks whether Actor provided mandatory information System does something with the information System displays error message
  • 26. Actor clicks on the “Do something” button System responds by asking for some information Actor provides information System checks whether Actor provided mandatory information System does something with the information System displays error message
  • 27. Actor clicks on the “Do something” button System responds by asking for some information Actor provides information System does something with the information Much better!
  • 28. Actor clicks on the “Do something” button System responds by asking for some information Actor provides information System checks whether Actor provided mandatory information System does something with the information System displays error message Of course we don’t lose these screen flow details. We capture them in a screen flow diagram, not an activity diagram.
  • 29. SUMMARY 1. Interactions between the Actor and a third party should be modelled in a low-level business process model.
  • 30. SUMMARY 1. Interactions between the Actor and a third party should be modelled in a low-level business process model. 2. What the System has to do in the “kitchen” to produce a result for the Actor should be modelled within a Technical Use Case.
  • 31. SUMMARY 1. Interactions between the Actor and a third party should be modelled in a low-level business process model. 2. What the System has to do in the “kitchen” to produce a result for the Actor should be modelled within a Technical Use Case. 3. Avoid references to widgets on screens.
  • 32. SUMMARY 1. Interactions between the Actor and a third party should be modelled in a low-level business process model. 2. What the System has to do in the “kitchen” to produce a result for the Actor should be modelled within a Technical Use Case. 3. Avoid references to widgets on screens. 4. Screen flow should be modelled in a screen flow diagram.
  • 33. SUMMARY 1. Interactions between the Actor and a third party should be modelled in a low-level business process model. 2. What the System has to do in the “kitchen” to produce a result for the Actor should be modelled within a Technical Use Case. 3. Avoid references to widgets on screens. 4. Screen flow should be modelled in a screen flow diagram.