Creating a Usage

From ER/Studio Business Architect
Jump to: navigation, search

Go Up to Session 16: Creating Usage Relationships

We are going to show a usage between tasks and external data objects in a Business Process diagram.

  1. Under the Shipping Process Model, double-click the diagram “Order Picking” to open the diagram.
  2. From the External Data Objects palette, click the Data Store object (ERSt0120.png) and place in above the Check Inventory task on the diagram. Label it “Inventory Database”.
  3. From the same palette, click the Report object (Icon - Report.png) and place it above the Check Order task on the diagram and label it “Existing Orders”.
  4. For our last object, click the Table object (ERSt0122.png) and place it above the Check Order Pull task on the diagram and label it “Orders Pulled”.
  5. Right-click on the task “Check Inventory” and select Usage (CRUD) > New… to open the Create Usage wizard.
  6. In the Target elements list box, expand the Data Stores node under the External Data Objects node, and select “Inventory Database”.
  7. For now, we will leave the Usage properties as selected and will edit them later. Click OK to close the wizard.
  8. Repeat this procedure to create usages between both the:
    • “Check Order” task and the data feed “Existing Orders” and
    • “Confirm Order Pull” task and the table “Orders Pulled”
  9. Right-click in the diagram and select Connections > Show > Usages. The Usages you just created are then displayed. Notice that the usages are automatically labeled.
  10. In the diagram, double-click the Task labeled “Check Inventory” to open the Property View. Select the Usage (CRUD) tab to view the Usage information.
    Note: By using the buttons located at the bottom of this panel, you can add, edit, or delete usages. You can also print, export, and show selected usages in the diagram.
  11. We need to edit the Usage settings for each Receiver. Select “Inventory Database” and click in the Usage cell. Change the Usage setting to R.
    Note: This cell only accepts the C, R, U, D entries. All other text entries are ignored.
  12. Using the same steps, change both the:
    • “Existing Orders” Usage setting to R and
    • “Orders Pulled” Usage setting to U
    Notice that the diagram has been updated with the changes as well.
    Your completed diagram should resemble the following: