SlideShare a Scribd company logo
1 of 12
WELCOM
E
TO A PRESENTAION ON
ACTIVITY DIAGRAM
about
agenda
purpos
e
How
to
differenc
e
about
Agenda
purpos
e
How
to
Use
PART
3
PART
2
PART
1
HEADING
1. What is?
2. Purpose?
HEADING
3. How to
draw
4 Where to
use?
HEADING
5. Difference
between
activity and
flowchart
diagrams?
about
purpos
e
timeline
teams
differenc
e
PART 1: What is Activity
Diagram
3. Activity diagram illustrate 3 flow methods, as follows:
 Parallel
 Branched
 Concurrent
1. Activity diagram describe the dynamic aspects of the system. Activity
diagram is basically a kind of flowchart to represent the flow from one
activity to another activity, but not a flowchart.
2. A kind of flow chart to represent the flow of one activity to another
activity but not a flowchart
• This means that two tasks can literally run at same time
• This means having a task and that task is been evaluated in another
task A or task B
• This means when two or more task can start, run, and complete in
overlapping time period.
about
history
purpos
e
How
to
differenc
e
Purpose of Activity Diagrams
1. Activity is a particular operation of the system. Activity diagrams
are not only used for visualizing the dynamic nature of a system,
but they are also used to construct the executable system by using
forward and reverse engineering techniques. The only missing thing
in the activity diagram is the message part.
2. The purpose of an activity diagram can be described as −
• Draw the activity flow of a system.
• Describe the sequence from one activity to
another.
• Describe the parallel, branched and concurrent
flow of the system.
about
history
purpos
e
How
to
differenc
e
PART 2: How to Draw an Activity Diagram?
1. Before drawing an activity diagram,
we must
have a clear understanding about the
elements
(notations) used in activity diagram.
1. Notations
• Initial state start point
A small filled circle with an arrow.
It defines the initial state or start point for
any activity diagram
• Activity or action state
An action state represents the non-interruptible action
of objects. You can draw an action state in SmartDraw
using a rectangle with rounded corners.
Activity
• Action flow Action flows, also called edges and paths, illustrate the transitions
from one action state to another. They are usually drawn with
an arrowed line.
Before drawing an activity diagram, we should
identify the following elements:
• Activities . Association
• Conditions, and Constraints
about
history
timeline
How
to
differenc
e
How to Draw an Activity Diagram?
• Object flow
Object flow refers to the creation and modification of objects
by activities. An object flow arrow from an object to an action
indicates that the action state uses the object.
Activity
Class/object
• Decisions and Branching
A diamond represents a decision with alternate paths.
When an activity requires a decision prior to moving on
to the next activity, add a diamond between the two
activities
• Guards
.
In UML, guards are a statement written next to a
decision diamond that must be true before moving
next to the next activity. These are not essential, but
are useful when a specific answer, such as "Yes,
three labels are printed," is needed before moving
forward
about
history
timeline
How
to
differenc
e
How to Draw an Activity Diagram?
Synchronization A fork node is used to split a single incoming flow into multiple
concurrent flows. It is represented as a straight, slightly thicker
line in an activity diagram.
Time Event
This refers to an event that stops
the flow for a time; an hourglass
depicts it.
Merge Event
A merge event brings together
multiple
flows that are not concurrent.
about
history
timeline
How
to
differenc
e
How to Draw an Activity Diagram?
Sent and Received
Signals Signals represent how activities can be modified from
outside the system. They usually appear in pairs of sent
and received signals. For example, an authorization of
payment is needed before an order can be completed.
Interrupting
Edge
An event, such as a cancellation, that interrupts
the flow denoted with a lightning bolt.
Swimlanes group related activities into one column.
Swimlanes
about
history
timeline
How
to
differenc
e
How to Draw an Activity Diagram?
3. Following is an example of an activity diagram for order
management system. In the diagram, four activities are identified
which are associated with conditions. One important point should be
clearly understood that an activity diagram cannot be exactly matched
with the code.
Following diagram is drawn with the four main
activities
• Submit student details.
• Check attendance and yearly income.
• Approve or decline.
Final State or End
Point An arrow pointing to a filled circle nested inside
Another circle represents the final action state.
Interrupting
Edge
An event, such as a cancellation, that interrupts
the flow denoted with a lightning bolt.
about
history
purpos
e
Use
differenc
e
Where to Use Activity Diagrams?
1. Activity diagram is suitable for modeling the activity flow of the
system. An application can have multiple systems. Activity
diagram also captures these systems and describes the flow
from one system to another. This specific usage is not available
in other diagrams. These systems can be database, external
queues, or any other system.
2. This diagram is used to model the activities which are nothing
but business requirements. The diagram has more impact on
business understanding rather than on implementation details.
Activity diagram can be used for:
• Modeling work flow by using activities.
• Modeling business requirements.
• High level understanding of the system's
functionalities.
• Investigating business requirements at a later
stage.
about
history
purpso
e
teams
differen
ce
Uml behavior
diagram that
represents the work
flow of stepwise
activity of the
system
Activity diagram vs Flowchart diagrams?
Activity Diagram Flowchart Diagrams
Graphical diagram that
represents the
sequence of steps
Includes parallel flow,
merge, fork, swimlane
etc.
Does not contain
advanced concept as of
activity diagram
Part of Uml diagram
suite.
Not a Uml diagram.
Part 3:
about
history
purpos
e
teams
differen
ce
Dynamic aspects
Summary
Sequence from one activity to
another
A kind of flowchart but not a
flowchart
Notations
summar
y

