Asper School of Business University of Manitoba Systems Analysis & Design Instructor: Bob Travica Analyzing system processes: Use Case Diagram Updated.

Slides:



Advertisements
Similar presentations
Systems Analysis and Design in a Changing World, 6th Edition
Advertisements

Object-Oriented Analysis and Design
Information System Engineering
Tutorial 2. What is a UML Use Case Diagram? Use case diagrams model the functionality of a system using actors and use cases. Use cases are services or.
Asper School of Business University of Manitoba Systems Analysis & Design Instructor: Bob Travica Analyzing system processes: Use Case Diagram Updated.
Asper School of Business University of Manitoba Systems Analysis & Design Instructor: Bob Travica Analyzing systems process: Activity diagram Updated 2014.
Asper School of Business University of Manitoba Systems Analysis & Design Instructor: Bob Travica Analyzing systems process: Use Case Diagram.
Chapter 7 Using Data Flow Diagrams
Documenting Requirements using Use Case Diagrams
Asper School of Business University of Manitoba Systems Analysis & Design Instructor: Bob Travica Use Case description Updated: October 2014.
Use Case Systems Analysis & DesignUse Case1 Use case refers to A system’s behavior (functionality) A set of activities that produce some output.
Fundamental System Concepts Asper School of Business University of Manitoba Systems Analysis & Design Instructor: Bob Travica Updated: September 2014.
Asper School of Business University of Manitoba Systems Analysis & Design Instructor: Bob Travica System sequence diagram Updated: 2014.
Chapter 9 Using Data Flow Diagrams
7. 2Object-Oriented Analysis and Design with the Unified Process Objectives  Detailed Object-Oriented Requirements Definitions  System Processes—A Use.
Modeling the Processes and Logic
Systems Analysis and Design in a Changing World, 6th Edition
Detailed Object-Oriented Requirements Definitions
Systems Analysis I Data Flow Diagrams
Chapter 5: Modeling Systems Requirements: Events and Things
Modeling Systems Requirements: Events and Things.
Systems Analysis and Design in a Changing World, Fifth Edition
Chapter 3 Use Cases.
Data Flow Diagram A method used to analyze a system in a structured way Used during: Analysis stage: to describe the current system Design stage: to describe.
Week 5: Business Processes and Process Modeling MIS 2101: Management Information Systems.
Chapter 7 Structuring System Process Requirements
Chapter 7 Using Data Flow Diagrams
1 Object-Oriented Modeling Using UML (2) CS 3331 Fall 2009.
5 Systems Analysis and Design in a Changing World, Fourth Edition.
1 Object-Oriented Modeling Using UML CS 3331 Section 2.4 Modeling Requirements with Use Cases.
1 Structuring Systems Requirements Use Case Description and Diagrams.
Carmen David, Senior BA Business Analysis Carmen David, Senior BA Business Analysis Foundation in Business Analysis Session 7 MODELLING REQUIREMENTS.
Systems Analysis and Design in a Changing World, 6th Edition
Systems Analysis and Design in a Changing World, 6th Edition 1 Chapter 3 Use Cases.
Sept Ron McFadyen1 Use Cases Introduced by Ivar Jacobson in 1986 literal translation from Swedish ”usage case” Used to capture and describe.
Use Case Diagram Lecture # 1. Use Case Diagram Use-cases are descriptions of the functionality of a system from a user perspective.  Depict the behaviour.
Chapter 7 Part II Structuring System Process Requirements MIS 215 System Analysis and Design.
7 Systems Analysis – ITEC 3155 The Object Oriented Approach – Use Cases.
McGraw-Hill/Irwin Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 5 Modeling the Processes and Logic.
Systems Analysis and Design in a Changing World, Fourth Edition
1 Team Skill 3 Defining the System Part 1: Use Case Modeling Noureddine Abbadeni Al-Ain University of Science and Technology College of Engineering and.
Engineering Quality Software Week02 J.N.Kotuba1 SYST Engineering Quality Software.
5 Systems Analysis and Design in a Changing World, Fourth Edition.
5 Chapter 5: Modeling Systems Requirements: Events and Things Systems Analysis and Design in a Changing World.
Systems Analysis and Design in a Changing World, Fourth Edition
Use Cases -Use Case Diagram
Business Process and Functional Modeling
Using Use Case Diagrams
Business System Development
Vision Document Use Case Diaram
Analyzing system processes: Use Case Diagram 2/2
IS 334 information systems analysis and design
IS223D: OBJECT-ORIENTED DESIGN
Use Case Model Use case diagram.
Start at 17th March 2012 end at 31th March 2012
UML Unified Modelling Language
Use Cases CS/SWE 421 Introduction to Software Engineering Dan Fleck
SAD ::: Spring 2018 Sabbir Muhammad Saleh
Joey F. George, Dinesh Batra, Joseph S. Valacich, Jeffrey A. Hoffer
Systems Analysis and Design With UML 2
Chapter 9 Use Cases.
Use Cases 1.
Use Cases & Use Case Diagrams
BPMN - Business Process Modeling Notations
IS0514 Lecture Week 3 Use Case Modelling.
Use Case Model Use case diagram – Part 2.
Using Use Case Diagrams
Engineering Quality Software
Scenario & use cases.
Analyzing systems process: Activity diagram
Presentation transcript:

