Activity Diagrams. Notation Activity1()cActivity2() 1. Activities 2. Transition.

Slides:



Advertisements
Similar presentations
Object-Oriented Analysis and Design: Activity Diagrams
Advertisements

UML State chart/machine diagram State machine diagram is a behavior diagram which shows discrete behavior of a part of designed system through finite state.
Activity Diagrams in UML. Definition Activity diagrams represent the dynamics of the system. They are flow charts that are used to show the workflow of.
© 2006 ITT Educational Services Inc. SE350 System Analysis for Software Engineers: Unit 9 Slide 1 Appendix 3 Object-Oriented Analysis and Design.
1 Introduction to modeling Process modelling. 2 Where are we? #TitleDate 1Introduction ORM modeling Relational modeling
Information System Design IT60105
7M701 1 Activity Diagram. 7M701 2 Example 7M701 3 Activity Diagram: what is it? Describes activities and flows of data or decisions between activities.
UML Activity Diagrams In UML an activity diagram is used to display the sequence of actions They show the workflow from start to finish Detail the many.
Ch5: Software Specification. 1 Dynamic modeling using UML  Static models:  Dynamic models:
Essentials of state and activity diagram Lecture 24.
L06-2-S1 Activity Diagrams 2003 SJSU -- CmpE Software Engineering II Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College of Engineering.
7M822 UML Activity Diagrams 6 October 2008.
1 © Wolfgang Pelz UML2 UML Part 3. 2 © Wolfgang Pelz UML2 Chapter Ten State Machine Diagrams.
Activity Diagrams. What is Activity Diagrams?  Activity diagrams are a technique to describe procedural logic, business process, and work flow.  An.
1999 – 2006 M.E. Fayad SJSU -- CmpE Software Engineering Management Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College of Engineering.
Requirements Analysis Activity Diagrams b511.ppt © Copyright De Montfort University 2000 All Rights Reserved INFO2005 Requirements Analysis.
Activity Diagrams Derived from several techniques: Event diagrams of Jim Odell SDL state modeling techniques Workflow modeling Petri nets Especially useful.
Software Engineering Design & modelling
Modern Systems Analysis and Design Fifth Edition Jeffrey A
SE-565 Software System Requirements More UML Diagrams.
Department of Computer Science 1 CSS 496 Business Process Re-engineering for BS(CS)
Karolina Muszyńska Based on: S. Wrycza, B. Marcinkowski, K. Wyrzykowski „Język UML 2.0 w modelowaniu SI”
Software Engineering EKT 420. What is Activity Diagram Activity diagrams are graphical representations of workflows of stepwise activities and actions.
Interaction Modeling. Sequence Models  There are two kinds of sequence models: scenarios and sequence diagrams  A scenario is a sequence of events that.
BPMN By Hosein Bitaraf Software Engineering. Business Process Model and Notation (BPMN) is a graphical representation for specifying business processes.
Object-Oriented Software Engineering Practical Software Development using UML and Java Chapter 8: Modelling Interactions and Behaviour.
SOFTWARE DESIGN AND ARCHITECTURE LECTURE 21. Review ANALYSIS PHASE (OBJECT ORIENTED DESIGN) Functional Modeling – Use case Diagram Description.
UNIT- Venkata Ratnam K1 BEHAVIORAL MODELING.
Interaction Models (2): Sequence Diagrams Extracted from textbook: Object Oriented Modeling and Design with UML M. Blaha, J. Rumbaugh 1.
February 20, 2012  Present Fayad KSU – SWE Process and Modeling Software Process and Modeling Dr. M.E. Fayad, Professor Software Engineering Department,
Activity diagrams. Introduction ● Activity diagrams are a behavioural model that represent the dynamics of the system. ● An activity diagram is essentially.
9-1 © Prentice Hall, 2007 Chapter 9: Analysis Classes Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich, Jeffrey.
Information System Design IT60105
UNIFIED MODELING LANGUAGE(UML) BY Touseef Tahir Lecturer CS COMSATS Institute of Information Technology, Lahore.
Unified Modeling Language User Guide Section 4 - Basic Behavioral Modeling Chapter 19 – Activity Diagrams.
Chapter 11 Activity Diagrams. 2 “Activity diagrams are a technique to describe procedural logic, business processes, and work flows” - M. Fowler An activity.
CS212: Object Oriented Analysis and Design Lecture 34: UML Activity and Collaboration diagram.
UML: The Unified Modeling Language Excertos do livro: The Unified Modelling Language User Guide by Grady Booch, James Rumbaugh and Ivar Jacobson.
Activity diagrams M Taimoor Khan
7-1 © Prentice Hall, 2007 Topic 7: Analysis Classes Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich, Jeffrey.
Chapter 3: Introducing the UML
University of Southern California Center for Systems and Software Engineering 9/20/2010© USC-CSSE Activity Diagrams for Business Workflows and.
Smith’s Aerospace © P. Bailey & K. Vander Linden, 2005 Procedural Activity Patrick Bailey Keith Vander Linden Calvin College.
Analysis Classes. What Is an Analysis Class?  A class that represents initial data and behavior requirements, and whose software and hardware-oriented.
 Activity diagram is basically a flow chart to represent the flow from one activity to another activity.