More Related Content

Similar to ACTIVITY DIAGRAM.pptx

Fundamentals of Software Engineering
Fundamentals of Software Engineering Fundamentals of Software Engineering
Fundamentals of Software Engineering Madhar Khan Pathan
 
LECTURE 9 (Week 5) - Behavioral Diagrams.pptx
LECTURE 9 (Week 5) - Behavioral Diagrams.pptxLECTURE 9 (Week 5) - Behavioral Diagrams.pptx
LECTURE 9 (Week 5) - Behavioral Diagrams.pptxMuneerUmar3
 
BPM - Activity diagram.pptx
BPM - Activity diagram.pptxBPM - Activity diagram.pptx
BPM - Activity diagram.pptxazida3
 
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 enggSukhmanSingh91
 
SAD09 - Activity Diagrams
SAD09 - Activity DiagramsSAD09 - Activity Diagrams
SAD09 - Activity DiagramsMichael Heron
 
Use case Diagram and Sequence Diagram
Use case Diagram and Sequence DiagramUse case Diagram and Sequence Diagram
Use case Diagram and Sequence DiagramNikhil Pandit
 
INTRODUCTION TO UML DIAGRAMS
INTRODUCTION TO UML DIAGRAMSINTRODUCTION TO UML DIAGRAMS
INTRODUCTION TO UML DIAGRAMSAshita Agrawal
 
Case tool lab-Reg2013 by Karthick Raja
Case tool lab-Reg2013 by Karthick RajaCase tool lab-Reg2013 by Karthick Raja
Case tool lab-Reg2013 by Karthick RajaursKarthick Raja
 
SOURCE CODE MANAGEMENT SYSTEM (GITHUB)
SOURCE CODE MANAGEMENT SYSTEM (GITHUB)SOURCE CODE MANAGEMENT SYSTEM (GITHUB)
SOURCE CODE MANAGEMENT SYSTEM (GITHUB)Gracy Joseph
 
Lecture#03, uml diagrams
Lecture#03, uml diagramsLecture#03, uml diagrams
Lecture#03, uml diagramsbabak danyal
 
week07a.pdf
week07a.pdfweek07a.pdf
week07a.pdfumidxjy
 
software engineering with uml- activity diagram
software engineering with uml- activity diagramsoftware engineering with uml- activity diagram
software engineering with uml- activity diagramrahmantoyuri
 
module-1 CME NETWORK ANALYSIS.pptx
module-1 CME NETWORK ANALYSIS.pptxmodule-1 CME NETWORK ANALYSIS.pptx
module-1 CME NETWORK ANALYSIS.pptxsurekha1287
 
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
 
