LECTURE 11: PROCESS MODELING



Similar documents
Data Flow Diagrams. Outline. Some Rules for External Entities 1/25/2010. Mechanics

6-1. Process Modeling

Topic # 08. Structuring System Process Requirements. CIS Life Cycle and Requirements Structuring Stage

Chapter 7: Structuring System Process Requirements

1. Process Modeling. Process Modeling (Cont.) Content. Chapter 7 Structuring System Process Requirements

Why Data Flow Diagrams?

Process Modeling. Chapter 6. (with additions by Yale Braunstein) Slide 1

An Automatic Tool for Checking Consistency between Data Flow Diagrams (DFDs)

2 SYSTEM DESCRIPTION TECHNIQUES

CSC 342 Semester I: H ( G)

Process Modelling. Data flow Diagrams. Process Modelling Data Flow Diagrams. CSE Information Systems 1

Collated Food Requirements. Received orders. Resolved orders. 4 Check for discrepancies * Unmatched orders

Chapter 6. Data-Flow Diagrams

CA ERwin Process Modeler Data Flow Diagramming

Understanding Data Flow Diagrams Donald S. Le Vie, Jr.

Chapter 3. Data Flow Diagrams

Modern Systems Analysis and Design

Objectives After completion of study of this unit you should be able to:

Process for Data Flow Diagram Process Documentation Template: Description

Software Design. Design (I) Software Design Data Design. Relationships between the Analysis Model and the Design Model

Data Flow Diagram. Data Flow Diagrams (DFDs)

Functional Modeling with Data Flow Diagrams

Functional Data Flow Diagrams. Outline

Systems Analysis Process Modeling (DFD) 1 of 10. Analysis 003

D6 INFORMATION SYSTEMS DEVELOPMENT. SOLUTIONS & MARKING SCHEME. June 2013

MODULE 5 DATA FLOW DIAGRAMS

Announcements. SE 1: Software Requirements Specification and Analysis. Review: Use Case Descriptions

CASE TOOLS. Contents

Process and Database Modelling of a University Bursary System: A Perspective of Cash Office

Methods and Tolls for Business Process Modeling

Introduction to Systems Analysis and Design

Process / Operation Symbols

3SL. Requirements Definition and Management Using Cradle

Flowcharting, pseudocoding, and process design

Process Analysis. Work Process Documentation Guidelines. Purpose

(Refer Slide Time 00:56)

How To Develop Software

1 INTRODUCTION TO SYSTEM ANALYSIS AND DESIGN

ICT Business Function Analysis

QUALITY TOOLBOX. Understanding Processes with Hierarchical Process Mapping. Robert B. Pojasek. Why Process Mapping?

FUNCTIONAL ANALYSIS AND ALLOCATION

SECTION 2 PROGRAMMING & DEVELOPMENT

Applying the Work Breakdown Structure to the Project Management Lifecycle

Time Management. Part 2 Work Breakdown Structure (WBS) Review. Richard Boser

AVAILABLE CASE TOOLS I. SYSTEM FLOWCHART AND ER-DIAGRAM GENERATION TOOL

Modeling Guidelines Manual

Why Documentation Is Important. Documentation of Systems. Document Flowcharts. Types of Documentation

BUSINESS PROCESS DOCUMENTATION

Project Management Planning

How to Craft a World-Class Work Breakdown Structure

BPMN 2.0 Tutorial. Daniel Brookshier Distinguished Fellow No Magic Inc.

Quick Guide Business Process Modeling Notation (BPMN)

Thomson Learning TM DOCUMENTING INFORMATION SYSTEMS CHAPTER

Process/Workflow Analysis Quiz

USING UML FOR OBJECT-RELATIONAL DATABASE SYSTEMS DEVELOPMENT: A FRAMEWORK

Business Process Redesign and Modelling

The following sections provide information on the features and tasks of Server Inventory:

Power Point 2003 Table of Contents

