SlideShare una empresa de Scribd logo
1 de 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!

Más contenido relacionado

La actualidad más candente

La actualidad más candente (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
 

Similar a 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
 

Similar a 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
 

Último

Excvation Safety for safety officers reference
Excvation Safety for safety officers referenceExcvation Safety for safety officers reference
Excvation Safety for safety officers referencessuser2c065e
 
Driving Business Impact for PMs with Jon Harmer
Driving Business Impact for PMs with Jon HarmerDriving Business Impact for PMs with Jon Harmer
Driving Business Impact for PMs with Jon HarmerAggregage
 
GUIDELINES ON USEFUL FORMS IN FREIGHT FORWARDING (F) Danny Diep Toh MBA.pdf
GUIDELINES ON USEFUL FORMS IN FREIGHT FORWARDING (F) Danny Diep Toh MBA.pdfGUIDELINES ON USEFUL FORMS IN FREIGHT FORWARDING (F) Danny Diep Toh MBA.pdf
GUIDELINES ON USEFUL FORMS IN FREIGHT FORWARDING (F) Danny Diep Toh MBA.pdfDanny Diep To
 
Healthcare Feb. & Mar. Healthcare Newsletter
Healthcare Feb. & Mar. Healthcare NewsletterHealthcare Feb. & Mar. Healthcare Newsletter
Healthcare Feb. & Mar. Healthcare NewsletterJamesConcepcion7
 
Cyber Security Training in Office Environment
Cyber Security Training in Office EnvironmentCyber Security Training in Office Environment
Cyber Security Training in Office Environmentelijahj01012
 
Church Building Grants To Assist With New Construction, Additions, And Restor...
Church Building Grants To Assist With New Construction, Additions, And Restor...Church Building Grants To Assist With New Construction, Additions, And Restor...
Church Building Grants To Assist With New Construction, Additions, And Restor...Americas Got Grants
 
Pitch Deck Teardown: Xpanceo's $40M Seed deck
Pitch Deck Teardown: Xpanceo's $40M Seed deckPitch Deck Teardown: Xpanceo's $40M Seed deck
Pitch Deck Teardown: Xpanceo's $40M Seed deckHajeJanKamps
 
Lucia Ferretti, Lead Business Designer; Matteo Meschini, Business Designer @T...
Lucia Ferretti, Lead Business Designer; Matteo Meschini, Business Designer @T...Lucia Ferretti, Lead Business Designer; Matteo Meschini, Business Designer @T...
Lucia Ferretti, Lead Business Designer; Matteo Meschini, Business Designer @T...Associazione Digital Days
 
1911 Gold Corporate Presentation Apr 2024.pdf
1911 Gold Corporate Presentation Apr 2024.pdf1911 Gold Corporate Presentation Apr 2024.pdf
1911 Gold Corporate Presentation Apr 2024.pdfShaun Heinrichs
 
WSMM Media and Entertainment Feb_March_Final.pdf
WSMM Media and Entertainment Feb_March_Final.pdfWSMM Media and Entertainment Feb_March_Final.pdf
WSMM Media and Entertainment Feb_March_Final.pdfJamesConcepcion7
 
Fordham -How effective decision-making is within the IT department - Analysis...
Fordham -How effective decision-making is within the IT department - Analysis...Fordham -How effective decision-making is within the IT department - Analysis...
Fordham -How effective decision-making is within the IT department - Analysis...Peter Ward
 
The-Ethical-issues-ghhhhhhhhjof-Byjus.pptx
The-Ethical-issues-ghhhhhhhhjof-Byjus.pptxThe-Ethical-issues-ghhhhhhhhjof-Byjus.pptx
The-Ethical-issues-ghhhhhhhhjof-Byjus.pptxmbikashkanyari
 
Supercharge Your eCommerce Stores-acowebs
Supercharge Your eCommerce Stores-acowebsSupercharge Your eCommerce Stores-acowebs
Supercharge Your eCommerce Stores-acowebsGOKUL JS
 
EUDR Info Meeting Ethiopian coffee exporters
EUDR Info Meeting Ethiopian coffee exportersEUDR Info Meeting Ethiopian coffee exporters
EUDR Info Meeting Ethiopian coffee exportersPeter Horsten
 
Jewish Resources in the Family Resource Centre
Jewish Resources in the Family Resource CentreJewish Resources in the Family Resource Centre
Jewish Resources in the Family Resource CentreNZSG
 
Horngren’s Financial & Managerial Accounting, 7th edition by Miller-Nobles so...
Horngren’s Financial & Managerial Accounting, 7th edition by Miller-Nobles so...Horngren’s Financial & Managerial Accounting, 7th edition by Miller-Nobles so...
Horngren’s Financial & Managerial Accounting, 7th edition by Miller-Nobles so...ssuserf63bd7
 
Entrepreneurship lessons in Philippines
Entrepreneurship lessons in  PhilippinesEntrepreneurship lessons in  Philippines
Entrepreneurship lessons in PhilippinesDavidSamuel525586
 
Appkodes Tinder Clone Script with Customisable Solutions.pptx
Appkodes Tinder Clone Script with Customisable Solutions.pptxAppkodes Tinder Clone Script with Customisable Solutions.pptx
Appkodes Tinder Clone Script with Customisable Solutions.pptxappkodes
 
APRIL2024_UKRAINE_xml_0000000000000 .pdf
APRIL2024_UKRAINE_xml_0000000000000 .pdfAPRIL2024_UKRAINE_xml_0000000000000 .pdf
APRIL2024_UKRAINE_xml_0000000000000 .pdfRbc Rbcua
 
PSCC - Capability Statement Presentation
PSCC - Capability Statement PresentationPSCC - Capability Statement Presentation
PSCC - Capability Statement PresentationAnamaria Contreras
 

Último (20)

Excvation Safety for safety officers reference
Excvation Safety for safety officers referenceExcvation Safety for safety officers reference
Excvation Safety for safety officers reference
 
Driving Business Impact for PMs with Jon Harmer
Driving Business Impact for PMs with Jon HarmerDriving Business Impact for PMs with Jon Harmer
Driving Business Impact for PMs with Jon Harmer
 
GUIDELINES ON USEFUL FORMS IN FREIGHT FORWARDING (F) Danny Diep Toh MBA.pdf
GUIDELINES ON USEFUL FORMS IN FREIGHT FORWARDING (F) Danny Diep Toh MBA.pdfGUIDELINES ON USEFUL FORMS IN FREIGHT FORWARDING (F) Danny Diep Toh MBA.pdf
GUIDELINES ON USEFUL FORMS IN FREIGHT FORWARDING (F) Danny Diep Toh MBA.pdf
 
Healthcare Feb. & Mar. Healthcare Newsletter
Healthcare Feb. & Mar. Healthcare NewsletterHealthcare Feb. & Mar. Healthcare Newsletter
Healthcare Feb. & Mar. Healthcare Newsletter
 
Cyber Security Training in Office Environment
Cyber Security Training in Office EnvironmentCyber Security Training in Office Environment
Cyber Security Training in Office Environment
 
Church Building Grants To Assist With New Construction, Additions, And Restor...
Church Building Grants To Assist With New Construction, Additions, And Restor...Church Building Grants To Assist With New Construction, Additions, And Restor...
Church Building Grants To Assist With New Construction, Additions, And Restor...
 
Pitch Deck Teardown: Xpanceo's $40M Seed deck
Pitch Deck Teardown: Xpanceo's $40M Seed deckPitch Deck Teardown: Xpanceo's $40M Seed deck
Pitch Deck Teardown: Xpanceo's $40M Seed deck
 
Lucia Ferretti, Lead Business Designer; Matteo Meschini, Business Designer @T...
Lucia Ferretti, Lead Business Designer; Matteo Meschini, Business Designer @T...Lucia Ferretti, Lead Business Designer; Matteo Meschini, Business Designer @T...
Lucia Ferretti, Lead Business Designer; Matteo Meschini, Business Designer @T...
 
1911 Gold Corporate Presentation Apr 2024.pdf
1911 Gold Corporate Presentation Apr 2024.pdf1911 Gold Corporate Presentation Apr 2024.pdf
1911 Gold Corporate Presentation Apr 2024.pdf
 
WSMM Media and Entertainment Feb_March_Final.pdf
WSMM Media and Entertainment Feb_March_Final.pdfWSMM Media and Entertainment Feb_March_Final.pdf
WSMM Media and Entertainment Feb_March_Final.pdf
 
Fordham -How effective decision-making is within the IT department - Analysis...
Fordham -How effective decision-making is within the IT department - Analysis...Fordham -How effective decision-making is within the IT department - Analysis...
Fordham -How effective decision-making is within the IT department - Analysis...
 
The-Ethical-issues-ghhhhhhhhjof-Byjus.pptx
The-Ethical-issues-ghhhhhhhhjof-Byjus.pptxThe-Ethical-issues-ghhhhhhhhjof-Byjus.pptx
The-Ethical-issues-ghhhhhhhhjof-Byjus.pptx
 
Supercharge Your eCommerce Stores-acowebs
Supercharge Your eCommerce Stores-acowebsSupercharge Your eCommerce Stores-acowebs
Supercharge Your eCommerce Stores-acowebs
 
EUDR Info Meeting Ethiopian coffee exporters
EUDR Info Meeting Ethiopian coffee exportersEUDR Info Meeting Ethiopian coffee exporters
EUDR Info Meeting Ethiopian coffee exporters
 
Jewish Resources in the Family Resource Centre
Jewish Resources in the Family Resource CentreJewish Resources in the Family Resource Centre
Jewish Resources in the Family Resource Centre
 
Horngren’s Financial & Managerial Accounting, 7th edition by Miller-Nobles so...
Horngren’s Financial & Managerial Accounting, 7th edition by Miller-Nobles so...Horngren’s Financial & Managerial Accounting, 7th edition by Miller-Nobles so...
Horngren’s Financial & Managerial Accounting, 7th edition by Miller-Nobles so...
 
Entrepreneurship lessons in Philippines
Entrepreneurship lessons in  PhilippinesEntrepreneurship lessons in  Philippines
Entrepreneurship lessons in Philippines
 
Appkodes Tinder Clone Script with Customisable Solutions.pptx
Appkodes Tinder Clone Script with Customisable Solutions.pptxAppkodes Tinder Clone Script with Customisable Solutions.pptx
Appkodes Tinder Clone Script with Customisable Solutions.pptx
 
APRIL2024_UKRAINE_xml_0000000000000 .pdf
APRIL2024_UKRAINE_xml_0000000000000 .pdfAPRIL2024_UKRAINE_xml_0000000000000 .pdf
APRIL2024_UKRAINE_xml_0000000000000 .pdf
 
PSCC - Capability Statement Presentation
PSCC - Capability Statement PresentationPSCC - Capability Statement Presentation
PSCC - Capability Statement Presentation
 

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!