尊敬的 微信汇率:1円 ≈ 0.046166 元 支付宝汇率:1円 ≈ 0.046257元 [退出登录]
SlideShare a Scribd company logo
ActivityDiagramActivityDiagram
Preeti Mishra
Course Instructor
Definition
– Activity diagrams represent the dynamics of
the system.
– They are flow charts that are used to show
the workflow of a system.
– They show.
• The flow of control from activity to activity in the
system,
• What activities can be done in parallel.
• Alternate paths through the flow.
– They can show the flow across use cases or
within a use case.
Activity Diagram
• Core symbol is an activity.
• An activity is some task which
needs to be done.
• Each activity can be followed by
another activity (sequencing).
• Triggers from the activity may be
guarded as in state diagrams.
Decision Activities
• Diamond.
• Each trigger coming from it has a guard.
• Synchronisation bar.
• All triggers from this attach to activities
that can occur in parallel, with no specific
sequence, or concurrently.
• The next synchronisation bar closes the
concurrency.
• Iteration is represented by a * on the
trigger.
or
Activity Diagrams for
Use Cases
• They can be used for describing
either
– Use cases or
– Complicated methods
Find
Beverage
Put coffee
in filter
Add water
to reservoir
Drink
Beverage
Pour
coffee
Brew
coffee
Turn on
machine
Put filter
in machine
Get can
of cola
Get
cups
[found coffee]
[no coffee] [no cola]
Assign
to Order
Check line
item
Cancel
Order
Authorise
Payment
Reorder
item
Dispatch
Order
Receive
order
* for each
line
item on
order[faile
d]
[succee
ded]
[in
stock]
[need
to
reorde
r]
[stock
assigned
to all line
items
and payment
authorised]
Activity Diagram
for Receiving an
Order
Activity
Diagram
for
receiving
Supply
Choose outstanding
order items
Assign goods
to order
Add remainder
to stock
Receive
Supply
* for each
chosen order
item
[all
outstanding
order items
filled]
Dispatch
Order
Drawback
• Activity diagrams tell you what is
happening, but not who does what.
• In domain modeling, this diagram type
does not convey which people or
departments are responsible for each
activity.
• In programming, it does not convey
which class is responsible for each
activity.
Swimlanes
• Arrange activity diagrams into vertical
zones separated by dashed lines.
• Each zone represents the
responsibilities of a particular class or
department.
When to Use Activity
Diagrams
• Do use them for
– Analysing Use Cases.
– Understanding workflow across many Use
Cases.
– Dealing with multi-threaded applications.
• Don’t use them
– to see how objects collaborate.
– to see how an object behaves over its
lifetime.
Assign
to Order
Check line
item
Cancel
Order
Authorise
Payment
Choose
outstanding
order items
Assign goods
to order
Reorder
item
Add remainder
to stock
Dispatch
Order
Receive
Supply
Receive
order
Financ
e
Order
Processing
Stock
Manager
* for each
line
item on
order
[faile
d][succee
ded]
* for each
chosen order
item
[in
stock]
[need
to
reorde
r]
[stock
assigned
to all line
items
and payment
authorised]
[all
outstanding
order items
filled]With
Swimlanes
Placing an Activity
diagram
• Where?
– You can attach activity diagrams to most
model elements in the use case or logical
views.
– Activity diagrams cannot reside within the
component view.
• Why?
– Very effective in illustrating the workflow of
various events in a use-case diagram.
– You can use activity diagrams to specify
and define each event in a use-case
diagram.
Creating an activity
diagram
• Modelling a workflow in an activity
diagram
– Identify a workflow objective.
– Decide the pre and post-conditions of the
workflow.
– Define all activities and states.
– Define any objects that are created or
modified.
– Decide on responsibility for performing the
activities.
– Connect all elements on the diagram with
transitions.
– Place decisions on the diagram.
– Evaluate your diagram for concurrent
Identify a workflow
objective.
– "What needs to take place or happen
by the end of the workflow? What
needs to be accomplished?“
– For example, if your activity diagram
models the workflow of ordering a
book from an online bookstore, the
goal of the entire workflow could be
getting the book to the customer.
– What is the goal in the claims
system?
– What are the goals in the tennis club?
2. Workflow pre and
post-conditions
– Define pre and post conditions of the
workflow through a start state and an end
state.
– In most cases, activity diagrams have a
flowchart structure so start and end states
are used to designate the beginning and
ending of the workflow.
– Start and end states clarify the perimeter of
the workflow.
– What is the pre-condition of the main
workflow in
• The claims system?
• The tennis club?
Define activities and
states
• Define and recognize all activities
and states that must take place to
meet your objective. Place and
name them on the activity
diagram in a logical order.
• Are there intermediate states in
the claims / tennis club systems?
Identify persistent
object operations
• Define and diagram any objects
that are created or modified within
your activity diagram.
• Connect the objects and activities
with object flows.
Add swimlanes
• Decide who or what is responsible for
performing the activities and states
through swimlanes.
• Name each swimlane and place the
appropriate activities and states within
each swimlane.
• Identify swimlanes for
– The tennis club workflow
– The claims workflow
Finish diagram
• Connect all elements on the diagram with
transitions.
• Place decisions on the diagram where the
workflow may split into an alternate flow.
– E.g. based on a Boolean expression, the workflow
could branch to a different workflow.
• Evaluate your diagram and see if you have
any concurrent workflows. If so, use
synchronizations to represent forking and
joining.
• Set all actions, triggers and guard conditions
in the specifications of each model element.
Activity diag

