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

Call Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service AvailableCall Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service AvailableDipal Arora
 
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...Dave Litwiller
 
VIP Kolkata Call Girl Howrah 👉 8250192130 Available With Room
VIP Kolkata Call Girl Howrah 👉 8250192130  Available With RoomVIP Kolkata Call Girl Howrah 👉 8250192130  Available With Room
VIP Kolkata Call Girl Howrah 👉 8250192130 Available With Roomdivyansh0kumar0
 
Value Proposition canvas- Customer needs and pains
Value Proposition canvas- Customer needs and painsValue Proposition canvas- Customer needs and pains
Value Proposition canvas- Customer needs and painsP&CO
 
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...lizamodels9
 
Monthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptxMonthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptxAndy Lambert
 
Regression analysis: Simple Linear Regression Multiple Linear Regression
Regression analysis:  Simple Linear Regression Multiple Linear RegressionRegression analysis:  Simple Linear Regression Multiple Linear Regression
Regression analysis: Simple Linear Regression Multiple Linear RegressionRavindra Nath Shukla
 
A DAY IN THE LIFE OF A SALESMAN / WOMAN
A DAY IN THE LIFE OF A  SALESMAN / WOMANA DAY IN THE LIFE OF A  SALESMAN / WOMAN
A DAY IN THE LIFE OF A SALESMAN / WOMANIlamathiKannappan
 
Best Basmati Rice Manufacturers in India
Best Basmati Rice Manufacturers in IndiaBest Basmati Rice Manufacturers in India
Best Basmati Rice Manufacturers in IndiaShree Krishna Exports
 
Cash Payment 9602870969 Escort Service in Udaipur Call Girls
Cash Payment 9602870969 Escort Service in Udaipur Call GirlsCash Payment 9602870969 Escort Service in Udaipur Call Girls
Cash Payment 9602870969 Escort Service in Udaipur Call GirlsApsara Of India
 
Insurers' journeys to build a mastery in the IoT usage
Insurers' journeys to build a mastery in the IoT usageInsurers' journeys to build a mastery in the IoT usage
Insurers' journeys to build a mastery in the IoT usageMatteo Carbone
 
Tech Startup Growth Hacking 101 - Basics on Growth Marketing
Tech Startup Growth Hacking 101  - Basics on Growth MarketingTech Startup Growth Hacking 101  - Basics on Growth Marketing
Tech Startup Growth Hacking 101 - Basics on Growth MarketingShawn Pang
 
Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...
Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...
Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...Lviv Startup Club
 
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRLMONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRLSeo
 
Boost the utilization of your HCL environment by reevaluating use cases and f...
Boost the utilization of your HCL environment by reevaluating use cases and f...Boost the utilization of your HCL environment by reevaluating use cases and f...
Boost the utilization of your HCL environment by reevaluating use cases and f...Roland Driesen
 
Monte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSMMonte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSMRavindra Nath Shukla
 
BEST ✨ Call Girls In Indirapuram Ghaziabad ✔️ 9871031762 ✔️ Escorts Service...
BEST ✨ Call Girls In  Indirapuram Ghaziabad  ✔️ 9871031762 ✔️ Escorts Service...BEST ✨ Call Girls In  Indirapuram Ghaziabad  ✔️ 9871031762 ✔️ Escorts Service...
BEST ✨ Call Girls In Indirapuram Ghaziabad ✔️ 9871031762 ✔️ Escorts Service...noida100girls
 
Event mailer assignment progress report .pdf
Event mailer assignment progress report .pdfEvent mailer assignment progress report .pdf
Event mailer assignment progress report .pdftbatkhuu1
 
VIP Call Girls In Saharaganj ( Lucknow ) 🔝 8923113531 🔝 Cash Payment (COD) 👒
VIP Call Girls In Saharaganj ( Lucknow  ) 🔝 8923113531 🔝  Cash Payment (COD) 👒VIP Call Girls In Saharaganj ( Lucknow  ) 🔝 8923113531 🔝  Cash Payment (COD) 👒
VIP Call Girls In Saharaganj ( Lucknow ) 🔝 8923113531 🔝 Cash Payment (COD) 👒anilsa9823
 

Último (20)

Call Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service AvailableCall Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
 
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
 
VIP Kolkata Call Girl Howrah 👉 8250192130 Available With Room
VIP Kolkata Call Girl Howrah 👉 8250192130  Available With RoomVIP Kolkata Call Girl Howrah 👉 8250192130  Available With Room
VIP Kolkata Call Girl Howrah 👉 8250192130 Available With Room
 
Value Proposition canvas- Customer needs and pains
Value Proposition canvas- Customer needs and painsValue Proposition canvas- Customer needs and pains
Value Proposition canvas- Customer needs and pains
 
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
 
Monthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptxMonthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptx
 
Regression analysis: Simple Linear Regression Multiple Linear Regression
Regression analysis:  Simple Linear Regression Multiple Linear RegressionRegression analysis:  Simple Linear Regression Multiple Linear Regression
Regression analysis: Simple Linear Regression Multiple Linear Regression
 
A DAY IN THE LIFE OF A SALESMAN / WOMAN
A DAY IN THE LIFE OF A  SALESMAN / WOMANA DAY IN THE LIFE OF A  SALESMAN / WOMAN
A DAY IN THE LIFE OF A SALESMAN / WOMAN
 
Nepali Escort Girl Kakori \ 9548273370 Indian Call Girls Service Lucknow ₹,9517
Nepali Escort Girl Kakori \ 9548273370 Indian Call Girls Service Lucknow ₹,9517Nepali Escort Girl Kakori \ 9548273370 Indian Call Girls Service Lucknow ₹,9517
Nepali Escort Girl Kakori \ 9548273370 Indian Call Girls Service Lucknow ₹,9517
 
Best Basmati Rice Manufacturers in India
Best Basmati Rice Manufacturers in IndiaBest Basmati Rice Manufacturers in India
Best Basmati Rice Manufacturers in India
 
Cash Payment 9602870969 Escort Service in Udaipur Call Girls
Cash Payment 9602870969 Escort Service in Udaipur Call GirlsCash Payment 9602870969 Escort Service in Udaipur Call Girls
Cash Payment 9602870969 Escort Service in Udaipur Call Girls
 
Insurers' journeys to build a mastery in the IoT usage
Insurers' journeys to build a mastery in the IoT usageInsurers' journeys to build a mastery in the IoT usage
Insurers' journeys to build a mastery in the IoT usage
 
Tech Startup Growth Hacking 101 - Basics on Growth Marketing
Tech Startup Growth Hacking 101  - Basics on Growth MarketingTech Startup Growth Hacking 101  - Basics on Growth Marketing
Tech Startup Growth Hacking 101 - Basics on Growth Marketing
 
Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...
Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...
Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...
 
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRLMONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
 
Boost the utilization of your HCL environment by reevaluating use cases and f...
Boost the utilization of your HCL environment by reevaluating use cases and f...Boost the utilization of your HCL environment by reevaluating use cases and f...
Boost the utilization of your HCL environment by reevaluating use cases and f...
 
Monte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSMMonte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSM
 
BEST ✨ Call Girls In Indirapuram Ghaziabad ✔️ 9871031762 ✔️ Escorts Service...
BEST ✨ Call Girls In  Indirapuram Ghaziabad  ✔️ 9871031762 ✔️ Escorts Service...BEST ✨ Call Girls In  Indirapuram Ghaziabad  ✔️ 9871031762 ✔️ Escorts Service...
BEST ✨ Call Girls In Indirapuram Ghaziabad ✔️ 9871031762 ✔️ Escorts Service...
 
Event mailer assignment progress report .pdf
Event mailer assignment progress report .pdfEvent mailer assignment progress report .pdf
Event mailer assignment progress report .pdf
 
VIP Call Girls In Saharaganj ( Lucknow ) 🔝 8923113531 🔝 Cash Payment (COD) 👒
VIP Call Girls In Saharaganj ( Lucknow  ) 🔝 8923113531 🔝  Cash Payment (COD) 👒VIP Call Girls In Saharaganj ( Lucknow  ) 🔝 8923113531 🔝  Cash Payment (COD) 👒
VIP Call Girls In Saharaganj ( Lucknow ) 🔝 8923113531 🔝 Cash Payment (COD) 👒
 

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.