Asper School of Business University of Manitoba Systems Analysis & Design Instructor: Bob Travica Analyzing system processes: Use Case Diagram Updated 2016

3510 Systems Analysis & Design * Bob Travica2 Outline The use case concept Business events and systems Elements of use case diagram Include and Extend relationships between use cases Reading use case diagrams Creating use case diagrams

3 Use case concept Use case is a model of system functionality. Think of main functions a system performs for users – “cases” of using a system. Figure 6-3 Use Case Diagram of Order-Entry Subsystem for RMO Use case

3510 Systems Analysis & Design * Bob Travica4 Use case diagram in system documentation Use Case helps to model system requirements Easier for users to understand than other diagrams

5 Business Event concept Figure 5-2 Events affecting a payment system that determine what system has to do – functions, use cases A stimulus that requires a system’s response Delineated in time; stands on its own External events occur outside the system “clerk calls up customer account” Temporal Events

3510 Systems Analysis & Design * Bob Travica6 Event types External Events (outside an IS) Caused by external agent (human, system) Temporal Events (inside an IS) Occur at a certain point in calendar time State Events (inside an IS) Changes in system states, such as data Event: QuantityOnHand =< ReorderAmount (QOH goes under a min.) System’s response: Create new purchase order Internal events - logic of automated decisions

3510 Systems Analysis & Design * Bob Travica7 Figure 5-10 InputOutput Events Table

3510 Systems Analysis & Design * Bob Travica8 Elements of use case diagram: Actor and System Actor is someone interacting with use case (system function). Named by a noun. Similar to the concept of user, but (a)can be non-human and (b)a user can play different roles ; (e.g.,: an employee can be worker and manager – plays 2 roles in a system*). Name System Shape of oval, contains small ovals that stand for use cases (system functions)

Actor-System relationship 3510 Systems Analysis & Design * Bob Travica9 of 14 Actor triggers (initiates, starts) use case (a system function). Actor has responsibility toward the system (inputs), and Actor has expectations from the system (outputs). System has responsibility to respond properly to events – to execute an appropriate function.

= Use Case 3510 Systems Analysis & Design * Bob Travica10 Elements of use case diagram: Use Case System function (process – automated or manual). Named by a v erb. Do something Each Actor must be linked to a UC, while some use cases may not be linked to actors (e.g., functions responding to temporal events, UC related to another UC).

11 Elements of use case diagram: Other components Boundary of a system > Include relationship between Use Cases (one UC must call another; e.g., Login UC includes User Authentication UC) > Extend relationship between Use Cases (one UC may call another under certain conditions; think: if-then logic among system functions) Connection between Actor and Use Case Relationships between Use Cases

3510 Systems Analysis & Design * Bob Travica12 Include relationship Include relationship – a standard UC linked to a mandatory UC. Standard use case can NOT execute without the include case  tight coupling. Example: to Authorize Car Loan (standard use case), a clerk must run Check Client’s Credit History (include use case). BUT, do not imply sequential logic, process thinking! The standard UC includes the mandatory UC (use the verb to figure direction arrow). Note: Visio calls this “uses” relationship. Do something (Process loan application) And do as part of Do something (Check credit history) includes

3510 Systems Analysis & Design * Bob Travica13 Reading use case diagram with Include relationship Note: An “s” missing in “include”.

3510 Systems Analysis & Design * Bob Travica14 Extend relationship – associating an optional use case to a standard use case. Extend relationship Example: Register Course (standard use case) may have Register for Special Class (extend use case) – class for non-standard students, in unusual time, with special topics, requiring no fees or extra fees…). The optional UC extends the standard UC Standard UC executes without the extend UC; an extend UC executes instead of standard UC.  loose coupling. Do something (Register Course Section) Do if conditions apply (bypass tuition fees for University Staff actor) extends

UC relationships – warning! Invoke UC relationship sparingly, only when necessary to show relationships (dependencies) between system functions. Do not fall in a process trap - thinking about UCs as steps of a large process. UCs are system functions (each consisting of specific steps). Note: UC diagram vs. Activity diagram 3510 Systems Analysis & Design * Bob Travica15 of 14 System collapsed into An activity diagram shows design of a a system function in UC diagram, the content of one oval.

Temptations with > and > 3510 Systems Analysis & Design * Bob Travica16 of 14 Log in > Over- draft WDL > Lots of errors! Better: One validation function included by the function “Log in” and delete all include and extend relationships.

3510 Systems Analysis & Design * Bob Travica17 How to create use case diagram 1. List main system functions (use cases) in a column: think of business events demanding system’s response users’ goals/needs to be accomplished via the system Create, Read, Update, Delete (CRUD) data tasks Naming use cases – user’s needs usually can be translated in data tasks 2. Draw ovals around the function labels (use cases) 3. Draw system boundary 4. Draw actors and connect them with use cases (if more intuitive, this can be done as step 2) 5. Specify include and extend relationships between use cases – if any (yes, at the end - not before, as this may pull you into process thinking, which does not apply in UC diagramming).