More Related Content

What's hot

Waterfall model in SDLC
Waterfall model in SDLCWaterfall model in SDLC
Waterfall model in SDLC
HND Assignment Help
 
SCRUM User Story Life Cycle
SCRUM User Story Life CycleSCRUM User Story Life Cycle
SCRUM User Story Life Cycle
Kristen Varona
 
Prototype model 130714101556-phpapp02
Prototype model 130714101556-phpapp02Prototype model 130714101556-phpapp02
Prototype model 130714101556-phpapp02
prasanna chitra
 
Lecture6 activity diagrams
Lecture6 activity diagramsLecture6 activity diagrams
Lecture6 activity diagrams
Shahid Riaz
 
Types of UML diagrams
Types of UML diagramsTypes of UML diagrams
Types of UML diagrams
Mukesh Tekwani
 
Introduction to Software Review
Introduction to Software ReviewIntroduction to Software Review
Introduction to Software Review
Philip Johnson
 
08 state diagram and activity diagram
08 state diagram and activity diagram08 state diagram and activity diagram
08 state diagram and activity diagram
Baskarkncet
 
OOAD UNIT I UML DIAGRAMS
OOAD UNIT I UML DIAGRAMSOOAD UNIT I UML DIAGRAMS
OOAD UNIT I UML DIAGRAMS
Mikel Raj
 
Types of software testing
Types of software testingTypes of software testing
Types of software testing
Prachi Sasankar
 
Software Requirements in Software Engineering SE5
Software Requirements in Software Engineering SE5Software Requirements in Software Engineering SE5
Software Requirements in Software Engineering SE5
koolkampus
 
UML (Unified Modeling Language)
UML (Unified Modeling Language)UML (Unified Modeling Language)
UML (Unified Modeling Language)
Nguyen Tuan
 
Uml
UmlUml
Presentation on uml
Presentation on umlPresentation on uml
Presentation on uml
Shruti Dalela
 
Sdlc
SdlcSdlc
Sequence diagram
Sequence diagramSequence diagram
Sequence diagram
Kaushik Ghosh
 
Use case diagrams
Use case diagramsUse case diagrams
Use case diagrams
mohamed tahoon
 
Activity diagrams
Activity diagramsActivity diagrams
Activity diagrams
Jalaxy Jahury
 
Documenting Software Architectures
Documenting Software ArchitecturesDocumenting Software Architectures
Documenting Software Architectures
Paulo Gandra de Sousa
 
CS8592-OOAD Lecture Notes Unit-5
CS8592-OOAD Lecture Notes Unit-5 CS8592-OOAD Lecture Notes Unit-5
CS8592-OOAD Lecture Notes Unit-5
Gobinath Subramaniam
 
Rational Unified Process
Rational Unified ProcessRational Unified Process
Rational Unified Process
Kumar
 

What's hot (20)

Waterfall model in SDLC
Waterfall model in SDLCWaterfall model in SDLC
Waterfall model in SDLC
 
SCRUM User Story Life Cycle
SCRUM User Story Life CycleSCRUM User Story Life Cycle
SCRUM User Story Life Cycle
 
Prototype model 130714101556-phpapp02
Prototype model 130714101556-phpapp02Prototype model 130714101556-phpapp02
Prototype model 130714101556-phpapp02
 
Lecture6 activity diagrams
Lecture6 activity diagramsLecture6 activity diagrams
Lecture6 activity diagrams
 
Types of UML diagrams
Types of UML diagramsTypes of UML diagrams
Types of UML diagrams
 
Introduction to Software Review
Introduction to Software ReviewIntroduction to Software Review
Introduction to Software Review
 
08 state diagram and activity diagram
08 state diagram and activity diagram08 state diagram and activity diagram
08 state diagram and activity diagram
 
OOAD UNIT I UML DIAGRAMS
OOAD UNIT I UML DIAGRAMSOOAD UNIT I UML DIAGRAMS
OOAD UNIT I UML DIAGRAMS
 
Types of software testing
Types of software testingTypes of software testing
Types of software testing
 
Software Requirements in Software Engineering SE5
Software Requirements in Software Engineering SE5Software Requirements in Software Engineering SE5
Software Requirements in Software Engineering SE5
 
UML (Unified Modeling Language)
UML (Unified Modeling Language)UML (Unified Modeling Language)
UML (Unified Modeling Language)
 
Uml
UmlUml
Uml
 
Presentation on uml
Presentation on umlPresentation on uml
Presentation on uml
 
Sdlc
SdlcSdlc
Sdlc
 
Sequence diagram
Sequence diagramSequence diagram
Sequence diagram
 
Use case diagrams
Use case diagramsUse case diagrams
Use case diagrams
 
Activity diagrams
Activity diagramsActivity diagrams
Activity diagrams
 
Documenting Software Architectures
Documenting Software ArchitecturesDocumenting Software Architectures
Documenting Software Architectures
 
