Скачиваний:
25
Добавлен:
28.01.2021
Размер:
7.15 Mб
Скачать

Table 10.1 – Process Attributes & Model Associations

correlationSubscriptions:

correlationSubscriptions are a feature of context-based correlation

CorrelationSubscription [0..*]

(cf. sub clause 8.3.3). CorrelationSubscriptions are used to

 

correlate incoming Messages against data in the Process context. A

 

Process MAY contain several correlationSubscriptions.

definitionalCollaborationRef:

For Processes that interact with other Participants, a definitional

Collaboration [0..1]

Collaboration can be referenced by the Process. The definitional

 

 

Collaboration specifies the Participants the Process interacts with,

 

and more specifically, which individual service, Send or Receive Task,

 

or Message Event, is connected to which Participant through

 

Message Flows. The definitional Collaboration need not be

 

displayed.

 

Additionally, the definitional Collaboration can be used to include

 

Conversation information within a Process.

 

 

In addition, a Process instance has attributes whose values MAY be referenced by Expressions (see Table 10.2). These values are only available when the Process is being executed.

Table 10.2 – Process instance attributes

Attribute Name

Description/Usage

 

 

state: string = None

See Figure 13.2 ("The Lifecycle of a BPMN Activity") in

 

Section 13.3.2 for permissible values.

 

 

10.2 Basic Process Concepts

10.2.1 Types of BPMN Processes

Business Process modeling is used to communicate a wide variety of information to a wide variety of audiences. BPMN is designed to cover many types of modeling and allows the creation of end-to-end Business Processes. There are three basic types of BPMN Processes:

1.Private Non-executable (internal) Business Processes

2.Private Executable (internal) Business Processes

3.Public Processes

10.2.1.1 Private (Internal) Business Processes

Private Business Processes are those internal to a specific organization. These Processes have been generally called workflow or BPM Processes (see Figure 10.4 ). Another synonym typically used in the Web services area is the

Orchestration of services. There are two types of private Processes: executable and non-executable. An executable

Process is a Process that has been modeled for the purpose of being executed according to the semantics defined in Clause 14. Of course, during the development cycle of the Process, there will be stages where the Process does not

Business Process Model and Notation (BPMN), v2.0.2

147

have enough detail to be “executable.” A non-executable Process is a private Process that has been modeled for the purpose of documenting Process behavior at a modeler-defined level of detail. Thus, information needed for execution, such as formal condition Expressions are typically not included in a non-executable Process.

If a swimlanes-like notation is used (e.g., a Collaboration, see below), then a private Business Process will be contained within a single Pool. The Process flow is therefore contained within the Pool and cannot cross the boundaries of the Pool. The flow of Messages can cross the Pool boundary to show the interactions that exist between separate private Business Processes.

Determine

Check

Determine

Approve

Notify

Applicant of

Order is

Record of

Premium of

or Reject

Approval or

Complete

Applicant

Policy

Policy

Rejection

 

 

 

 

Figure 10.4 – Example of a private Business Process

10.2.1.2 Public Processes

A public Process represents the interactions between a private Business Process and another Process or Participant (see Figure 10.5). Only those Activities that are used to communicate to the other Participant(s), plus the order of these Activities, are included in the public Process. All other “internal” Activities of the private Business Process are not shown in the public Process. Thus, the public Process shows to the outside world the Messages, and the order of these Messages, that are needed to interact with that Business Process. Public Processes can be modeled separately or within a Collaboration to show the flow of Messages between the public Process Activities and other Participants. Note that the public type of Process was named “abstract” in BPMN 1.2.

Patient

 

 

I feel sick

Pickup your m edicine

 

H ere is your m edicine

I want to see doctor

 

and you can leave

 

G o see doctor

 

need m y m edicine

 

 

R eceive

Send Appt.

Receive

Send

R eceive

Send

Doctor

Prescription

M edicine

Sym ptom s

M edicine

Request

 

Pickup

Request

 

 

 

Figure 10.5 – Example of a public Process

10.2.2 Use of BPMN Common Elements

Some BPMN elements are common to both Process and Choreography, as well as Collaboration; they are used in these diagrams. The next few sub clauses will describe the use of Messages, Message Flows, Participants,

Sequence Flows, Artifacts, Correlations, Expressions, and Services in Choreography.

The key graphical elements of Gateways and Events are also common to both Choreography and Process. Since their usage has a large impact, they are described in major sub clauses of this clause (see page 232 for Events and page 286 for Gateways).

148

Business Process Model and Notation (BPMN), v2.0.2