Using UML Part Two Behavioral Modeling Diagrams

How to Develop Work Breakdown Structures

Introduction to BPMN

BPMN Business Process Modeling Notation

SECTION 4 TESTING & QUALITY CONTROL

SOFTWARE ENGINEERING IT 0301 Semester V B.Nithya,G.Lakshmi Priya Asst Professor SRM University, Kattankulathur. School of Computing, Department of IT

Introduction to Project Management

Chapter 8 Approaches to System Development

SemTalk BPMN Tutorial APRIL Tutorial SemTalk 4.3 BPMN Edition for Business Process Analysis

Decomposition into Parts. Software Engineering, Lecture 4. Data and Function Cohesion. Allocation of Functions and Data. Component Interfaces

Ultimus and Microsoft Active Directory

Workplace Giving Guide

CHAPTER 3. Data Modeling and Database Design- Part1

Developing Entity Relationship Diagrams (ERDs)

The Project Planning Process Group

Module 7. Software Engineering Issues. Version 2 EE IIT, Kharagpur 1

Assuming the Role of Systems Analyst & Analysis Alternatives

Data Dictionary and Normalization

SOFTWARE ENGINEERING INTERVIEW QUESTIONS

MAHATMA GANDHI UNIVERSITY SCHOOL OF DISTANCE EDUCATION (MGU CBCSS UG SDE 2012)

Requirements Analysis Concepts & Principles. Instructor: Dr. Jerry Gao

Architecture Design & Sequence Diagram. Week 7

Entity / Activity Table for Causeway Cash Receipts System

ARIS Design Platform Getting Started with BPM

Process Flowcharting for SOP Development, Implementation, Training and Maintenance

Using Use Cases for requirements capture. Pete McBreen McBreen.Consulting

Star System Salon Management Software. Powerful Effective Easy to Use

Statgraphics Getting started

PROG0101 Fundamentals of Programming PROG0101 FUNDAMENTALS OF PROGRAMMING. Chapter 3 Algorithms

GCE APPLIED ICT A2 COURSEWORK TIPS

Interaction Diagrams. Use Cases and Actors INTERACTION MODELING

For any human, to have any hope of being successful, it must pass through a small set of essential phases.

COURSE NAME: Database Management. TOPIC: Database Design LECTURE 3. The Database System Life Cycle (DBLC) The database life cycle contains six phases;

Overview of: A Guide to the Project Management Body of Knowledge (PMBOK Guide) Fourth Edition

Select the Crow s Foot entity relationship diagram (ERD) option. Create the entities and define their components.

6.080/6.089 GITCS Feb 12, Lecture 3

Three daily lessons. Year 5

Process Modeling and Process Improvement. Process Modeling

Creating tables of contents and figures in Word 2013

OA3-10 Patterns in Addition Tables

Transcription:

LECTURE 11: PROCESS MODELING Outline Logical modeling of processes Data Flow Diagram Elements Functional decomposition Data Flows Rules and Guidelines Structured Analysis with Use Cases Learning Objectives Understand the logical modeling of processes through studying data flow diagrams How to draw data flow diagrams using rules and guidelines How to decompose data flow diagrams into lower-level diagrams Balancing of data flow diagrams Discuss the use of data flow diagrams as analysis tools Process Modeling Graphically represent the processes that capture, manipulate, store and distribute data between a system and its environment and among system components Data flow diagrams (DFD) o Graphically illustrate movement of data between external entities and the processes and data stores within a system Modeling a system s process o Utilize information gathered during requirements determination o Structure of the data is also modeled in addition to the processes Deliverables and Outcomes o Set of coherent, interrelated data flow diagrams o Context data flow diagram (DFD) Scope of system o DFDs of current system Enables analysts to understand current system o DFDs of new logical system Technology independent Show data flows, structure and functional requirements of new system o Project dictionary and CASE repository Simple Data Flow Diagram 1