CS8592-OOAD Lecture Notes Unit-5
CS8592-OOAD Lecture Notes Unit-5 CS8592-OOAD Lecture Notes Unit-5
CS8592-OOAD Lecture Notes Unit-5
 
Rational Unified Process
Rational Unified ProcessRational Unified Process
Rational Unified Process
 

Similar to Activity diag

ACTIVITY DIAGRAM.pptx
ACTIVITY DIAGRAM.pptxACTIVITY DIAGRAM.pptx
ACTIVITY DIAGRAM.pptx
devboris1
 
Unit three Advanced State Modelling
Unit three Advanced State ModellingUnit three Advanced State Modelling
Unit three Advanced State Modelling
Dr Chetan Shelke
 
BPM - Activity diagram.pptx
BPM - Activity diagram.pptxBPM - Activity diagram.pptx
BPM - Activity diagram.pptx
azida3
 
3 interaction and_state_modeling
3 interaction and_state_modeling3 interaction and_state_modeling
3 interaction and_state_modeling
Minal Maniar
 
Production and Quality Tools: The 7 Basic Quality Tools
Production and Quality Tools: The 7 Basic Quality ToolsProduction and Quality Tools: The 7 Basic Quality Tools
Production and Quality Tools: The 7 Basic Quality Tools
Dr. John V. Padua
 
Seven quality tools
Seven quality toolsSeven quality tools
Seven quality tools
Abhishek Thakur
 
Seven Quality Tools - Presentation Material Sample 1.ppt
Seven Quality Tools - Presentation Material Sample 1.pptSeven Quality Tools - Presentation Material Sample 1.ppt
Seven Quality Tools - Presentation Material Sample 1.ppt
ssusere6db8e
 
Seven quality-tools-1233776598291857-2
Seven quality-tools-1233776598291857-2Seven quality-tools-1233776598291857-2
Seven quality-tools-1233776598291857-2
Mahmood Alam
 
Seven quality tools
Seven quality toolsSeven quality tools
Seven quality tools
Prateek Nigam
 
Software Engineering :Behavioral Modelling - II State diagram
Software Engineering :Behavioral Modelling - II State diagramSoftware Engineering :Behavioral Modelling - II State diagram
Software Engineering :Behavioral Modelling - II State diagram
Ajit Nayak
 
Seven quality tools
Seven quality toolsSeven quality tools
Seven quality tools
Pinky_0083
 
Uml Activity Diagram
Uml Activity DiagramUml Activity Diagram
Uml Activity Diagram
Niloy Rocker
 
Slide 6 Activity Diagram
Slide 6 Activity DiagramSlide 6 Activity Diagram
Slide 6 Activity Diagram
Niloy Rocker
 
Prepare and Interpret Technical Drawing.pptx
Prepare and Interpret Technical Drawing.pptxPrepare and Interpret Technical Drawing.pptx
Prepare and Interpret Technical Drawing.pptx
RivenBarquilla
 
8.Unified Process Modelling.ppt of software engg
8.Unified Process Modelling.ppt  of software engg8.Unified Process Modelling.ppt  of software engg
8.Unified Process Modelling.ppt of software engg
SukhmanSingh91
 
unified modeling language diagrams
unified modeling language diagramsunified modeling language diagrams
unified modeling language diagrams
muhammadali0014
 
Online shopping cart system file
Online shopping cart system fileOnline shopping cart system file
Online shopping cart system file
Sunil Jaiswal
 
PEGA Activity and Its Methods
PEGA Activity and Its MethodsPEGA Activity and Its Methods
PEGA Activity and Its Methods
SwathiDuvvala
 
Unit 3(advanced state modeling & interaction meodelling)
Unit  3(advanced state modeling & interaction meodelling)Unit  3(advanced state modeling & interaction meodelling)
Unit 3(advanced state modeling & interaction meodelling)
Manoj Reddy
 
design reviewer - Copy.pdf
design reviewer - Copy.pdfdesign reviewer - Copy.pdf
design reviewer - Copy.pdf
RONALDARTILLERO1
 

Similar to Activity diag (20)

ACTIVITY DIAGRAM.pptx
ACTIVITY DIAGRAM.pptxACTIVITY DIAGRAM.pptx
ACTIVITY DIAGRAM.pptx
 
Unit three Advanced State Modelling
Unit three Advanced State ModellingUnit three Advanced State Modelling
Unit three Advanced State Modelling
 
BPM - Activity diagram.pptx
BPM - Activity diagram.pptxBPM - Activity diagram.pptx
BPM - Activity diagram.pptx
 
3 interaction and_state_modeling
3 interaction and_state_modeling3 interaction and_state_modeling
3 interaction and_state_modeling
 
Production and Quality Tools: The 7 Basic Quality Tools
Production and Quality Tools: The 7 Basic Quality ToolsProduction and Quality Tools: The 7 Basic Quality Tools
Production and Quality Tools: The 7 Basic Quality Tools
 
Seven quality tools
Seven quality toolsSeven quality tools
Seven quality tools
 
Seven Quality Tools - Presentation Material Sample 1.ppt
Seven Quality Tools - Presentation Material Sample 1.pptSeven Quality Tools - Presentation Material Sample 1.ppt
Seven Quality Tools - Presentation Material Sample 1.ppt
 