Interaction Models (2): Activity Diagrams Extracted from textbook: Object Oriented Modeling and Design with UML M. Blaha, J. Rumbaugh.
Activity Diagram.
UML Chapter 17.
Analysis Classes Unit 5.
ACTIVITY DIAGRAMS 《UML面向对象建模基础》.
Activity Diagrams.
Information Delivery Manuals: Process Mapping
Activity Diagram.
Activity and State Transition Diagram
Activity Diagram.
Visit for more Learning Resources
Activity Diagrams Activity diagrams describe the workflow behavior of a system.  The diagrams describe the state of activities by showing the sequence.
Activity Diagrams.
Business System Development
Process Modeling: Activity/Swimlane Diagrams
Software System Engineering
Activity Diagrams.
Marlon Dumas marlon.dumas ät ut . ee
BPMN - Business Process Modeling Notations
Activity diagram It supports visual representation of sequences of actions that target a certain result. May be built for one or many use cases or for.
Activity Diagrams for Business Workflows and Scenarios
Behavioral Diagrams P. P. Mahale
Object-Oriented Analysis & Design
Interaction Models (2): Activity Diagrams
Presentation transcript:

Activity Diagrams

Notation Activity1()cActivity2() 1. Activities 2. Transition

Notation - 2 Activity1()c [x>0] [x=0] [x<0] [x>0] [x=0] [x<0] 3. Decision Diamond

Notation Synch. Bar (Join) 4.2 Splitting Bar (Fork) {AND} {OR} {XOR}

Notation Start & Stop Markers Start Marker Stop Marker

Notation - 4 Application/Department/Group/Role Boundaries DevelopersTestersMarkers Swimlane

Example: Business Level Activity Diagram of the Library memberLibrarian [borrower] [returner] Find book on shelf Wait in queue Prepare for next member Record borrowing Record return Put book back of shelf [returning] [borrowing]

To model the dynamic aspects of a system It is essentially a flowchart –Showing flow of control from activity to activity Purpose –Model business workflows –Model operations Activity Diagrams (1)

Activity diagrams commonly contain –Activity states and action states –Transitions –Objects Activity Diagrams (2)

Action states are atomic and cannot be decomposed –Work of the action state is not interrupted Activity states can be further decomposed –Their activity being represented by other activity diagrams –They may be interrupted Action States and Activity States

When the action or activity of a state completes, flow of control passes immediately to the next action or activity state A flow of control has to start and end someplace –initial state -- a solid ball –stop state -- a solid ball inside a circle Transitions (1)

Transitions (2)

Activity Diagram: Example (1)

A branch specifies alternate paths taken based on some Boolean expression A branch may have one incoming transition and two or more outgoing ones Branching (1)

Branching (2)

Activity Diagram: Example (2)

Use a synchronization bar to specify the forking and joining of parallel flows of control A synchronization bar is rendered as a thick horizontal or vertical line Forking and Joining

A fork may have one incoming transitions and two or more outgoing transitions –each transition represents an independent flow of control –conceptually, the activities of each of outgoing transitions are concurrent either truly concurrent (multiple nodes) or sequential yet interleaved (one node) Fork

A join may have two or more incoming transitions and one outgoing transition –above the join, the activities associated with each of these paths continues in parallel –at the join, the concurrent flows synchronize each waits until all incoming flows have reached the join, at which point one flow of control continues on below the join Join

Fork

Activity Diagram: Example (3)

Activity Diagram: Example (4)

Activity Diagram: Example (5)

Activity Diagram: Example (6)

Activity Diagram: Example (7)

A swimlane specifies a locus of activities To partition the activity states on an activity diagram into groups –each group representing the business organization responsible for those activities –each group is called a swimlane Each swimlane is divided from its neighbor by a vertical solid line Swimlanes (1)

Each swimlane has a name unique within its diagram Each swimlane may represent some real-world entity Each swimlane may be implemented by one or more classes Every activity belongs to exactly one swimlane, but transitions may cross lanes Swimlanes (2)

Activity Diagram: Example (8)

Activity Diagram: Example (9)