SlideShare a Scribd company logo
Activity Diagram 
What is Activity diagram? 
Activity diagram is another important diagram in UML to describe dynamic aspects of the system. 
Activity diagram is a flow chart to represent the flow from one activity to another activity and describes 
operation of the system. 
Activity diagram is not only shows the visualizing the dynamic nature of system and construct the execution of 
the system. 
After identifying the activities we need to understand how they are associated with constraints and conditions. 
The missing part of the activity diagram is Messaging. Activity diagram is not shows the message flow from one 
activity to another activity. 
Before drawing the activity diagram we should know the elements used in activity diagram. 
We should identify the following elements: 
 Activities 
 Association 
 Conditions 
 Constraints 
Activity diagram shows like a flow chart but it is not. It shows different flow like parallel, branched, concurrent and 
single. 
So the purposes 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. 
Where to use Activity diagram? 
An application can have multiple systems. Activity diagram captures these systems and describes flow from one 
activity to another activity. 
This specific usage not in another diagram.
Activity Diagram 
Below diagram we use the elements of activity diagram. 
Start /Initial 
Phase 
Decision box 
Activity/Action 
State 
Flow 
Note/comments 
Stop 
Below the example is Activity diagram: 
Insert Card Enter PIN 
Confiscate PIN 
[Invalid PIN] 
[Valid PIN] 
Display Menu
Activity Diagram 
Below the example Reservation of Ticket Activity diagram by using swimlane: 
Passenger System Database Pay gateway 
User Login 
Check seats availability 
Seats not available 
[No] 
[Yes 
] 
Provide register form 
Submit registration form 
Verify registration details 
[No] 
[Yes 
] 
Invalid details 
Payment process start 
Select payment mode 
Select credit or debit card 
Verify account number 
Ticket Cnfirmed 
[Yes 
] 
[No/Invalid parameters] 
Select Bank 
Enter card number 
Authentication 
[Update 
] 
Update passenger details 
Update reservation 
[Yes 
] 
Debit amount 
[No 
] 
Invalid Number
Activity Diagram

More Related Content

What's hot

Assignment on diagram and flowchart 1
Assignment on diagram and flowchart 1Assignment on diagram and flowchart 1
Assignment on diagram and flowchart 1
Swarnima Tiwari
 
Flow chart
Flow chartFlow chart
Flow chart
oggipl
 

What's hot (13)

ppt of flowchart
ppt of flowchartppt of flowchart
ppt of flowchart
 
Assignment on diagram and flowchart 1
Assignment on diagram and flowchart 1Assignment on diagram and flowchart 1
Assignment on diagram and flowchart 1
 
2 flow charts
2 flow charts2 flow charts
2 flow charts
 
Flow chart
Flow chartFlow chart
Flow chart
 
What is a flowchart
What is a flowchartWhat is a flowchart
What is a flowchart
 
Types of flowchart
Types of flowchartTypes of flowchart
Types of flowchart
 
Flow Chart Guide PPT
Flow Chart Guide PPTFlow Chart Guide PPT
Flow Chart Guide PPT
 
Flowchart symbols meaning explained
Flowchart symbols meaning explainedFlowchart symbols meaning explained
Flowchart symbols meaning explained
 
Activity diagram
Activity diagramActivity diagram
Activity diagram
 
Uml diagrams
Uml diagramsUml diagrams
Uml diagrams
 
Chapter2
Chapter2Chapter2
Chapter2
 
Flowcharts
FlowchartsFlowcharts
Flowcharts
 
Flow Chart @ppsc(2)
Flow Chart @ppsc(2)Flow Chart @ppsc(2)
Flow Chart @ppsc(2)
 

Similar to MOM on activity diagram

software engineering with uml- activity diagram
software engineering with uml- activity diagramsoftware engineering with uml- activity diagram
software engineering with uml- activity diagram
rahmantoyuri
 
Lab # 05
Lab # 05Lab # 05
Lab # 05
Mr SMAK
 
Use case diagrams
Use case diagramsUse case diagrams
Use case diagrams
Mir Majid
 
INTRODUCTION TO UML DIAGRAMS
INTRODUCTION TO UML DIAGRAMSINTRODUCTION TO UML DIAGRAMS
INTRODUCTION TO UML DIAGRAMS
Ashita Agrawal
 

Similar to MOM on activity diagram (20)

Activity diagrams
Activity diagramsActivity diagrams
Activity diagrams
 
Use case model
Use case modelUse case model
Use case model
 
Activity diagram model
Activity diagram modelActivity diagram model
Activity diagram model
 
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
 
Activity
ActivityActivity
Activity
 
ACTIVITY DIAGRAM.pptx
ACTIVITY DIAGRAM.pptxACTIVITY DIAGRAM.pptx
ACTIVITY DIAGRAM.pptx
 
Lecture09
Lecture09Lecture09
Lecture09
 
Lecture09
Lecture09Lecture09
Lecture09
 
Lab # 05
Lab # 05Lab # 05
Lab # 05
 
UML Diagrams
UML DiagramsUML Diagrams
UML Diagrams
 
Activity Diagram Examples by Creately
Activity Diagram Examples by Creately Activity Diagram Examples by Creately
Activity Diagram Examples by Creately
 
Use case diagrams
Use case diagramsUse case diagrams
Use case diagrams
 
INTRODUCTION TO UML DIAGRAMS
INTRODUCTION TO UML DIAGRAMSINTRODUCTION TO UML DIAGRAMS
INTRODUCTION TO UML DIAGRAMS
 
Online spice selling report1
Online spice selling report1Online spice selling report1
Online spice selling report1
 
Unified Modeling Language in Software Engineering
Unified Modeling Language in Software EngineeringUnified Modeling Language in Software Engineering
Unified Modeling Language in Software Engineering
 
Lecture 19...unit 3.....se
Lecture 19...unit 3.....seLecture 19...unit 3.....se
Lecture 19...unit 3.....se
 
Chapter06
Chapter06Chapter06
Chapter06
 
UML and Software Modeling Tools.pptx
UML and Software Modeling Tools.pptxUML and Software Modeling Tools.pptx
UML and Software Modeling Tools.pptx
 
Jar chapter 4_part_ii
Jar chapter 4_part_iiJar chapter 4_part_ii
Jar chapter 4_part_ii
 

More from Yaswanth Babu Gummadivelli

More from Yaswanth Babu Gummadivelli (20)

Presentation on BA
Presentation on BAPresentation on BA
Presentation on BA
 
ERP
ERPERP
ERP
 
Ba -content
Ba -contentBa -content
Ba -content
 
E commerce use case documentation.
E commerce use case documentation.E commerce use case documentation.
E commerce use case documentation.
 
Business analyst ppt
Business analyst pptBusiness analyst ppt
Business analyst ppt
 
MOM on BA
MOM on BAMOM on BA
MOM on BA
 
exception handling
 exception handling exception handling
exception handling
 
collections
 collections collections
collections
 
Constructors
Constructors Constructors
Constructors
 
array
array array
array
 
Use case for atm
Use case for atmUse case for atm
Use case for atm
 
use case diagramHospital managment system
use case diagramHospital managment systemuse case diagramHospital managment system
use case diagramHospital managment system
 
Activity diagram for ticket vending machine
Activity diagram for ticket vending machineActivity diagram for ticket vending machine
Activity diagram for ticket vending machine
 
Extreme programming
Extreme programmingExtreme programming
Extreme programming
 
Agile model
Agile model Agile model
Agile model
 
Business Analyst
Business AnalystBusiness Analyst
Business Analyst
 
CRM and ERP
CRM and ERPCRM and ERP
CRM and ERP
 
Reflection
ReflectionReflection
Reflection
 
Bill Gates
Bill GatesBill Gates
Bill Gates
 
Generics collections
Generics collectionsGenerics collections
Generics collections
 

Recently uploaded

Accounting and finance exit exam 2016 E.C.pdf
Accounting and finance exit exam 2016 E.C.pdfAccounting and finance exit exam 2016 E.C.pdf
Accounting and finance exit exam 2016 E.C.pdf
YibeltalNibretu
 
Industrial Training Report- AKTU Industrial Training Report
Industrial Training Report- AKTU Industrial Training ReportIndustrial Training Report- AKTU Industrial Training Report
Industrial Training Report- AKTU Industrial Training Report
Avinash Rai
 

Recently uploaded (20)

B.ed spl. HI pdusu exam paper-2023-24.pdf
B.ed spl. HI pdusu exam paper-2023-24.pdfB.ed spl. HI pdusu exam paper-2023-24.pdf
B.ed spl. HI pdusu exam paper-2023-24.pdf
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
Gyanartha SciBizTech Quiz slideshare.pptx
Gyanartha SciBizTech Quiz slideshare.pptxGyanartha SciBizTech Quiz slideshare.pptx
Gyanartha SciBizTech Quiz slideshare.pptx
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdfDanh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
 
Accounting and finance exit exam 2016 E.C.pdf
Accounting and finance exit exam 2016 E.C.pdfAccounting and finance exit exam 2016 E.C.pdf
Accounting and finance exit exam 2016 E.C.pdf
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
 
The Benefits and Challenges of Open Educational Resources
The Benefits and Challenges of Open Educational ResourcesThe Benefits and Challenges of Open Educational Resources
The Benefits and Challenges of Open Educational Resources
 
Basic Civil Engg Notes_Chapter-6_Environment Pollution & Engineering
Basic Civil Engg Notes_Chapter-6_Environment Pollution & EngineeringBasic Civil Engg Notes_Chapter-6_Environment Pollution & Engineering
Basic Civil Engg Notes_Chapter-6_Environment Pollution & Engineering
 
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptxJose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
 
slides CapTechTalks Webinar May 2024 Alexander Perry.pptx
slides CapTechTalks Webinar May 2024 Alexander Perry.pptxslides CapTechTalks Webinar May 2024 Alexander Perry.pptx
slides CapTechTalks Webinar May 2024 Alexander Perry.pptx
 
NCERT Solutions Power Sharing Class 10 Notes pdf
NCERT Solutions Power Sharing Class 10 Notes pdfNCERT Solutions Power Sharing Class 10 Notes pdf
NCERT Solutions Power Sharing Class 10 Notes pdf
 
2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptx2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptx
 
Basic Civil Engineering Notes of Chapter-6, Topic- Ecosystem, Biodiversity G...
Basic Civil Engineering Notes of Chapter-6,  Topic- Ecosystem, Biodiversity G...Basic Civil Engineering Notes of Chapter-6,  Topic- Ecosystem, Biodiversity G...
Basic Civil Engineering Notes of Chapter-6, Topic- Ecosystem, Biodiversity G...
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
 
Introduction to Quality Improvement Essentials
Introduction to Quality Improvement EssentialsIntroduction to Quality Improvement Essentials
Introduction to Quality Improvement Essentials
 
NLC-2024-Orientation-for-RO-SDO (1).pptx
NLC-2024-Orientation-for-RO-SDO (1).pptxNLC-2024-Orientation-for-RO-SDO (1).pptx
NLC-2024-Orientation-for-RO-SDO (1).pptx
 
Salient features of Environment protection Act 1986.pptx
Salient features of Environment protection Act 1986.pptxSalient features of Environment protection Act 1986.pptx
Salient features of Environment protection Act 1986.pptx
 
Industrial Training Report- AKTU Industrial Training Report
Industrial Training Report- AKTU Industrial Training ReportIndustrial Training Report- AKTU Industrial Training Report
Industrial Training Report- AKTU Industrial Training Report
 

MOM on activity diagram

  • 1. Activity Diagram What is Activity diagram? Activity diagram is another important diagram in UML to describe dynamic aspects of the system. Activity diagram is a flow chart to represent the flow from one activity to another activity and describes operation of the system. Activity diagram is not only shows the visualizing the dynamic nature of system and construct the execution of the system. After identifying the activities we need to understand how they are associated with constraints and conditions. The missing part of the activity diagram is Messaging. Activity diagram is not shows the message flow from one activity to another activity. Before drawing the activity diagram we should know the elements used in activity diagram. We should identify the following elements:  Activities  Association  Conditions  Constraints Activity diagram shows like a flow chart but it is not. It shows different flow like parallel, branched, concurrent and single. So the purposes 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. Where to use Activity diagram? An application can have multiple systems. Activity diagram captures these systems and describes flow from one activity to another activity. This specific usage not in another diagram.
  • 2. Activity Diagram Below diagram we use the elements of activity diagram. Start /Initial Phase Decision box Activity/Action State Flow Note/comments Stop Below the example is Activity diagram: Insert Card Enter PIN Confiscate PIN [Invalid PIN] [Valid PIN] Display Menu
  • 3. Activity Diagram Below the example Reservation of Ticket Activity diagram by using swimlane: Passenger System Database Pay gateway User Login Check seats availability Seats not available [No] [Yes ] Provide register form Submit registration form Verify registration details [No] [Yes ] Invalid details Payment process start Select payment mode Select credit or debit card Verify account number Ticket Cnfirmed [Yes ] [No/Invalid parameters] Select Bank Enter card number Authentication [Update ] Update passenger details Update reservation [Yes ] Debit amount [No ] Invalid Number