Seven quality-tools-1233776598291857-2
Seven quality-tools-1233776598291857-2Seven quality-tools-1233776598291857-2
Seven quality-tools-1233776598291857-2
 
Seven quality tools
Seven quality toolsSeven quality tools
Seven quality tools
 
Software Engineering :Behavioral Modelling - II State diagram
Software Engineering :Behavioral Modelling - II State diagramSoftware Engineering :Behavioral Modelling - II State diagram
Software Engineering :Behavioral Modelling - II State diagram
 
Seven quality tools
Seven quality toolsSeven quality tools
Seven quality tools
 
Uml Activity Diagram
Uml Activity DiagramUml Activity Diagram
Uml Activity Diagram
 
Slide 6 Activity Diagram
Slide 6 Activity DiagramSlide 6 Activity Diagram
Slide 6 Activity Diagram
 
Prepare and Interpret Technical Drawing.pptx
Prepare and Interpret Technical Drawing.pptxPrepare and Interpret Technical Drawing.pptx
Prepare and Interpret Technical Drawing.pptx
 
8.Unified Process Modelling.ppt of software engg
8.Unified Process Modelling.ppt  of software engg8.Unified Process Modelling.ppt  of software engg
8.Unified Process Modelling.ppt of software engg
 
unified modeling language diagrams
unified modeling language diagramsunified modeling language diagrams
unified modeling language diagrams
 
Online shopping cart system file
Online shopping cart system fileOnline shopping cart system file
Online shopping cart system file
 
PEGA Activity and Its Methods
PEGA Activity and Its MethodsPEGA Activity and Its Methods
PEGA Activity and Its Methods
 
Unit 3(advanced state modeling & interaction meodelling)
Unit  3(advanced state modeling & interaction meodelling)Unit  3(advanced state modeling & interaction meodelling)
Unit 3(advanced state modeling & interaction meodelling)
 
design reviewer - Copy.pdf
design reviewer - Copy.pdfdesign reviewer - Copy.pdf
design reviewer - Copy.pdf
 

More from Preeti Mishra

Effective Ways to Conduct Programming labs
Effective Ways to Conduct Programming labsEffective Ways to Conduct Programming labs
Effective Ways to Conduct Programming labs
Preeti Mishra
 
Uml intro
Uml introUml intro
Uml intro
Preeti Mishra
 
Component diagram
Component diagramComponent diagram
Component diagram
Preeti Mishra
 
Object diagram
Object diagramObject diagram
Object diagram
Preeti Mishra
 
Sequence diagrams
Sequence diagramsSequence diagrams
Sequence diagrams
Preeti Mishra
 
State chart diagram
State chart diagramState chart diagram
State chart diagram
Preeti Mishra
 
Unit 8 software quality and matrices
Unit 8 software quality and matricesUnit 8 software quality and matrices
Unit 8 software quality and matrices
Preeti Mishra
 
Unit 5 design engineering ssad
Unit 5 design engineering ssadUnit 5 design engineering ssad
Unit 5 design engineering ssad
Preeti Mishra
 
architectural design
 architectural design architectural design
architectural design
Preeti Mishra
 
Oo concepts and class modeling
Oo concepts and class modelingOo concepts and class modeling
Oo concepts and class modeling
Preeti Mishra
 
Unit 7 performing user interface design
Unit 7 performing user interface designUnit 7 performing user interface design
Unit 7 performing user interface design
Preeti Mishra
 
testing strategies and tactics
 testing strategies and tactics testing strategies and tactics
testing strategies and tactics
Preeti Mishra
 
requirements analysis and design
requirements analysis and designrequirements analysis and design
requirements analysis and design
Preeti Mishra
 
Design process interaction design basics
Design process interaction design basicsDesign process interaction design basics
Design process interaction design basics
Preeti Mishra
 
Design process design rules
Design process  design rulesDesign process  design rules
Design process design rules
Preeti Mishra
 
Design process evaluating interactive_designs
Design process  evaluating interactive_designsDesign process  evaluating interactive_designs
Design process evaluating interactive_designs
Preeti Mishra
 
Foundations understanding users and interactions
Foundations  understanding users and interactionsFoundations  understanding users and interactions
Foundations understanding users and interactions
Preeti Mishra
 
IntrIntroduction
IntrIntroductionIntrIntroduction
IntrIntroduction
Preeti Mishra
 
Coupling coheshion tps
Coupling coheshion tpsCoupling coheshion tps
Coupling coheshion tps
Preeti Mishra
 
Analysis
AnalysisAnalysis
Analysis
Preeti Mishra
 

More from Preeti Mishra (20)

Effective Ways to Conduct Programming labs
Effective Ways to Conduct Programming labsEffective Ways to Conduct Programming labs
Effective Ways to Conduct Programming labs
 
Uml intro
Uml introUml intro
Uml intro
 
Component diagram
Component diagramComponent diagram
Component diagram
 
Object diagram
Object diagramObject diagram
Object diagram
 
Sequence diagrams
Sequence diagramsSequence diagrams
Sequence diagrams
 
State chart diagram
State chart diagramState chart diagram
State chart diagram
 