CASE Tools lab.ppt
CASE Tools lab.pptCASE Tools lab.ppt
CASE Tools lab.pptRAJESH S
 

Similar to ACTIVITY DIAGRAM.pptx (20)

Fundamentals of Software Engineering
Fundamentals of Software Engineering Fundamentals of Software Engineering
Fundamentals of Software Engineering
 
LECTURE 9 (Week 5) - Behavioral Diagrams.pptx
LECTURE 9 (Week 5) - Behavioral Diagrams.pptxLECTURE 9 (Week 5) - Behavioral Diagrams.pptx
LECTURE 9 (Week 5) - Behavioral Diagrams.pptx
 
Activity Diagram part8
Activity Diagram part8Activity Diagram part8
Activity Diagram part8
 
BPM - Activity diagram.pptx
BPM - Activity diagram.pptxBPM - Activity diagram.pptx
BPM - Activity diagram.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
 
Uml diagrams
Uml diagramsUml diagrams
Uml diagrams
 
SAD09 - Activity Diagrams
SAD09 - Activity DiagramsSAD09 - Activity Diagrams
SAD09 - Activity Diagrams
 
Use case Diagram and Sequence Diagram
Use case Diagram and Sequence DiagramUse case Diagram and Sequence Diagram
Use case Diagram and Sequence Diagram
 
INTRODUCTION TO UML DIAGRAMS
INTRODUCTION TO UML DIAGRAMSINTRODUCTION TO UML DIAGRAMS
INTRODUCTION TO UML DIAGRAMS
 
Case tool lab-Reg2013 by Karthick Raja
Case tool lab-Reg2013 by Karthick RajaCase tool lab-Reg2013 by Karthick Raja
Case tool lab-Reg2013 by Karthick Raja
 
SOURCE CODE MANAGEMENT SYSTEM (GITHUB)
SOURCE CODE MANAGEMENT SYSTEM (GITHUB)SOURCE CODE MANAGEMENT SYSTEM (GITHUB)
SOURCE CODE MANAGEMENT SYSTEM (GITHUB)
 
Intoduction to uml
Intoduction to umlIntoduction to uml
Intoduction to uml
 
Lecture#03, uml diagrams
Lecture#03, uml diagramsLecture#03, uml diagrams
Lecture#03, uml diagrams
 
week07a.pdf
week07a.pdfweek07a.pdf
week07a.pdf
 
software engineering with uml- activity diagram
software engineering with uml- activity diagramsoftware engineering with uml- activity diagram
software engineering with uml- activity diagram
 
Uml examples
Uml examplesUml examples
Uml examples
 
module-1 CME NETWORK ANALYSIS.pptx
module-1 CME NETWORK ANALYSIS.pptxmodule-1 CME NETWORK ANALYSIS.pptx
module-1 CME NETWORK ANALYSIS.pptx
 
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)
 
CASE Tools lab.ppt
CASE Tools lab.pptCASE Tools lab.ppt
CASE Tools lab.ppt
 
Uml
UmlUml
Uml
 

Recently uploaded

Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfakmcokerachita
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 

Recently uploaded (20)

Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdf
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 