1. DFD Elements Data Flows & Control Flows A data flow represents an input of data to a process, or the output of data from a process. o A data flow may also be used to represent the creation, reading, deletion, or updating of data in a file or database (data store). o A composite data flow is a data flow that consists of other data flows. A control flow represents a condition or nondata event that triggers a process. o Used sparingly on DFDs. Data Stores A data store is an inventory of data. o Frequently implemented as a file or database. o A data store is data at rest compared to a data flow that is data in motion. o Almost always one of the following: Persons (or groups of persons) Places Objects Events (about which data is captured) Concepts (about which data is important) Data Store o Data stores depicted on a DFD store all instances of data entities (depicted on an ERD) External Agents An external agent defines a person, organization unit, or other organization that lies outside of the scope of the project but that interacts with the system being studied. o External agents define the boundary or scope of a system being modeled. o As scope changes, external agents can become processes, and vice versa. 2

o Almost always one of the following: Office, department, division inside the business but outside the system scope. An external organization or agency. Another business or another information system. One of your system s end-users or managers Alternatively: Source/Sink o Depicts the origin and/or destination of the data o Sometimes referred to as an external entity o Drawn as a square symbol o Name states what the external agent is o Because they are external, many characteristics are not of interest to us External Agent Process Concepts o A process is work performed on, or in response to, incoming data flows or conditions so that they are transformed, stored or distributed o A System is a Process 1.0 2. Process Decomposition A Process Functional Decomposition Decomposition o The act of breaking a system into its component subsystems, processes, and subprocesses. Each level of abstraction reveals more or less detail. Decomposition Diagrams o A decomposition diagram or hierarchy chart shows the top-down, functional decomposition of a system o Numbering Scheme Decomposition of DFDs o Functional decomposition o Act of going from one single system to many component processes o Repetitive procedure o Lowest level is called a primitive DFD o Level-N Diagrams o A DFD that is the result of n nested decompositions of a series of subprocesses from a process on a level-0 diagram Context Diagram o A data flow diagram (DFD) of the scope of an organizational system that shows the system boundaries, external entities that interact with the system and the major information flows between the entities and the system o Shows the context into which the business process fits o Shows the overall business process as just one process o Shows all the outside entities that receive information from or contribute information to the system 3

Level 0 Diagram o A data flow diagrams (DFD) that represents a system s major processes, data flows and data stores at a higher level o Shows all the processes that comprise the overall system o Shows how information moves from and to each process o Adds data stores Level 1 Diagrams o Shows all the processes that comprise a single process on the level 0 diagram o Shows how information moves from and to each of these processes o Shows in more detail the content of higher level process o Level 1 diagrams may not be needed for all level 0 processes Level 2 Diagrams o Shows all processes that comprise a single process on the level 1 diagram o Shows how information moves from and to each of these processes o Level 2 diagrams may not be needed for all level 1 processes o Correctly numbering each process helps the user understand where the process fits into the overall system Rules for stopping decomposition o When each process has been reduced to a single decision, calculation or database operation 4

o When each data store represents data about a single entity o When the system user does not care to see any more detail o When every data flow does not need to be split further to show that data are handled in various ways o When you believe that you have shown each business form or transaction, on-line display and report as a single data flow o When you believe that there is a separate process for each choice on all lowest-level menu options Data Flows to and from Data Stores 3. Data Flows Diverging and Converging Data Flows o A diverging data flow is one that splits into multiple data flows. o Useful for illustrating data that starts out naturally as one flow, but needs to be routed to parallel processes. o Also useful for illustrating multiple copies of the same output going to different destinations. o A converging data flow is the merger of multiple data flows into a single packet. o Useful for illustrating data from multiple sources that must come back together for some subsequent processing Alternative Data Flows o Where a process can produce different data given different conditions o We show both data flows and use the process description to explain why they are alternatives o Tip -- alternative data flows often accompany processes with IF statements 4. Rules and Guidelines Data Flow Diagramming Rules o Basic rules that apply to all DFDs o Inputs to a process are always different than outputs 5

o Objects always have a unique name In order to keep the diagram uncluttered, you can repeat data stores and data flows on a diagram Data Flow Diagramming Rules o Process A. No process can have only outputs (a miracle) B. No process can have only inputs (black hole) C. A process has a verb phrase label o Data Store D. Data cannot be moved from one store to another. E. Data cannot move from an outside source to a data store F. Data cannot move directly from a data store to a data sink G. Data store has a noun phrase label o Source/Sink H. Data cannot move directly from a source to a sink I. A source/sink has a noun phrase label o Data Flow J. A data flow has only one direction of flow between symbols. K. A fork means that exactly the same data go from a common location to two or more processes, data stores or sources/sinks L. A join means that exactly the same data come from any two or more different processes, data stores or sources/sinks to a common location M. A data flow cannot go directly back to the same process it leaves N. A data flow to a data store means update O. A data flow from a data store means retrieve or use P. A data flow has a noun phrase label Balancing DFDs o When decomposing a DFD, you must conserve inputs to and outputs from a process at the next level of decomposition o This is called balancing o We can split a data flow into separate data flows on a lower level diagram Four Additional Advanced Rules Due to Balancing DFDs Q. A composite data flow on one level can be split into component data flows at the next level, but no new data can be added and all data in the composite must be accounted for in one or more subflows. R. The input to a process must be sufficient to produce the outputs (including data placed in data stores) from the process. Thus all outputs can be produced, and all data in inputs move somewhere, either to another process or to a data store outside the process or on a more detailed DFD showing a decomposition of that process. S. At the lowest level of DFDs, new data flows can be added to represent data that are transmitted under exceptional conditions; these data flows typically represent error messages or confirmation notices. T. To avoid having data flow lines cross each other, you may repeat data store, source/sink on a DFD. Use an additional symbol, like a double line on the middle vertical line of a data 6

store symbol, or a diagonal line of a sink/source square, to indicate repeated symbol. 5. Creating DFDs From Use Cases Integrating Scenario Descriptions o DFDs start with the use cases and requirements definition o Generally, the DFDs integrate the use cases o Names of use cases become processes o Inputs and outputs become data flows o Small data inputs and outputs are combined into a single flow Steps in Building DFDs o Build the context diagram o Create DFD fragments for each use case o Organize DFD fragments into level 0 diagram o Decompose level 0 processes into level 1 diagrams as needed; decompose level 1 processes into level 2 diagrams as needed; etc. o Validate DFDs with user to ensure completeness and correctness Build the Context Diagram o Draw one process representing the entire system (process 0) o Find all inputs and outputs listed at the top of the use cases that come from or go to external entities; draw as data flows o Draw in external entities as the source or destination of the data flows Creating DFD Fragments o Each use case is converted into one DFD fragment o Number the process the same as the use case number o Change process name into verb phrase o Design the processes from the viewpoint of the organization running the system o Add data flows to show use to data stores as sources and destinations of data o Layouts typically place o processes in the center o inputs from the left o outputs to the right o stores beneath the processes Creating the Level 0 Diagram o Combine the set of DFD fragments into one diagram o Generally move from top to bottom, left to right o Minimize crossed lines o Iterate as needed o DFDs are often drawn many times before being finished, even with very experienced systems analysts Creating Level 1 Diagrams (and Below) o Each use case is turned into its own DFD 7

o Take the steps listed on the use case and depict each as a process on the level 1 DFD o Inputs and outputs listed on use case become data flows on DFD o Include sources and destinations of data flows to processes and stores within the DFD o May also include external entities for clarity o Input data flows shown on a parent DFD are often unbundled on the child diagram using splits o Output data flows shown on a child DFD are often bundled using joins and shown as a larger data flow on the parent diagram o When to stop decomposing DFDs? o Ideally, a DFD has at least 3 processes and no more than 7-9. 8