SlideShare ist ein Scribd-Unternehmen logo
1 von 12
UML – Activity Diagram
Tutorial
Activity Diagrams
Activity diagrams may seem
confusing, but with the
right resources, you can
make them all on your own.
Follow these detailed
instructions to learn how.
LIST PROCESS STEPS
Decide which business or computational process you want
to model. Then write down each step that occurs in that
process. Activity diagrams can help you:
• Model the workflow of a software system
• Analyze a use case by describing and timing the necessary
actions
• Illustrate a complex sequential algorithm
• Describe applications with parallel processes
DO YOUR RESEARCH
• Before we go any further, be sure to review the basics.
You should understand what an activity diagram is. You
may even want to review what UML is, so you fully
understand the language that activity diagrams use as a
guide.
• When you're prepared with the necessary tools—
including a diagramming program like Lucidchart—it's
time to get started.
ADD SHAPES & SYMBOLS
• Begin your chart with a start
symbol—a black circle. Then
you can drag out activity
shapes; just double-click the
shape to add descriptive text.
• In Lucidchart, all symbols can
be dragged from the toolbox to
the canvas.
SHAPES Cont’d
• Add symbols as your process requires and use
connectors to show the flow of each activity as it
ends and begins.
• We've listed the most common symbols in the
next slides, along with their meanings. If you're
still confused, check out this comprehensive guide
to activity diagram symbols.
SHAPES Cont’d
• Activity nodes, also known as activity states, represent a
single step within a workflow.
• Transitions are simply connecting lines that demonstrate
which activity node follows another.
• Decisions are represented with diamond shapes. They
show alternative threads in the workflow.
• Synchronization bars are used to model parallel
subflows. These thick vertical or horizontal lines allow you
to show concurrent threads in a process.
Activity Diagram
Example 1
REVIEW THE FLOW
To ensure that you're demonstrating the important steps in
your activity, consider questions like:
• What happens when this process is initiated? How does
the process complete itself?
• How does one activity affect other steps in the
workflow, organization, or system?
• When do other factors and people enter the flow?
Which options or new paths do they provide?
REVIEW THE FLOW
• When you've covered these questions, ask your team
members to review the finished document.
• They may be able to provide a unique perspective
that ultimately improves understanding.
ACTIVITY DIAGRAM EXAMPLE 2
Resources
• See Lucid U for examples
and tutorials on UML
activity diagrams.
• Try the Lucidchart demo
for free!
Create a variety of UML diagrams, including activity diagrams, with Lucidchart. Our simple
online editor makes it easy to map any process or workflow right from your browser!

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (20)

Uml sequence diagrams
Uml sequence diagramsUml sequence diagrams
Uml sequence diagrams
 
Lecture6 activity diagrams
Lecture6 activity diagramsLecture6 activity diagrams
Lecture6 activity diagrams
 
Uml diagrams
Uml diagramsUml diagrams
Uml diagrams
 
4 activity diagrams
4 activity diagrams4 activity diagrams
4 activity diagrams
 
Activity sequence -class and swimlane
Activity  sequence -class  and swimlaneActivity  sequence -class  and swimlane
Activity sequence -class and swimlane
 
An introduction to uml
An introduction to umlAn introduction to uml
An introduction to uml
 
Activity diag
Activity diagActivity diag
Activity diag
 
Activity diagram
Activity diagramActivity diagram
Activity diagram
 
Dynamic modeling
Dynamic modelingDynamic modeling
Dynamic modeling
 
Uml Diagrams
Uml DiagramsUml Diagrams
Uml Diagrams
 
Modeling software with UML
Modeling software with UMLModeling software with UML
Modeling software with UML
 
Functional modeling
Functional modelingFunctional modeling
Functional modeling
 
Component diagram
Component diagramComponent diagram
Component diagram
 
UML tutorial
UML tutorialUML tutorial
UML tutorial
 
Activity diagram
Activity diagramActivity diagram
Activity diagram
 
Uml
UmlUml
Uml
 
SAD06 - Use Case Diagrams
SAD06 - Use Case DiagramsSAD06 - Use Case Diagrams
SAD06 - Use Case Diagrams
 
Interaction overview and Profile UML Diagrams
Interaction overview and Profile UML DiagramsInteraction overview and Profile UML Diagrams
Interaction overview and Profile UML Diagrams
 
Intro to UML 2
Intro to UML 2Intro to UML 2
Intro to UML 2
 
Uml 9
Uml 9Uml 9
Uml 9
 

Ähnlich wie UML - activity diagram tutorial

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
 
Prepare and Interpret Technical Drawing.pptx
Prepare and Interpret Technical Drawing.pptxPrepare and Interpret Technical Drawing.pptx
Prepare and Interpret Technical Drawing.pptxRivenBarquilla
 
