Activity Diagrams.

Slides:



Advertisements
Similar presentations
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.
Advertisements

Solutions to Review Questions
© 2006 ITT Educational Services Inc. SE350 System Analysis for Software Engineers: Unit 9 Slide 1 Appendix 3 Object-Oriented Analysis and Design.
Information System Design IT60105
Activity Diagrams [Arlow and Neustadt, 2005] CS 425 / 625 Seminar on Software Engineering University of Nevada, Reno Department of Computer Science & Engineering.
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.
SE 555 Software Requirements & Specification 1 Activity Diagrams.
1 CS 426 Senior Projects Chapter 14: Activity Diagrams [Arlow and Neustadt, 2005] February 17, 2009.
03/12/2001 © Bennett, McRobb and Farmer Activity Diagrams Based on Chapter 5 of Bennett, McRobb and Farmer: Object Oriented Systems Analysis and.
Activity Diagrams. What is Activity Diagrams?  Activity diagrams are a technique to describe procedural logic, business process, and work flow.  An.
Requirements Analysis Activity Diagrams b511.ppt © Copyright De Montfort University 2000 All Rights Reserved INFO2005 Requirements Analysis.
UML Activity Diagram. Activity Diagram  The main reason to use activity diagrams is to model the workflow behind the system being designed.  Activity.
COMP1007 Intro to Requirements Analysis © Copyright De Montfort University 2002 All Rights Reserved COMP1007 Introduction to Requirements Analysis Lecture.
SE-565 Software System Requirements More UML Diagrams.
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.
Class, Sequence and UML Model.  Has actors and use cases.
Object-Oriented Software Engineering Practical Software Development using UML and Java Chapter 8: Modelling Interactions and Behaviour.
UML A CTIVITY D IAGRAMS 1 Dr. Hoang Huu Hanh, OST – Hue University hanh-at-hueuni.edu.vn.
© 2005 course technology1 1 1 University Of Palestine UML for The IT Business Analyst A practical guide to Object Oriented Requirement Gathering Hoard.
Interaction Models (2): Sequence Diagrams Extracted from textbook: Object Oriented Modeling and Design with UML M. Blaha, J. Rumbaugh 1.
1 Devon M. Simmonds University of North Carolina, Wilmington CSC450 Software Engineering WorkFlow Modeling with Activity Diagrams.
Activity diagrams. Introduction ● Activity diagrams are a behavioural model that represent the dynamics of the system. ● An activity diagram is essentially.
E-Learning Material Business Processes. What’s a business process? Activities and Actions UML notation Decisions Objects and roles Examples.
© 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 1 UML 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.
Object Oriented Analysis & Design & UML (Unified Modeling Language)1 Part VI: Design Continuous Activity Diagams State Diagrams.
CS212: Object Oriented Analysis and Design Lecture 34: UML Activity and Collaboration diagram.
A Student Guide to Object-Oriented Development
Systems Analysis and Design in a Changing World, Fourth Edition
Chapter 14: Activity Diagrams November 2015 [Arlow and Neustadt, 2005] CS 425/625 Senior Projects University of Nevada, Reno Department of Computer Science.
UML Activity Diagrams.
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.
Communication Diagrams Lecture 8. Introduction  Interaction Diagrams are used to model system dynamics  How do objects change state?  How do objects.
Interaction Models (2): Activity Diagrams Extracted from textbook: Object Oriented Modeling and Design with UML M. Blaha, J. Rumbaugh.
Activity Diagrams IST 420 Dr. Ocker. BPM With Activity Diagrams Business processes consist of a number of activities Activity diagrams depict the sequence.
© 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 1 UML Activity Diagrams.
Systems Analysis and Design in a Changing World, Fourth Edition
Business Process and Functional Modeling
Chapter 3 DOCUMENTING ACCOUNTING SYSTEMS
Analysis Classes Unit 5.
Information Delivery Manuals: Process Mapping
Chapter 4: Business Process and Functional Modeling, continued
State Machine Diagrams
Unified Modeling Language
Introduction to Control Flow Patterns and BizAgi
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
UML Activity Diagrams.
Software Engineering Chapter 5 (Part 3) System Modeling Dr.Doaa Sami.
UML Activity Diagrams & State Charts
Process Modeling: Activity/Swimlane Diagrams
Week 12: Activity & Sequence Diagrams
Chapter 14: Activity Diagrams
Activity Diagrams.
Interaction diagrams Interaction diagrams are models that describe how groups of objects collaborate in some behavior. Typically, an interaction diagram.
Chapter 14: Activity Diagrams
Chapter 14: Activity Diagrams
Activity Diagrams for Business Workflows and Scenarios
Information Systems Engineering
Appendix 3 Object-Oriented Analysis and Design
Interaction Models (2): Activity Diagrams
Presentation transcript:

