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

Table 10.24 – CallableElement attributes and model associations

Attribute Name

Description/Usage

 

 

name: string [0..1]

The descriptive name of the element.

 

 

supportedInterfaceRefs:

The Interfaces describing the external behavior provided by this element.

Interface [0..*]

 

 

 

ioSpecification: Input

The InputOutputSpecification defines the inputs and outputs and the

OutputSpecification [0..1]

InputSets and OutputSets for the Activity.

ioBinding: InputOutput

The InputOutputBinding defines a combination of one InputSet and

Binding [0..*]

one OutputSet in order to bind this to an operation defined in an

 

interface.

When a CallableElement is exposed as a Service, it has to define one or more InputOutputBinding elements. An InputOutputBinding element binds one Input and one Output of the

InputOutputSpecification to an Operation of a Service Interface. Table 10.25 presents the additional model associations of the InputOutputBinding.

Table 10.25 – InputOutputBinding model associations

Attribute Name

Description/Usage

 

 

inputDataRef: DataInput

A reference to one specific DataInput defined as part of the

 

InputOutputSpecification of the Activity.

outputDataRef: DataOutput

A reference to one specific DataOutput defined as part of the

 

InputOutputSpecification of the Activity.

operationRef: Operation

A reference to one specific Operation defined as part of the Interface of

 

the Activity.

 

 

10.3.7 Global Task

A Global Task is a reusable, atomic Task definition that can be called from within any Process by a Call Activity.

186

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

Figure 10.44 – Global Tasks class diagram

The GlobalTask inherits the attributes and model associations of Callable Element (see Table 10.24). Table 10.26 presents the additional model associations of the GlobalTask.

Table 10.26 – Global Task model associations

Attribute Name

Description/Usage

 

 

resources: ResourceRole [0..*]

Defines the resource that will perform or will be responsible for the

 

GlobalTask. In the case where the Call Activity that references this

 

GlobalTask defines its own resources, they will override the ones defined

 

here.

 

 

Types of Global Task

There are different types of Tasks identified within BPMN to separate the types of inherent behavior that Tasks might represent. The types of Global Tasks are only a subset of standard Tasks types. Only GlobalUserTask, GlobalManualTask, GlobalScriptTask, and GlobalBusinessRuleTask are defined in BPMN. For the sake of efficiency in this document, the list of Task types is presented once on page 154. The behavior, attributes, and model associations defined in that sub clause also apply to the corresponding types of Global Tasks.

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

187