37
Business Process Modeling What is a process model? A formal way of representing how a business system operates. Illustrates the activities that are performed and how data moves through the process. A process model can be used to document current system or to illustrate new system Use Cases and Data Flow Diagrams (DFD) are among many techniques to support Business Process Modeling

Business Process Modeling What is a process model? – A formal way of representing how a business system operates. – Illustrates the activities that are

Embed Size (px)

Citation preview

Page 1: Business Process Modeling What is a process model? – A formal way of representing how a business system operates. – Illustrates the activities that are

Business Process Modeling

• What is a process model?– A formal way of representing how a business system

operates. – Illustrates the activities that are performed and how data

moves through the process.– A process model can be used to document current system

or to illustrate new system• Use Cases and Data Flow Diagrams (DFD) are among

many techniques to support Business Process Modeling

Page 2: Business Process Modeling What is a process model? – A formal way of representing how a business system operates. – Illustrates the activities that are

Week 7 Agenda

• What’s new in technology?• A couple of ‘Interesting’ Questions • Lecture Material

– Data Modeling– Entity-Relationship Diagrams– Normalizing Data

• Summary – where we are• NOTE: No tutorials next week

(midterm)

Page 3: Business Process Modeling What is a process model? – A formal way of representing how a business system operates. – Illustrates the activities that are

The Systems Development Life Cycle (SDLC)

Project Identification & Selection

Project Initiation & Planning

Analysis

Logical Design

Physical Design

Implementation

Maintenance

Process ModelData StructureLogic Modeling

Page 4: Business Process Modeling What is a process model? – A formal way of representing how a business system operates. – Illustrates the activities that are

Data Modeling Context

• DFDs and Logic Modeling– show how, where and when data is used

• Data Modeling– shows data definition, structure & relationships

• Importance– crucial information for the design phase– data is often more complex than processes– data has reasonably permanent characteristics

Page 5: Business Process Modeling What is a process model? – A formal way of representing how a business system operates. – Illustrates the activities that are

Data Models

• A data model shows the people, places, and things of interest to an organization and the relationships among them.

• The logical data model is an abstraction. Once again, it shows the organization of data without indicating how it is stored, created, or manipulated.

Page 6: Business Process Modeling What is a process model? – A formal way of representing how a business system operates. – Illustrates the activities that are

Data Models

• A physical data model shows how the data will actually be stored in the database.

• Normalization is the process analysts use to check for data redundancy.

Page 7: Business Process Modeling What is a process model? – A formal way of representing how a business system operates. – Illustrates the activities that are

Conceptual Data Modeling

• What is it?– Captures the structure of organizational data– Is independent of a DBMS or implementation

• When is it used?– Conceptual Data Modeling is during analysis– Other data modeling is done throughout SDLC

• What form does it take?– Entity Relationship Diagrams (ERDs)

Page 8: Business Process Modeling What is a process model? – A formal way of representing how a business system operates. – Illustrates the activities that are

Basic ERD Symbols (IDEF1X)

Attribute-nameAttribute-nameAttribute-name

Identifier

Entity-Name

Relationship-name

Page 9: Business Process Modeling What is a process model? – A formal way of representing how a business system operates. – Illustrates the activities that are

A Note

• There are several different notations for ERD’s.– none are the de facto standard– we will look at commonalities

Page 10: Business Process Modeling What is a process model? – A formal way of representing how a business system operates. – Illustrates the activities that are

Entities

• A person, place, object, event or concept that you want to maintain data about– e.g., Customer, Product, Sale, Course, etc.

• entities are named with a noun• represented by a rectangle

Place EntityName Here

Page 11: Business Process Modeling What is a process model? – A formal way of representing how a business system operates. – Illustrates the activities that are

Figuring Out What Entities to Use

• Top Down Modeling– Asking Questions– Determining Business Rules“What things do we care about, in that we need to store

them in our data base to perform business operations?”• persons• places• objects• events• concepts

Page 12: Business Process Modeling What is a process model? – A formal way of representing how a business system operates. – Illustrates the activities that are

Figuring Out What Entities to Use

• Bottom-Up Modeling– looking at forms and reports required in the

system– identifying entities from DFD’s

Page 13: Business Process Modeling What is a process model? – A formal way of representing how a business system operates. – Illustrates the activities that are

Entity Types and Instances(aka: distinctions modelers make to keep you confused)

• Entity Type (or class) refers to a collection of entities that share common properties– e.g. The entity “student” may have two entity types,

graduate and undergraduate student• Entity Instance refers to a single unique object

within an entity type– e.g., Employee is an entity, customer service

representative (CSR) is an entity type, and the CSR named ‘Carl’ is an entity instance.

Page 14: Business Process Modeling What is a process model? – A formal way of representing how a business system operates. – Illustrates the activities that are

Attributes• A named characteristic of an entity that is of

interest to the organization or application– e.g., Customer #, Customer Address, etc.

• Attributes are listed under the entity name

• attributes are named with nouns

Customer C_lastnameC_firstnameC_telephone

Page 15: Business Process Modeling What is a process model? – A formal way of representing how a business system operates. – Illustrates the activities that are

Attributes that are Keys

• A key is an attribute that uniquely identifies every instance of an entity type.

• Candidate keys are one or more attributes that uniquely identify every entity instance

• Primary key - the candidate key that is chosen as the unique identifier for every instance of the entity type.– choose stable, non null, and simple attributes– primary keys are marked with an asterisk in the diagram

Page 16: Business Process Modeling What is a process model? – A formal way of representing how a business system operates. – Illustrates the activities that are

Candidate Keys and Identifiers

• Title and Copy could uniquely identify a single physical DVD.

• It would probably be better to choose a Movie_Serial_Number for each specific DVD so we could keep the key to one attribute (could include mnemonics like the first word and a number: Ted2-01)

Page 17: Business Process Modeling What is a process model? – A formal way of representing how a business system operates. – Illustrates the activities that are

Relationships

• The link that combines entity types. – More formally, a relationship is an association between

instances of one or more entity types • labeled with verb phases - one or two• may be represented as a diamond or not shown

at all on the diagram to avoid clutter

Page 18: Business Process Modeling What is a process model? – A formal way of representing how a business system operates. – Illustrates the activities that are

Relationships

• Relationships typically represent a transaction of the organization

Members Rent DVDs1 0 0

Page 19: Business Process Modeling What is a process model? – A formal way of representing how a business system operates. – Illustrates the activities that are

Relationship Types: Cardinality• One to One

• One to Many

• Many to ManyTakesStudent Classes

Student Owns

EmployeeParking Space

Assigned

Textbooks

1 1

1 N

N N

Page 20: Business Process Modeling What is a process model? – A formal way of representing how a business system operates. – Illustrates the activities that are

Relationship Types: Modality

Members Rent DVDs1 0 0

Optional:

Page 21: Business Process Modeling What is a process model? – A formal way of representing how a business system operates. – Illustrates the activities that are

More on ERD Concepts

• Degrees of Relationships

• Cardinality

• Many to many relationships

Page 22: Business Process Modeling What is a process model? – A formal way of representing how a business system operates. – Illustrates the activities that are

Relationships - Cardinalities

• The number of instances of entity A that can be associated with instances of entity B

• For example:

TakesStudent Classes

Student Owns Textbooks1 N

N N

Cardinalities

Page 23: Business Process Modeling What is a process model? – A formal way of representing how a business system operates. – Illustrates the activities that are

Cardinality - MandatoryOne Many

This line indicates mandatory (at least one must exist)

The crow’s foot indicates many

Example: Patient has Patient History

PatientPatientHistory

has

Page 24: Business Process Modeling What is a process model? – A formal way of representing how a business system operates. – Illustrates the activities that are

Cardinality- Optional

The “0” indicates the entity may have zero instances. This means the relation is optional

One Many

Example: Movie is available on DVD

Movie DVDStoredas

Page 25: Business Process Modeling What is a process model? – A formal way of representing how a business system operates. – Illustrates the activities that are

Many-to-Many Relationships

• Generally implies that there are attributes associated with the relationship– i.e., attributes that do not belong with one of the entities alone

but with the combination

• Many to Many relationships are very difficult to deal with in databases

• A typical approach is to create a 3rd entity when we are faced with a many to many relation– the primary key for the new entity will be the keys of the entities

that it connects

Page 26: Business Process Modeling What is a process model? – A formal way of representing how a business system operates. – Illustrates the activities that are

Many-to-Many Example

CustomerFlightbooks

Can be transformed into:

CustomerFlightBooks Is onSeat

This transformation makes the relationshipeasier to handle. In general, we seek to eliminate many to many relationships whenever possible.

0

0

Page 27: Business Process Modeling What is a process model? – A formal way of representing how a business system operates. – Illustrates the activities that are

Many-to-Many Issues

What information does this M-to-M assumeis not important to keep track of?

Page 28: Business Process Modeling What is a process model? – A formal way of representing how a business system operates. – Illustrates the activities that are

Objectives of Data Modeling

• To minimize redundancy of a data base• To completely represent the required data in

an information system

Page 29: Business Process Modeling What is a process model? – A formal way of representing how a business system operates. – Illustrates the activities that are

Normalizing Data Bases

• A set of rules to determine appropriate behavior for a data base.

• First, fill in the blanks for EVERY record• Second, remove redundant items (partial

dependency)• Third, eliminate complex relations where two

or more relational meanings exist (transitive dependency)

Page 30: Business Process Modeling What is a process model? – A formal way of representing how a business system operates. – Illustrates the activities that are

A Spreadsheet

Page 31: Business Process Modeling What is a process model? – A formal way of representing how a business system operates. – Illustrates the activities that are

First Normal Form

Page 32: Business Process Modeling What is a process model? – A formal way of representing how a business system operates. – Illustrates the activities that are

Second Normal FormOrders:

Ordered Items:

Item Descriptions:

Page 33: Business Process Modeling What is a process model? – A formal way of representing how a business system operates. – Illustrates the activities that are

Third Normal FormOrders:

Ordered Items:

Item Descriptions:

Customers:

City, Province:

Page 34: Business Process Modeling What is a process model? – A formal way of representing how a business system operates. – Illustrates the activities that are

Summary

• We have covered the Systems Analysis part of the course…– Seek to understand a system, and to start to build

a model of that system– Focus on the Systems Development Life Cycle

• Process, Data, or Object Oriented• Works with traditional and rapid application

development

Page 35: Business Process Modeling What is a process model? – A formal way of representing how a business system operates. – Illustrates the activities that are

Summary

• We ask questions:– Feasibility

• Economic• Technical• Organizational

• We plan major steps of the project– Understand current system– Envision possible improvements

• automation• process improvement• process reengineering

Page 36: Business Process Modeling What is a process model? – A formal way of representing how a business system operates. – Illustrates the activities that are

Summary

• We gather data– questionnaires– interviews– observation– JAD

• We start to model what we understand to be the processes under study– Build Use Cases– draw DFD’s

Page 37: Business Process Modeling What is a process model? – A formal way of representing how a business system operates. – Illustrates the activities that are

Summary

• We start to distill the required logic of the process– Logical data flows– Key processes– Logic within the processes themselves

• And the data we need to keep within the system– ERD and logical data modeling