Activity Diagrams

Elements (Activity without partitions) nitial node: Indicates where the workflow begins. Control flow: An arrow showing the direction of the workflow. Activity: Indicates a step in the process. Decision: A diamond symbol, indicating a choice. Workflow will proceed along one of a number of possible paths, according to the guard conditions. Merge: Use this symbol if you wish to adhere to strictly to the UML standard when modeling a number of alternative flows that lead to the same activity. Rather than terminating them at the same activity, terminate them at a merge, and draw a flow from the merge to the activity. For business-analysis purposes, however, you might want to consider relaxing the standard by dispensing with the merge as it does hinder readability.

Guard condition: A condition attached to a control flow Guard condition: A condition attached to a control flow. When the guard condition is true, workflow may flow along the control flow. Guard conditions are usually attached to control flows that come out of a decision symbol. (However, they can also be used without the decision symbol.) A guard is shown within square brackets. Event: A trigger attached to a control flow. The event must occur for the flow to move along the control flow. Declaring something as an event has a stronger implication than calling it a guard. An event actually triggers the control flow by forcing the previous activity to end, whereas a guard only governs whether a flow that was triggered for another reason (such as the completion of the previous activity) is allowed to flow along the control flow. An event is indicated without the use of square brackets.

Fork and join: Bars used to document parallel activities Fork and join: Bars used to document parallel activities. In the UML, parallel activities are those that may begin in any sequence—either at the same time or one before the other. A fork indicates the point after which a number of activities may begin in any order. A join indicates that workflow may commence only once the parallel activities that flow into it have all been completed. Final node: Indicates the end of the process.

A control flow labeled with an event

Activities nested within an activity symbol.

Objects Flow If you find the preceding notation communicates enough about a workflow to stakeholders, you won’t need the extra notations described next. But the UML does give you the option of indicating the inputs and outputs of any activity on the diagram by adding object flows. (If you are a reader versed in structured analysis, it may help to think of object flows as the UML equivalent of the data flows in a data-flow diagram.) Add object flows to your activity diagrams if you wish to show the point at which business objects are created, changed, or required by activities. Examples of business objects that you might think of including in this way are claims, complaints, reports, invoices, and paychecks. On the activity diagram, you will not only be able to identify the object, but you can also indicate what state it’ll be in at that point.

Activity Diagram with Partitions (Swimlanes) The elements in an activity diagram can be grouped by using partitions. The purpose of a partition is to indicate where the responsibility lies for performing specific activities. In a business model, the partitions may be business units, divisions, or organizations. For systems, the partitions may be other systems or subsystems. In application modeling, the partitions may be objects in the application. Each partition may be named to indicate the responsible party. Figure 5–31 shows how the various activities. To indicate who performs each activity, you add partitions (commonly referred to as swimlanes) to the activity diagram. A partition is depicted as a column (or row) on an activity diagram. Allocate one partition for each object that takes an active part in the process flow. Each partition represents a stakeholder (business actor or worker) who carries out some activity. Although you shouldn’t spend too much time focusing on technology at this time, you may also show a computer system as a partition. Position every activity in the partition of the object that performs it. Name each partition at the top of the column, according to the participating object. You may use an informal, simple name for the partition, identifying the actor who carries out the task.