Performing data modeling with ERD

In terms of modeling a business process, ERD is a helpful tool to visualize the data required or provided by the process, the structure of data as well as the relationship between data and participants. In this tutorial we are going to draw an ERD for an online purchase process.

April 12, 2010
User Rating: / 0
Views: 4,058
PDF Link Add comments

  1. Study the following extract from a website which describe the instructions of performing an online purchase.
    Instructions
    1. Add items to your shopping cart.
    2. When finished, click on Check Out.
    3. Fill in customer information.
    4. Click 'OK' to verify the payment being made.
    5. You can optionally print out the receipt.
  2. We are going to model the data involved in the online purchase process as described above. Start Business Process Visual ARCHITECT.
  3. Create a new project by selecting File > New Project from the main menu. Name the project as Online Purchase and click Create Blank Project to continue.
    new project
  4. Create an entity relationship diagram by right clicking on Entity Relationships Diagram in Diagram Navigator and selecting New Entity Relationship Diagram from the popup menu.
    create erd
    On the top right of diagram, select Conceptual Model and click on the diagram background to confirm the selection.
    select conceptual model
  5. We use ERD to help visualize the entities of a business process, which are the data required/provided by a process, the participants that act upon the data, their structure as well as inter-relationship. By study the instruction of online purchase, we can collect the following items as entities.
    Item
    Shopping Cart
    Customer Information
    Payment
    Receipt

    As you can see entities are usually noun-phrase.
  6. Now, draw the entities on diagram. Select Entity from the diagram toolbar. Click on the diagram to create an entity and name it as Item.
    entity created
  7. Repeat the previous step to create the other entities as listed above.
    entities created
  8. There are properties in each entity. We call them columns. For example, Customer Information has columns like name, postal address, telephone number. Now, create columns in entity Item. Right click on Item and select New Column from the popup menu. Name it as product name.
    entering col name
  9. Press Enter to create another column. Name it as quantity. Press Enter to confirm and press Esc to exit from creating columns.
    item cols added
  10. Repeat the previous steps to add columns to other entities.
    Entity Columns
    Shopping Cart N/A
    Customer Information name, postal address, telephone number
    Payment id, date, total price
    Receipt id, date

    So you obtain a diagram like this:
    sample erd
  11. As said before, ERD not only visualize the entities, but also how that relate with each other. Take the online purchase process as example, entity Shopping Cart is related with Item as 'shopping cart contains the items to be paid'.
    Now, draw the relationships between entities. Move the mouse pointer to Shopping Cart. Select and press on the resource icon One-To-Many-Relationship -> Entity. Drag to entity Item and release the mouse button.
    relating entities
  12. Similarly, add relationships between other entities through the use of resource-centric interface.
    From To Relationship Description
    Payment Item one-to-many A payment contains a number of items to be paid
    Payment Customer Information one-to-one A payment is paid by a customer
    Receipt Payment one-to-one A receipt prints the payment information

    Tidy up the diagram a little bit. You should obtain a diagram like this:
    completed erd
    This is the end of the tutorial.

Related Tutorials

  1. Annotation model elements with voice

Rate this Article

Click on one of the stars below to rate this article from 1 (lowest) to 5 (highest).

You may be interested in

  1. Drawing Data Flow Diagrams
  2. Develop as-is and to-be business process
  3. Drawing BPMN 2.0 business process diagram
  4. Define working procedures for business tasks in a business process diagram
  5. Introduction to BPMN Part I
Tags of this article:

Comments (0)

Write comment

Rating

Comment

Enter the calculation result

security code