Unit 8 software quality and matrices
Unit 8 software quality and matricesUnit 8 software quality and matrices
Unit 8 software quality and matrices
 
Unit 5 design engineering ssad
Unit 5 design engineering ssadUnit 5 design engineering ssad
Unit 5 design engineering ssad
 
architectural design
 architectural design architectural design
architectural design
 
Oo concepts and class modeling
Oo concepts and class modelingOo concepts and class modeling
Oo concepts and class modeling
 
Unit 7 performing user interface design
Unit 7 performing user interface designUnit 7 performing user interface design
Unit 7 performing user interface design
 
testing strategies and tactics
 testing strategies and tactics testing strategies and tactics
testing strategies and tactics
 
requirements analysis and design
requirements analysis and designrequirements analysis and design
requirements analysis and design
 
Design process interaction design basics
Design process interaction design basicsDesign process interaction design basics
Design process interaction design basics
 
Design process design rules
Design process  design rulesDesign process  design rules
Design process design rules
 
Design process evaluating interactive_designs
Design process  evaluating interactive_designsDesign process  evaluating interactive_designs
Design process evaluating interactive_designs
 
Foundations understanding users and interactions
Foundations  understanding users and interactionsFoundations  understanding users and interactions
Foundations understanding users and interactions
 
IntrIntroduction
IntrIntroductionIntrIntroduction
IntrIntroduction
 
Coupling coheshion tps
Coupling coheshion tpsCoupling coheshion tps
Coupling coheshion tps
 
Analysis
AnalysisAnalysis
Analysis
 

Recently uploaded

Hot Call Girls In Bangalore ✔ 9079923931 ✔ Hi I Am Divya Vip Call Girl Servic...
Hot Call Girls In Bangalore ✔ 9079923931 ✔ Hi I Am Divya Vip Call Girl Servic...Hot Call Girls In Bangalore ✔ 9079923931 ✔ Hi I Am Divya Vip Call Girl Servic...
Hot Call Girls In Bangalore ✔ 9079923931 ✔ Hi I Am Divya Vip Call Girl Servic...
Banerescorts
 
FUNDAMENTALS OF MECHANICAL ENGINEERING.pdf
FUNDAMENTALS OF MECHANICAL ENGINEERING.pdfFUNDAMENTALS OF MECHANICAL ENGINEERING.pdf
FUNDAMENTALS OF MECHANICAL ENGINEERING.pdf
EMERSON EDUARDO RODRIGUES
 
Call Girls Madurai 8824825030 Escort In Madurai service 24X7
Call Girls Madurai 8824825030 Escort In Madurai service 24X7Call Girls Madurai 8824825030 Escort In Madurai service 24X7
Call Girls Madurai 8824825030 Escort In Madurai service 24X7
Poonam Singh
 
Call Girls Goa (india) ☎️ +91-7426014248 Goa Call Girl
Call Girls Goa (india) ☎️ +91-7426014248 Goa Call GirlCall Girls Goa (india) ☎️ +91-7426014248 Goa Call Girl
Call Girls Goa (india) ☎️ +91-7426014248 Goa Call Girl
sapna sharmap11
 
Data Communication and Computer Networks Management System Project Report.pdf
Data Communication and Computer Networks Management System Project Report.pdfData Communication and Computer Networks Management System Project Report.pdf
Data Communication and Computer Networks Management System Project Report.pdf
Kamal Acharya
 
MODULE 5 BIOLOGY FOR ENGINEERS TRENDS IN BIO ENGINEERING.pptx
MODULE 5 BIOLOGY FOR ENGINEERS TRENDS IN BIO ENGINEERING.pptxMODULE 5 BIOLOGY FOR ENGINEERS TRENDS IN BIO ENGINEERING.pptx
MODULE 5 BIOLOGY FOR ENGINEERS TRENDS IN BIO ENGINEERING.pptx
NaveenNaveen726446
 
Butterfly Valves Manufacturer (LBF Series).pdf
Butterfly Valves Manufacturer (LBF Series).pdfButterfly Valves Manufacturer (LBF Series).pdf
Butterfly Valves Manufacturer (LBF Series).pdf
Lubi Valves
 
Covid Management System Project Report.pdf
Covid Management System Project Report.pdfCovid Management System Project Report.pdf
Covid Management System Project Report.pdf
Kamal Acharya
 
❣Unsatisfied Bhabhi Call Girls Surat 💯Call Us 🔝 7014168258 🔝💃Independent Sura...
❣Unsatisfied Bhabhi Call Girls Surat 💯Call Us 🔝 7014168258 🔝💃Independent Sura...❣Unsatisfied Bhabhi Call Girls Surat 💯Call Us 🔝 7014168258 🔝💃Independent Sura...
❣Unsatisfied Bhabhi Call Girls Surat 💯Call Us 🔝 7014168258 🔝💃Independent Sura...
hotchicksescort
 
Call Girls Chennai +91-8824825030 Vip Call Girls Chennai
Call Girls Chennai +91-8824825030 Vip Call Girls ChennaiCall Girls Chennai +91-8824825030 Vip Call Girls Chennai
Call Girls Chennai +91-8824825030 Vip Call Girls Chennai
paraasingh12 #V08
 
