In this tutorial, you model the lanes and the entire business
process (the pool) as candidate services that are named Invoicing,
Scheduling, Shipping, and Purchasing.
You must have the capabilities Main diagram open.
In this part of the lesson, you create four capabilities:
- Three capabilities represent lanes in the business process: Invoicing,
Scheduling, and Shipping
- One capability, named Purchasing, represents the entire business
process
To create the capabilities:
- In the Palette, under Service,
expand Capability, and click Capability
from BPMN element.
Tip: You can
also create a capability by right-clicking an empty place in the diagram
and clicking .
- Move the cursor to an empty place in
the diagram. As you do this, you should see something similar to the
following image, which indicates the type of element to create:
- Click in the diagram. The Select
Element window opens, as shown in the following image:
- Create the Invoicing capability:
- In the Select Element window, click , and click Invoicing. The Invoicing
lane is the BPMN element from which the new candidate service is derived.
- Clear the Create a Link in each new operation check
box.
- Select the Create a Link in the new Capability/ServiceInterface check
box. For this tutorial, you create a traceability
link for the capability itself, but not for each operation.
- Click OK.
- Accept the suggested name, Invoicing,
which was determined automatically from the name of the lane. The new capability is created in the model and diagram,
as shown in the following image:
- Refine the operations in the Invoicing capability: The
operations and their names were determined from the names of the tasks
in the selected lane. For this tutorial, suppose that you do not need
the Process Invoice operation, and suppose that the names of the other
operations must change to conform to the naming standards of a project
and to better reflect what the operations do. In the diagram editor,
in the Invoicing capability, complete the following steps:
- Right-click the Process Invoice operation;
then click Delete from Model. If you are prompted
to confirm your selection, click Yes.
- Click the Initiate Price Calculations operation
and rename it to initiatePriceCalculation.
- Click the Handle Shipping Price operation
and rename it to completePriceCalculation.
The following image shows the updated Invoicing capability:
- Create a capability for the Scheduling lane: Repeat steps 1, 2, and 3, but in step 3, select Scheduling instead
of Invoicing.
- In the Scheduling capability, rename the operations to requestProductionScheduling and sendShippingSchedule. The following image shows the updated Scheduling capability:
- Create a capability for the Shipping lane: Repeat steps 1, 2, and 3, but in step 3, select Shipping instead
of Invoicing.
- In the Shipping capability, rename the operations to requestShipping and processSchedule. The following image shows the updated Shipping capability:
- In the diagram editor, arrange the three capabilities into
a horizontal row in the middle of the diagram.
- Create a capability that represents the entire process:
Repeat steps 1, 2, and 3, but in step 3, select Purchasing,
which is the parent tree node of the lanes, instead of Invoicing.
- In the Purchasing capability, delete and rename its operations
so that it has a single operation named processPurchaseOrder,
as shown in the following image:
- In the diagram editor, center the Purchasing capability
above the three other capabilities, as shown in the following image:
- In the diagram editor, create a Usage relationship from
the Purchasing capability to each of the other three capabilities:
- Put the cursor over the Purchasing capability until
the connector handles are displayed, as shown in the following image:
- Drag the outgoing handle to one of the other capabilities.
From the list of relationship types, select Create Usage. A new «use» connection, which represents the relationship,
is created between the capabilities.
After you create all three usage relationships, the diagram
should look like the following image:In the Project Explorer view, the project should look like
the following image:
- Click .
- To discover the BPMN element from which each capability
is derived, in the diagram editor, right-click a capability; then
click . For example, if you complete this
step for the Invoicing capability, the Invoicing lane in the BPMN
model is selected in the Project Explorer view. These traceability
links were created automatically when you created each capability.
You can now close the capabilities Main diagram.