Integrating data process a roundtrip modeling using e rwin data modeler_erwin process...

18
WWW.MYRIADINC.NET Manan Shah [email protected] 301.476.9190 (Office) 301.385.2059 (Cell) Integrating Data & Process A roundtrip modeling using ERwin Data Modeler & ERwin Process Modeler

description

 

Transcript of Integrating data process a roundtrip modeling using e rwin data modeler_erwin process...

Page 1: Integrating data process a roundtrip modeling using e rwin data modeler_erwin process modeler_09292010

16843 Harbour Town DriveSilver Spring, MD 20905

Tel: 301.476.9190Fax: 301.476.9195

WWW.MYRIADINC.NET

Manan [email protected] (Office)301.385.2059 (Cell)

Integrating Data & ProcessA roundtrip modeling using

ERwin Data Modeler & ERwin Process Modeler

Page 2: Integrating data process a roundtrip modeling using e rwin data modeler_erwin process modeler_09292010

16843 Harbour Town DriveSilver Spring, MD 20905

Tel: 301.476.9190Fax: 301.476.9195

WWW.MYRIADINC.NET

ERwin Data

Modeler

Import / Export

Bridge

ERwin Data

Profiler

ERwin

Process

Modeler

ERwin Model

Navigator

ERwin

Model

Manager

ERwin

Saphir

Option

ERwin Data

Model Validator

Crystal

Reports

( Other ODBC)

Page 3: Integrating data process a roundtrip modeling using e rwin data modeler_erwin process modeler_09292010

16843 Harbour Town DriveSilver Spring, MD 20905

Tel: 301.476.9190Fax: 301.476.9195

WWW.MYRIADINC.NET

ERwin Data

Modeler

ERwin

Process

Modeler

Page 4: Integrating data process a roundtrip modeling using e rwin data modeler_erwin process modeler_09292010

16843 Harbour Town DriveSilver Spring, MD 20905

Tel: 301.476.9190Fax: 301.476.9195

WWW.MYRIADINC.NET

Why Map Models?

Mapping of process models to data models

ensures completeness of analysis.

enables sharing of data across business units and functions.

guarantees that the there is a supply of data (entity) for all data needs (activity).

ensures that data is available when needed.

Page 5: Integrating data process a roundtrip modeling using e rwin data modeler_erwin process modeler_09292010

16843 Harbour Town DriveSilver Spring, MD 20905

Tel: 301.476.9190Fax: 301.476.9195

WWW.MYRIADINC.NET

4 Model Mapping Steps

•Mapping of process models to data modelsSTEP 1: Map entities to arrows.

STEP 2: Map attributes to arrow entities.

STEP 3: Identify process action(s) upon entities.

STEP 4: Identify process action(s) upon attributes.

•Occurs at the leaf level.

Page 6: Integrating data process a roundtrip modeling using e rwin data modeler_erwin process modeler_09292010

16843 Harbour Town DriveSilver Spring, MD 20905

Tel: 301.476.9190Fax: 301.476.9195

WWW.MYRIADINC.NET

Step 1: Map Entities to Arrows

IDEF0 Model

PRODUCT

PART

assembledfrom

Parts

Finished

ProductsASSEMBLE

PART

Assembly

Instructions assembledinto

IDEF1X Data Model

PUBLISH

ASSEMBLY

INSTRUCTIONS

MAKE

PART

ASSEMBLY

INSTRUCTION

Page 7: Integrating data process a roundtrip modeling using e rwin data modeler_erwin process modeler_09292010

16843 Harbour Town DriveSilver Spring, MD 20905

Tel: 301.476.9190Fax: 301.476.9195

WWW.MYRIADINC.NET

Step 2: Map Attributes to Arrow Entities

Determine attribute mapping for each mapped entity

IDEF0 Model

assembledfrom

Parts

Finished

ProductsASSEMBLE

PART

Assembly

Instructionsassembled

into

IDEF1X Data Model

PUBLISH

ASSEMBLY

INSTRUCTIONS

MAKE

PART

ASSEMBLY INSTRUCTION

Product ID (FK)

Part Number (FK)

Assembly Step (FK)

Assembly Instruction

Assembly TimePART

Part Number

Part Name

Part Cost

Quantity On Hand

PRODUCT

Product ID

Product Name

Product Status