analysis and design with uml
analysis and design with umlanalysis and design with uml
analysis and design with umlsabin kafle
 
Unit-II(STATIC UML DIAGRAMS).ppt
Unit-II(STATIC UML DIAGRAMS).pptUnit-II(STATIC UML DIAGRAMS).ppt
Unit-II(STATIC UML DIAGRAMS).pptganeshkarthy
 
Object-Oriented Systems Analysis and Design Using UML.pptx
Object-Oriented Systems Analysis and Design Using UML.pptxObject-Oriented Systems Analysis and Design Using UML.pptx
Object-Oriented Systems Analysis and Design Using UML.pptxXanGwaps
 
CS6502 OOAD - Question Bank and Answer
CS6502 OOAD - Question Bank and AnswerCS6502 OOAD - Question Bank and Answer
CS6502 OOAD - Question Bank and AnswerGobinath Subramaniam
 
CPAP.com Introduction to Flowcharts and Process Design
CPAP.com Introduction to Flowcharts and Process DesignCPAP.com Introduction to Flowcharts and Process Design
CPAP.com Introduction to Flowcharts and Process Designjohnnygoodman
 
Use case Diagram and Sequence Diagram
Use case Diagram and Sequence DiagramUse case Diagram and Sequence Diagram
Use case Diagram and Sequence DiagramNikhil Pandit
 
Object Oriented Analysis
Object Oriented AnalysisObject Oriented Analysis
Object Oriented AnalysisAMITJain879
 

Ähnlich wie UML - activity diagram tutorial (20)

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
 
Prepare and Interpret Technical Drawing.pptx
Prepare and Interpret Technical Drawing.pptxPrepare and Interpret Technical Drawing.pptx
Prepare and Interpret Technical Drawing.pptx
 
analysis and design with uml
analysis and design with umlanalysis and design with uml
analysis and design with uml
 
Unit-II(STATIC UML DIAGRAMS).ppt
Unit-II(STATIC UML DIAGRAMS).pptUnit-II(STATIC UML DIAGRAMS).ppt
Unit-II(STATIC UML DIAGRAMS).ppt
 
Object-Oriented Systems Analysis and Design Using UML.pptx
Object-Oriented Systems Analysis and Design Using UML.pptxObject-Oriented Systems Analysis and Design Using UML.pptx
Object-Oriented Systems Analysis and Design Using UML.pptx
 
CS6502 OOAD - Question Bank and Answer
CS6502 OOAD - Question Bank and AnswerCS6502 OOAD - Question Bank and Answer
CS6502 OOAD - Question Bank and Answer
 
Cs8592 ooad unit 1
Cs8592 ooad unit 1Cs8592 ooad unit 1
Cs8592 ooad unit 1
 
Cs8592 ooad unit 1
Cs8592 ooad unit 1Cs8592 ooad unit 1
Cs8592 ooad unit 1
 
Uml
UmlUml
Uml
 
Flowchart
FlowchartFlowchart
Flowchart
 
CPAP.com Introduction to Flowcharts and Process Design
CPAP.com Introduction to Flowcharts and Process DesignCPAP.com Introduction to Flowcharts and Process Design
CPAP.com Introduction to Flowcharts and Process Design
 
Case stydy cs701
Case stydy cs701 Case stydy cs701
Case stydy cs701
 
Use case Diagram and Sequence Diagram
Use case Diagram and Sequence DiagramUse case Diagram and Sequence Diagram
Use case Diagram and Sequence Diagram
 
Uml profe
Uml profeUml profe
Uml profe
 
SE UML.ppt
SE UML.pptSE UML.ppt
SE UML.ppt
 
SMD.pptx
SMD.pptxSMD.pptx
SMD.pptx
 
Design UML diagrams
Design UML diagramsDesign UML diagrams
Design UML diagrams
 
Design UML diagrams
Design UML diagramsDesign UML diagrams
Design UML diagrams
 
Object Oriented Analysis
Object Oriented AnalysisObject Oriented Analysis
Object Oriented Analysis
 
Uml overview modified
Uml overview modifiedUml overview modified
Uml overview modified
 

Kürzlich hochgeladen

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
 
Grateful 7 speech thanking everyone that has helped.pdf
Grateful 7 speech thanking everyone that has helped.pdfGrateful 7 speech thanking everyone that has helped.pdf
Grateful 7 speech thanking everyone that has helped.pdfPaul Menig
 
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
 
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...lizamodels9
 
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
 
How to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League CityHow to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League CityEric T. Tung
 
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
 
Call Girls In Panjim North Goa 9971646499 Genuine Service
Call Girls In Panjim North Goa 9971646499 Genuine ServiceCall Girls In Panjim North Goa 9971646499 Genuine Service
Call Girls In Panjim North Goa 9971646499 Genuine Serviceritikaroy0888
 
