Jump to Menu

BPMN Tutorial: How to Use BPMN Data Object?

An execution of business process often involves the use, creation and manipulation of data items. For example, invoice in an ordering process. In BPMN, these items can be visually depicted by a document-like symbol called data object.

Compatible edition(s): Enterprise, Professional, Standard, Modeler

  • February 06, 2016
  • Views: 55,074
  • PDF

The state of a data object may keep changing throughout a process or processes. Just take invoice as an example. Typically, an invoice will undergo states like open, canceled, unpaid, pending, paid, overpaid and underpaid. In this tutorial, we will show you how to create data object in a BPD, and how to define its states. You will also learn how to reuse a data object in a process, with different states selected for different instances.

Creating data object with state

  1. Download Tutorial.vpp. You can also find this file at the bottom of this tutorial.
  2. Open the downloaded .vpp file in Visual Paradigm. To open a project, select Project > Open from the application toolbar.
  3. Open the business process diagram Inspection. You should see the diagram below:
    Business Process Diagram
  4. Let's create a data object from the task Perform Inspection. Move your mouse pointer over the task. Press on the Resource Catalog icon and drag it out.
    Dragging on Resource Catalog
  5. Release the mouse button and select Data Object from Resource Catalog.
    Selecting Data Object
  6. Enter Inspection Order as the name of data object and press Enter to confirm.
    Data object created
  7. Let's set the state of the Inspection Order Right-click on it and select State > Create... from the popup menu.
    Create state
  8. In the Create State dialog box, enter Created as (state) name and then click OK.
    Entering state name
    You should see the name of the data object appear, like this:
    State created

Reusing data object

  1. Let's continue with the remaining flow of the diagram. Let's say after the task Approve Inspection, the Inspection Order will be in 'approved' state. Let's represent this. First, create a data object from the task Approve Inspection and name it Inspection Order, which is the as the previously created data object.
    Reusing data object
  2. Press Enter and you will be prompted to confirm the reuse of data object. Click Yes.
    Confirm reusing data object
    You can see the data object is created with letter 'a' appear at top left, while the original data object (shape) has an 'M' appear at same position. The letter 'a' stands for auxiliary view, while 'M' stands for master view. Each model element can have one master view and unlimited number of auxiliary views. The placement of element in model hierarchy is controlled by the master view.
    Data object reused
  3. Let's create a state for Inspection Order. Right-click on it and select State > Create... from the popup menu. By the way, in the popup menu you can see the state Created available for selection. In case you need to represent a state that has been created before you can simply select the state there.
    Create state
  4. In the Create State dialog box, enter Approved as (state) name and then click OK.
    Entering state name
  5. Repeatedly reuse Approve Inspection on other parts of the business process diagram, with different states selected. Finally, you diagram should look like this:
    Finishing BPD



Turn every software project into a successful one.

We use cookies to offer you a better experience. By visiting our website, you agree to the use of cookies as described in our Cookie Policy.

OK