Product Cost

Page 8: Integrating data process a roundtrip modeling using e rwin data modeler_erwin process modeler_09292010

16843 Harbour Town DriveSilver Spring, MD 20905

Tel: 301.476.9190Fax: 301.476.9195

WWW.MYRIADINC.NET

IDEF0

PROCESS

CONTROL (R)Entities are NOT CHANGED by the process.

Must be READ ONLY!!

Entities must be

READ and DELETED OR UPDATED

INPUT R & (U or D)(TRANSFORMED by the process)

Entities must be

CREATED and/or UPDATED

OUTPUT (C &/or U)(RESULT from the process)

MECHANISM

Entity Mapping NOT APPLICABLE

Allowable Activity Actions on Entities Associated with Arrows

Entity Data Usage Rules (CRUD)

C: CREATE R: READ U: UPDATE D: DELETE

Page 9: Integrating data process a roundtrip modeling using e rwin data modeler_erwin process modeler_09292010

16843 Harbour Town DriveSilver Spring, MD 20905

Tel: 301.476.9190Fax: 301.476.9195

WWW.MYRIADINC.NET

Step 3: Identify Activity Action Upon Entities

IDEF0 Model IDEF1X Data Model

Log New

Part

New

Part

Quantity

on HandCount

Parts

Employee

PART

Part Number

Part Name

Part Cost

Quantity On Hand

CREATE

UPDATE

C: CREATE R: READ U: UPDATE D: DELETE

Page 10: Integrating data process a roundtrip modeling using e rwin data modeler_erwin process modeler_09292010

16843 Harbour Town DriveSilver Spring, MD 20905

Tel: 301.476.9190Fax: 301.476.9195

WWW.MYRIADINC.NET

IDEF0

PROCESS

CONTROL (R)Attributes ARE NOT CHANGED by the process.

Must be READ ONLY!!

Attributes can be

READ (if entity is Read)

AND

UPDATED (if entity is Update)

NULLIFIED (if entity is Created

or Update)

INPUT R & (U or N)(TRANSFORMED by the process)

Attributes can be

INSERTED and/or UPDATED

(if entity is Create or Update)

OUTPUT (I &/or U)(RESULT from the process)

MECHANISM

Entity Mapping NOT APPLICABLE

Allowable Activity Actions on Attributes Associated with Arrows

Attributes Data Usage Rules (IRUN)

I: INSERT R: READ U: UPDATE N: NULLIFY

Page 11: Integrating data process a roundtrip modeling using e rwin data modeler_erwin process modeler_09292010

16843 Harbour Town DriveSilver Spring, MD 20905

Tel: 301.476.9190Fax: 301.476.9195

WWW.MYRIADINC.NET

Step 4:Identify Activity Action Upon Attributes

IDEF0 Model IDEF1X Data Model

Log New

Part

New

Part

Quantity

on HandCount

Parts

Employee

PART

Part Number

Part Name

Part Cost

Quantity On Hand

INSERT

UPDATE

I: INSERT R: READ U: UPDATE N: NULLIFY

Page 12: Integrating data process a roundtrip modeling using e rwin data modeler_erwin process modeler_09292010

16843 Harbour Town DriveSilver Spring, MD 20905

Tel: 301.476.9190Fax: 301.476.9195

WWW.MYRIADINC.NET

Process Modeler and ERwin DM• Process Modeler can export and import Data Model information to and from ERwin.

– further define business activities.

–cross-validate function models and data models.

– improve model quality and consistency.

– reduce development time.

IDEF0 & IDEF3

Business

Process Modeling

IDEF1X Data

Modeling and

Database Schema

Generation

Process

Modeler ERwinDB2

InformixIngres

Microsoft SQL ServerOracle

RdbSybase SQL Server

and more...

Target Server Database

Page 13: Integrating data process a roundtrip modeling using e rwin data modeler_erwin process modeler_09292010

16843 Harbour Town DriveSilver Spring, MD 20905

Tel: 301.476.9190Fax: 301.476.9195

WWW.MYRIADINC.NET

• The ERwin Modeling Suite offers links between ERwindata models & Process Models

–From ERwin to Process Modeler through ‘.eax’ files.

–From Process Modeler to ERwin through ‘.bpx’ files.

• These files are used to synchronize entity and attribute information in both models.

Integrating ERwin and Process Modeler

ERwin Data ModelProcess Models

BPX files

EAX files

Page 14: Integrating data process a roundtrip modeling using e rwin data modeler_erwin process modeler_09292010

16843 Harbour Town DriveSilver Spring, MD 20905

Tel: 301.476.9190Fax: 301.476.9195

WWW.MYRIADINC.NET

• .eax data files created in ERwin are used to transfer entity and attribute information into Process Modeler.

Integrating ERwin and Process Models

ERwin Data ModelProcess Model

Entity and Attribute

NAMES &

DEFINITIONS

Page 15: Integrating data process a roundtrip modeling using e rwin data modeler_erwin process modeler_09292010

16843 Harbour Town DriveSilver Spring, MD 20905

Tel: 301.476.9190Fax: 301.476.9195

WWW.MYRIADINC.NET

• .bpx files are created in Process Modeler to

–export entity and attribute names and definitions into a new or existing ERwin model.

–export activity names from Process Modeler resulting in the creation of subject areas in an ERwin model.

Integrating ERwin and Process Modeler

ERwin Data ModelProcess Model

Entities, Attributes, &

Process Subject Areas

Page 16: Integrating data process a roundtrip modeling using e rwin data modeler_erwin process modeler_09292010

16843 Harbour Town DriveSilver Spring, MD 20905

Tel: 301.476.9190Fax: 301.476.9195

WWW.MYRIADINC.NET

REVIEW: Data Usage Rules Summary

Activity Actions on Entities & Attributes Associated with Arrows

ENTITIES: C = Create R = Read U = Update D = Delete

ATTRIBUTES: I = Insert R = Read U = Update N = Nullify

ARROW TYPE

INPUT

OUTPUT

CONTROL

MECHANISM

APPROPRIATE

ACTIONS

Attributes

RUN

IU

R

(n/a)

Entities

RUD

CU

R

(n/a)

INAPPROPRIATE

ACTIONS

Attributes

I

R

IUN

(n/a)

Entities

C

R

CUN

(n/a)

Page 17: Integrating data process a roundtrip modeling using e rwin data modeler_erwin process modeler_09292010

16843 Harbour Town DriveSilver Spring, MD 20905

Tel: 301.476.9190Fax: 301.476.9195

WWW.MYRIADINC.NET

REVIEW: Process Driven Data Modeling

CREATE

E-R MODEL

ATTRIBUTE

E-R MODEL

IDENTIFY

& CAPTURE

BUSINESS RULES

DEFINE

PHYSICAL LAYER

OF MODEL

REVIEW

FINAL DESIGN

$100 $150 $200 $200 $150

CREATE

DATABASE DESIGN

IDENTIFY CANDIDATE ENTITIES

IDENTIFY RELATIONSHIPS

DEFINE ENTITIES & RELATIONSHIPS

REVIEW ENTITY-RELATIONSHIP MODEL

LIST CANDIDATE ATTRIBUTES FOR EACH ENTITY

ADD KEYS TO MODEL

ATTRIBUTE & NORMALIZE MODEL

DEFINE ATTRIBUTES

REVIEW LOGICAL MODEL

REVIEW & VERIFY CARDINALITIES

DEFINE REFERENTIAL INTEGRITY

IDENTIFY BUSINESS DOMAINS

IDENTIFY ATTRIBUTE DEFAULT VALUES

SELECT TARGET DBMS

NAME TABLES & COLUMNS

NAME & DEFINE INDEXES

DEFINE COLUMNS

VERIFY/UPDATE TRIGGERS

GENERATE REPORTS

VERIFY ENTITIES & DEFINITIONS

VERIFY RELATIONSHIPS & DEFINITIONS

VERIFY ATTRIBUTES & DEFINITIONS

VERIFY BUSINESS CONSTRAINTS

APPROVE SCHEMA DESIGN

ENTRY POINT

Page 18: Integrating data process a roundtrip modeling using e rwin data modeler_erwin process modeler_09292010

16843 Harbour Town DriveSilver Spring, MD 20905

Tel: 301.476.9190Fax: 301.476.9195

WWW.MYRIADINC.NET

16843 Harbour Town DriveSilver Spring, MD 20905Tel: 301.476.9190Fax: 301.476.9195

Manan [email protected]