Describing a Service Operation
The content of a service interaction is described by an Interface.
An Interface is described by a sequence of service operations or Interfaces.
A service operation diagram describes the sequence flows of a service operation.
"Customer Identification Service" Service Operation Diagram
The customer identification service protocol begins by sending information enabling identification of the customer. An error message appears if the customer is not found, otherwise customer information is sent (customer identification, status of orders, etc.).
Accessing the list of service operations
To access the list of service operations of a library:
1. From the Environment navigation menu, open the exploration area Container > Hierarchy.
2. Unfold the desired library, and then the Service operations folder.
The list of service operations accessible from the library appears.
Creating a service operation
You can create a service operation an Interface diagram (BPMN).
To create a service operation from an Interface diagram (BPMN):
1. Select the
Service Operation Used
button and click in the diagram within the Interface frame.
The service operation appears in the diagram.
2. Open the Characteristics property page of the service operation.
3. Click the arrow at the right of the Service operation specification and select Create a service operation.
The Creation of Operation Joint Action dialog box opens.
4. Enter the Name of your service operation click OK.
The service operation is automatically created.
Creating a Service Operation Diagram (BPMN)
A service operation is described by an service operation diagram presenting the sequence flow of messages exchanged.
To create an service operation diagram:
1. From the Environment navigation menu, open the exploration area Container > Libraries.
2. Unfold the desired library, and then the Service operations folder.
3. Select service operation that interests you and click Create Diagram.
4. In the dialog box, select Service operation Diagram (BPMN)
The diagram opens. The frame of the service operation is positioned and the two roles (Consumer and Provider) are created.
Creating a message flow with signal
You must specify the message flows and their signal exchanged between the two service operation roles.
To create a message flow and its signal:
1. In the service operation diagram, click the Flow With signal button.
2. Click the role that represents the message flow sender and, holding the mouse button down, draw a link to the message flow recipient.
The Creation of Flow dialog box opens.
3. In the signal drop-down list, select the signal you wish to associate with the flow.
The message flow is displayed with its signal in the diagram.
Managing events, gateways and sequence flows
“Start” and “End” events are required in description of the service assured by the Interface.
In compliance with the BPMN standard, in the object toolbar, several gateway types are available to you.
A sequence flow is a directional link that represents the chronological organization of the different processing steps.