Dr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdfDr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdfAdmir Softic
 
7.pdf This presentation captures many uses and the significance of the number...
7.pdf This presentation captures many uses and the significance of the number...7.pdf This presentation captures many uses and the significance of the number...
7.pdf This presentation captures many uses and the significance of the number...Paul Menig
 
KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...
KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...
KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...Any kyc Account
 
Cracking the Cultural Competence Code.pptx
Cracking the Cultural Competence Code.pptxCracking the Cultural Competence Code.pptx
Cracking the Cultural Competence Code.pptxWorkforce Group
 
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
 
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...amitlee9823
 
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...amitlee9823
 
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
 
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptx
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptxB.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptx
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptxpriyanshujha201
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756dollysharma2066
 

Kürzlich hochgeladen (20)

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
 
Grateful 7 speech thanking everyone that has helped.pdf
Grateful 7 speech thanking everyone that has helped.pdfGrateful 7 speech thanking everyone that has helped.pdf
Grateful 7 speech thanking everyone that has helped.pdf
 
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
 
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
 
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
 
How to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League CityHow to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League City
 
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...
 
Forklift Operations: Safety through Cartoons
Forklift Operations: Safety through CartoonsForklift Operations: Safety through Cartoons
Forklift Operations: Safety through Cartoons
 
Call Girls In Panjim North Goa 9971646499 Genuine Service
Call Girls In Panjim North Goa 9971646499 Genuine ServiceCall Girls In Panjim North Goa 9971646499 Genuine Service
Call Girls In Panjim North Goa 9971646499 Genuine Service
 
Dr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdfDr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdf
 
7.pdf This presentation captures many uses and the significance of the number...
7.pdf This presentation captures many uses and the significance of the number...7.pdf This presentation captures many uses and the significance of the number...
7.pdf This presentation captures many uses and the significance of the number...
 
KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...
KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...
KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...
 
Cracking the Cultural Competence Code.pptx
Cracking the Cultural Competence Code.pptxCracking the Cultural Competence Code.pptx
Cracking the Cultural Competence Code.pptx
 
VVVIP Call Girls In Greater Kailash ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...
VVVIP Call Girls In Greater Kailash ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...VVVIP Call Girls In Greater Kailash ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...
VVVIP Call Girls In Greater Kailash ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...
 
Monte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSMMonte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSM
 
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
 
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
 
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) 👒
 
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptx
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptxB.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptx
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptx
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 

UML - activity diagram tutorial

  • 1. UML – Activity Diagram Tutorial
  • 2. Activity Diagrams Activity diagrams may seem confusing, but with the right resources, you can make them all on your own. Follow these detailed instructions to learn how.
  • 3. LIST PROCESS STEPS Decide which business or computational process you want to model. Then write down each step that occurs in that process. Activity diagrams can help you: • Model the workflow of a software system • Analyze a use case by describing and timing the necessary actions • Illustrate a complex sequential algorithm • Describe applications with parallel processes
  • 4. DO YOUR RESEARCH • Before we go any further, be sure to review the basics. You should understand what an activity diagram is. You may even want to review what UML is, so you fully understand the language that activity diagrams use as a guide. • When you're prepared with the necessary tools— including a diagramming program like Lucidchart—it's time to get started.
  • 5. ADD SHAPES & SYMBOLS • Begin your chart with a start symbol—a black circle. Then you can drag out activity shapes; just double-click the shape to add descriptive text. • In Lucidchart, all symbols can be dragged from the toolbox to the canvas.
  • 6. SHAPES Cont’d • Add symbols as your process requires and use connectors to show the flow of each activity as it ends and begins. • We've listed the most common symbols in the next slides, along with their meanings. If you're still confused, check out this comprehensive guide to activity diagram symbols.
  • 7. SHAPES Cont’d • Activity nodes, also known as activity states, represent a single step within a workflow. • Transitions are simply connecting lines that demonstrate which activity node follows another. • Decisions are represented with diamond shapes. They show alternative threads in the workflow. • Synchronization bars are used to model parallel subflows. These thick vertical or horizontal lines allow you to show concurrent threads in a process.
  • 9. REVIEW THE FLOW To ensure that you're demonstrating the important steps in your activity, consider questions like: • What happens when this process is initiated? How does the process complete itself? • How does one activity affect other steps in the workflow, organization, or system? • When do other factors and people enter the flow? Which options or new paths do they provide?
  • 10. REVIEW THE FLOW • When you've covered these questions, ask your team members to review the finished document. • They may be able to provide a unique perspective that ultimately improves understanding.
  • 12. Resources • See Lucid U for examples and tutorials on UML activity diagrams. • Try the Lucidchart demo for free! Create a variety of UML diagrams, including activity diagrams, with Lucidchart. Our simple online editor makes it easy to map any process or workflow right from your browser!