ACTIVITY DIAGRAM.pptx

  • 1. WELCOM E TO A PRESENTAION ON ACTIVITY DIAGRAM about agenda purpos e How to differenc e
  • 2. about Agenda purpos e How to Use PART 3 PART 2 PART 1 HEADING 1. What is? 2. Purpose? HEADING 3. How to draw 4 Where to use? HEADING 5. Difference between activity and flowchart diagrams?
  • 3. about purpos e timeline teams differenc e PART 1: What is Activity Diagram 3. Activity diagram illustrate 3 flow methods, as follows:  Parallel  Branched  Concurrent 1. Activity diagram describe the dynamic aspects of the system. Activity diagram is basically a kind of flowchart to represent the flow from one activity to another activity, but not a flowchart. 2. A kind of flow chart to represent the flow of one activity to another activity but not a flowchart • This means that two tasks can literally run at same time • This means having a task and that task is been evaluated in another task A or task B • This means when two or more task can start, run, and complete in overlapping time period.
  • 4. about history purpos e How to differenc e Purpose of Activity Diagrams 1. Activity is a particular operation of the system. Activity diagrams are not only used for visualizing the dynamic nature of a system, but they are also used to construct the executable system by using forward and reverse engineering techniques. The only missing thing in the activity diagram is the message part. 2. The purpose of an activity diagram can be described as − • Draw the activity flow of a system. • Describe the sequence from one activity to another. • Describe the parallel, branched and concurrent flow of the system.
  • 5. about history purpos e How to differenc e PART 2: How to Draw an Activity Diagram? 1. Before drawing an activity diagram, we must have a clear understanding about the elements (notations) used in activity diagram. 1. Notations • Initial state start point A small filled circle with an arrow. It defines the initial state or start point for any activity diagram • Activity or action state An action state represents the non-interruptible action of objects. You can draw an action state in SmartDraw using a rectangle with rounded corners. Activity • Action flow Action flows, also called edges and paths, illustrate the transitions from one action state to another. They are usually drawn with an arrowed line. Before drawing an activity diagram, we should identify the following elements: • Activities . Association • Conditions, and Constraints
  • 6. about history timeline How to differenc e How to Draw an Activity Diagram? • Object flow Object flow refers to the creation and modification of objects by activities. An object flow arrow from an object to an action indicates that the action state uses the object. Activity Class/object • Decisions and Branching A diamond represents a decision with alternate paths. When an activity requires a decision prior to moving on to the next activity, add a diamond between the two activities • Guards . In UML, guards are a statement written next to a decision diamond that must be true before moving next to the next activity. These are not essential, but are useful when a specific answer, such as "Yes, three labels are printed," is needed before moving forward
  • 7. about history timeline How to differenc e How to Draw an Activity Diagram? Synchronization A fork node is used to split a single incoming flow into multiple concurrent flows. It is represented as a straight, slightly thicker line in an activity diagram. Time Event This refers to an event that stops the flow for a time; an hourglass depicts it. Merge Event A merge event brings together multiple flows that are not concurrent.
  • 8. about history timeline How to differenc e How to Draw an Activity Diagram? Sent and Received Signals Signals represent how activities can be modified from outside the system. They usually appear in pairs of sent and received signals. For example, an authorization of payment is needed before an order can be completed. Interrupting Edge An event, such as a cancellation, that interrupts the flow denoted with a lightning bolt. Swimlanes group related activities into one column. Swimlanes
  • 9. about history timeline How to differenc e How to Draw an Activity Diagram? 3. Following is an example of an activity diagram for order management system. In the diagram, four activities are identified which are associated with conditions. One important point should be clearly understood that an activity diagram cannot be exactly matched with the code. Following diagram is drawn with the four main activities • Submit student details. • Check attendance and yearly income. • Approve or decline. Final State or End Point An arrow pointing to a filled circle nested inside Another circle represents the final action state. Interrupting Edge An event, such as a cancellation, that interrupts the flow denoted with a lightning bolt.
  • 10. about history purpos e Use differenc e Where to Use Activity Diagrams? 1. Activity diagram is suitable for modeling the activity flow of the system. An application can have multiple systems. Activity diagram also captures these systems and describes the flow from one system to another. This specific usage is not available in other diagrams. These systems can be database, external queues, or any other system. 2. This diagram is used to model the activities which are nothing but business requirements. The diagram has more impact on business understanding rather than on implementation details. Activity diagram can be used for: • Modeling work flow by using activities. • Modeling business requirements. • High level understanding of the system's functionalities. • Investigating business requirements at a later stage.
  • 11. about history purpso e teams differen ce Uml behavior diagram that represents the work flow of stepwise activity of the system Activity diagram vs Flowchart diagrams? Activity Diagram Flowchart Diagrams Graphical diagram that represents the sequence of steps Includes parallel flow, merge, fork, swimlane etc. Does not contain advanced concept as of activity diagram Part of Uml diagram suite. Not a Uml diagram. Part 3:
  • 12. about history purpos e teams differen ce Dynamic aspects Summary Sequence from one activity to another A kind of flowchart but not a flowchart Notations summar y