Technological Innovation Management And Entrepreneurship-1.pdf
Technological Innovation Management And Entrepreneurship-1.pdfTechnological Innovation Management And Entrepreneurship-1.pdf
Technological Innovation Management And Entrepreneurship-1.pdf
tanujaharish2
 
Intuit CRAFT demonstration presentation for sde
Intuit CRAFT demonstration presentation for sdeIntuit CRAFT demonstration presentation for sde
Intuit CRAFT demonstration presentation for sde
ShivangMishra54
 
🚺ANJALI MEHTA High Profile Call Girls Ahmedabad 💯Call Us 🔝 9352988975 🔝💃Top C...
🚺ANJALI MEHTA High Profile Call Girls Ahmedabad 💯Call Us 🔝 9352988975 🔝💃Top C...🚺ANJALI MEHTA High Profile Call Girls Ahmedabad 💯Call Us 🔝 9352988975 🔝💃Top C...
🚺ANJALI MEHTA High Profile Call Girls Ahmedabad 💯Call Us 🔝 9352988975 🔝💃Top C...
dulbh kashyap
 
The Differences between Schedule 40 PVC Conduit Pipe and Schedule 80 PVC Conduit
The Differences between Schedule 40 PVC Conduit Pipe and Schedule 80 PVC ConduitThe Differences between Schedule 40 PVC Conduit Pipe and Schedule 80 PVC Conduit
The Differences between Schedule 40 PVC Conduit Pipe and Schedule 80 PVC Conduit
Guangdong Ctube Industry Co., Ltd.
 
🔥 Hyderabad Call Girls  👉 9352988975 👫 High Profile Call Girls Whatsapp Numbe...
🔥 Hyderabad Call Girls  👉 9352988975 👫 High Profile Call Girls Whatsapp Numbe...🔥 Hyderabad Call Girls  👉 9352988975 👫 High Profile Call Girls Whatsapp Numbe...
🔥 Hyderabad Call Girls  👉 9352988975 👫 High Profile Call Girls Whatsapp Numbe...
aarusi sexy model
 
SPICE PARK JUL2024 ( 6,866 SPICE Models )
SPICE PARK JUL2024 ( 6,866 SPICE Models )SPICE PARK JUL2024 ( 6,866 SPICE Models )
SPICE PARK JUL2024 ( 6,866 SPICE Models )
Tsuyoshi Horigome
 
Lateral load-resisting systems in buildings.pptx
Lateral load-resisting systems in buildings.pptxLateral load-resisting systems in buildings.pptx
Lateral load-resisting systems in buildings.pptx
DebendraDevKhanal1
 
🔥Young College Call Girls Chandigarh 💯Call Us 🔝 7737669865 🔝💃Independent Chan...
🔥Young College Call Girls Chandigarh 💯Call Us 🔝 7737669865 🔝💃Independent Chan...🔥Young College Call Girls Chandigarh 💯Call Us 🔝 7737669865 🔝💃Independent Chan...
🔥Young College Call Girls Chandigarh 💯Call Us 🔝 7737669865 🔝💃Independent Chan...
sonamrawat5631
 
Better Builder Magazine, Issue 49 / Spring 2024
Better Builder Magazine, Issue 49 / Spring 2024Better Builder Magazine, Issue 49 / Spring 2024
Better Builder Magazine, Issue 49 / Spring 2024
Better Builder Magazine
 
Cuttack Call Girls 💯Call Us 🔝 7374876321 🔝 💃 Independent Female Escort Service
Cuttack Call Girls 💯Call Us 🔝 7374876321 🔝 💃 Independent Female Escort ServiceCuttack Call Girls 💯Call Us 🔝 7374876321 🔝 💃 Independent Female Escort Service
Cuttack Call Girls 💯Call Us 🔝 7374876321 🔝 💃 Independent Female Escort Service
yakranividhrini
 

Recently uploaded (20)

Hot Call Girls In Bangalore ✔ 9079923931 ✔ Hi I Am Divya Vip Call Girl Servic...
Hot Call Girls In Bangalore ✔ 9079923931 ✔ Hi I Am Divya Vip Call Girl Servic...Hot Call Girls In Bangalore ✔ 9079923931 ✔ Hi I Am Divya Vip Call Girl Servic...
Hot Call Girls In Bangalore ✔ 9079923931 ✔ Hi I Am Divya Vip Call Girl Servic...
 
FUNDAMENTALS OF MECHANICAL ENGINEERING.pdf
FUNDAMENTALS OF MECHANICAL ENGINEERING.pdfFUNDAMENTALS OF MECHANICAL ENGINEERING.pdf
FUNDAMENTALS OF MECHANICAL ENGINEERING.pdf
 
Call Girls Madurai 8824825030 Escort In Madurai service 24X7
Call Girls Madurai 8824825030 Escort In Madurai service 24X7Call Girls Madurai 8824825030 Escort In Madurai service 24X7
Call Girls Madurai 8824825030 Escort In Madurai service 24X7
 
Call Girls Goa (india) ☎️ +91-7426014248 Goa Call Girl
Call Girls Goa (india) ☎️ +91-7426014248 Goa Call GirlCall Girls Goa (india) ☎️ +91-7426014248 Goa Call Girl
Call Girls Goa (india) ☎️ +91-7426014248 Goa Call Girl
 
Data Communication and Computer Networks Management System Project Report.pdf
Data Communication and Computer Networks Management System Project Report.pdfData Communication and Computer Networks Management System Project Report.pdf
Data Communication and Computer Networks Management System Project Report.pdf
 
MODULE 5 BIOLOGY FOR ENGINEERS TRENDS IN BIO ENGINEERING.pptx
MODULE 5 BIOLOGY FOR ENGINEERS TRENDS IN BIO ENGINEERING.pptxMODULE 5 BIOLOGY FOR ENGINEERS TRENDS IN BIO ENGINEERING.pptx
MODULE 5 BIOLOGY FOR ENGINEERS TRENDS IN BIO ENGINEERING.pptx
 
Butterfly Valves Manufacturer (LBF Series).pdf
Butterfly Valves Manufacturer (LBF Series).pdfButterfly Valves Manufacturer (LBF Series).pdf
Butterfly Valves Manufacturer (LBF Series).pdf
 
Covid Management System Project Report.pdf
Covid Management System Project Report.pdfCovid Management System Project Report.pdf
Covid Management System Project Report.pdf
 
❣Unsatisfied Bhabhi Call Girls Surat 💯Call Us 🔝 7014168258 🔝💃Independent Sura...
❣Unsatisfied Bhabhi Call Girls Surat 💯Call Us 🔝 7014168258 🔝💃Independent Sura...❣Unsatisfied Bhabhi Call Girls Surat 💯Call Us 🔝 7014168258 🔝💃Independent Sura...
❣Unsatisfied Bhabhi Call Girls Surat 💯Call Us 🔝 7014168258 🔝💃Independent Sura...
 
Call Girls Chennai +91-8824825030 Vip Call Girls Chennai
Call Girls Chennai +91-8824825030 Vip Call Girls ChennaiCall Girls Chennai +91-8824825030 Vip Call Girls Chennai
Call Girls Chennai +91-8824825030 Vip Call Girls Chennai
 
Technological Innovation Management And Entrepreneurship-1.pdf
Technological Innovation Management And Entrepreneurship-1.pdfTechnological Innovation Management And Entrepreneurship-1.pdf
Technological Innovation Management And Entrepreneurship-1.pdf
 
Intuit CRAFT demonstration presentation for sde
Intuit CRAFT demonstration presentation for sdeIntuit CRAFT demonstration presentation for sde
Intuit CRAFT demonstration presentation for sde
 
🚺ANJALI MEHTA High Profile Call Girls Ahmedabad 💯Call Us 🔝 9352988975 🔝💃Top C...
🚺ANJALI MEHTA High Profile Call Girls Ahmedabad 💯Call Us 🔝 9352988975 🔝💃Top C...🚺ANJALI MEHTA High Profile Call Girls Ahmedabad 💯Call Us 🔝 9352988975 🔝💃Top C...
🚺ANJALI MEHTA High Profile Call Girls Ahmedabad 💯Call Us 🔝 9352988975 🔝💃Top C...
 
The Differences between Schedule 40 PVC Conduit Pipe and Schedule 80 PVC Conduit
The Differences between Schedule 40 PVC Conduit Pipe and Schedule 80 PVC ConduitThe Differences between Schedule 40 PVC Conduit Pipe and Schedule 80 PVC Conduit
The Differences between Schedule 40 PVC Conduit Pipe and Schedule 80 PVC Conduit
 
🔥 Hyderabad Call Girls  👉 9352988975 👫 High Profile Call Girls Whatsapp Numbe...
🔥 Hyderabad Call Girls  👉 9352988975 👫 High Profile Call Girls Whatsapp Numbe...🔥 Hyderabad Call Girls  👉 9352988975 👫 High Profile Call Girls Whatsapp Numbe...
🔥 Hyderabad Call Girls  👉 9352988975 👫 High Profile Call Girls Whatsapp Numbe...
 
SPICE PARK JUL2024 ( 6,866 SPICE Models )
SPICE PARK JUL2024 ( 6,866 SPICE Models )SPICE PARK JUL2024 ( 6,866 SPICE Models )
SPICE PARK JUL2024 ( 6,866 SPICE Models )
 
Lateral load-resisting systems in buildings.pptx
Lateral load-resisting systems in buildings.pptxLateral load-resisting systems in buildings.pptx
Lateral load-resisting systems in buildings.pptx
 
🔥Young College Call Girls Chandigarh 💯Call Us 🔝 7737669865 🔝💃Independent Chan...
🔥Young College Call Girls Chandigarh 💯Call Us 🔝 7737669865 🔝💃Independent Chan...🔥Young College Call Girls Chandigarh 💯Call Us 🔝 7737669865 🔝💃Independent Chan...
🔥Young College Call Girls Chandigarh 💯Call Us 🔝 7737669865 🔝💃Independent Chan...
 
Better Builder Magazine, Issue 49 / Spring 2024
Better Builder Magazine, Issue 49 / Spring 2024Better Builder Magazine, Issue 49 / Spring 2024
Better Builder Magazine, Issue 49 / Spring 2024
 
Cuttack Call Girls 💯Call Us 🔝 7374876321 🔝 💃 Independent Female Escort Service
Cuttack Call Girls 💯Call Us 🔝 7374876321 🔝 💃 Independent Female Escort ServiceCuttack Call Girls 💯Call Us 🔝 7374876321 🔝 💃 Independent Female Escort Service
Cuttack Call Girls 💯Call Us 🔝 7374876321 🔝 💃 Independent Female Escort Service
 

Activity diag

  • 2. Definition – Activity diagrams represent the dynamics of the system. – They are flow charts that are used to show the workflow of a system. – They show. • The flow of control from activity to activity in the system, • What activities can be done in parallel. • Alternate paths through the flow. – They can show the flow across use cases or within a use case.
  • 3. Activity Diagram • Core symbol is an activity. • An activity is some task which needs to be done. • Each activity can be followed by another activity (sequencing). • Triggers from the activity may be guarded as in state diagrams.
  • 4. Decision Activities • Diamond. • Each trigger coming from it has a guard. • Synchronisation bar. • All triggers from this attach to activities that can occur in parallel, with no specific sequence, or concurrently. • The next synchronisation bar closes the concurrency. • Iteration is represented by a * on the trigger. or
  • 5. Activity Diagrams for Use Cases • They can be used for describing either – Use cases or – Complicated methods
  • 6. Find Beverage Put coffee in filter Add water to reservoir Drink Beverage Pour coffee Brew coffee Turn on machine Put filter in machine Get can of cola Get cups [found coffee] [no coffee] [no cola]
  • 7. Assign to Order Check line item Cancel Order Authorise Payment Reorder item Dispatch Order Receive order * for each line item on order[faile d] [succee ded] [in stock] [need to reorde r] [stock assigned to all line items and payment authorised] Activity Diagram for Receiving an Order
  • 8. Activity Diagram for receiving Supply Choose outstanding order items Assign goods to order Add remainder to stock Receive Supply * for each chosen order item [all outstanding order items filled] Dispatch Order
  • 9. Drawback • Activity diagrams tell you what is happening, but not who does what. • In domain modeling, this diagram type does not convey which people or departments are responsible for each activity. • In programming, it does not convey which class is responsible for each activity.
  • 10. Swimlanes • Arrange activity diagrams into vertical zones separated by dashed lines. • Each zone represents the responsibilities of a particular class or department.
  • 11. When to Use Activity Diagrams • Do use them for – Analysing Use Cases. – Understanding workflow across many Use Cases. – Dealing with multi-threaded applications. • Don’t use them – to see how objects collaborate. – to see how an object behaves over its lifetime.
  • 12. Assign to Order Check line item Cancel Order Authorise Payment Choose outstanding order items Assign goods to order Reorder item Add remainder to stock Dispatch Order Receive Supply Receive order Financ e Order Processing Stock Manager * for each line item on order [faile d][succee ded] * for each chosen order item [in stock] [need to reorde r] [stock assigned to all line items and payment authorised] [all outstanding order items filled]With Swimlanes
  • 13. Placing an Activity diagram • Where? – You can attach activity diagrams to most model elements in the use case or logical views. – Activity diagrams cannot reside within the component view. • Why? – Very effective in illustrating the workflow of various events in a use-case diagram. – You can use activity diagrams to specify and define each event in a use-case diagram.
  • 14. Creating an activity diagram • Modelling a workflow in an activity diagram – Identify a workflow objective. – Decide the pre and post-conditions of the workflow. – Define all activities and states. – Define any objects that are created or modified. – Decide on responsibility for performing the activities. – Connect all elements on the diagram with transitions. – Place decisions on the diagram. – Evaluate your diagram for concurrent
  • 15. Identify a workflow objective. – "What needs to take place or happen by the end of the workflow? What needs to be accomplished?“ – For example, if your activity diagram models the workflow of ordering a book from an online bookstore, the goal of the entire workflow could be getting the book to the customer. – What is the goal in the claims system? – What are the goals in the tennis club?
  • 16. 2. Workflow pre and post-conditions – Define pre and post conditions of the workflow through a start state and an end state. – In most cases, activity diagrams have a flowchart structure so start and end states are used to designate the beginning and ending of the workflow. – Start and end states clarify the perimeter of the workflow. – What is the pre-condition of the main workflow in • The claims system? • The tennis club?
  • 17. Define activities and states • Define and recognize all activities and states that must take place to meet your objective. Place and name them on the activity diagram in a logical order. • Are there intermediate states in the claims / tennis club systems?
  • 18. Identify persistent object operations • Define and diagram any objects that are created or modified within your activity diagram. • Connect the objects and activities with object flows.
  • 19. Add swimlanes • Decide who or what is responsible for performing the activities and states through swimlanes. • Name each swimlane and place the appropriate activities and states within each swimlane. • Identify swimlanes for – The tennis club workflow – The claims workflow
  • 20. Finish diagram • Connect all elements on the diagram with transitions. • Place decisions on the diagram where the workflow may split into an alternate flow. – E.g. based on a Boolean expression, the workflow could branch to a different workflow. • Evaluate your diagram and see if you have any concurrent workflows. If so, use synchronizations to represent forking and joining. • Set all actions, triggers and guard conditions in the specifications of each model element.
  翻译: