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

Table 10.30 – Multi-instance Activity instance attributes

Attribute Name

Description/Usage

 

 

 

 

loopCounter: integer

This attribute is provided for each generated (inner) instance of the

 

Activity. It contains the sequence number of the generated

 

instance, i.e., if this value of some instance in n, the instance is the

 

n-th instance that was generated.

 

 

numberOfInstances: integer

This attribute is provided for the outer instance of the Multi-Instance

 

Activity only. This attribute contains the total number of inner

 

instances created for the Multi-Instance Activity.

 

 

numberOfActiveInstances: integer

This attribute is provided for the outer instance of the Multi-Instance

 

Activity only. This attribute contains the number of

 

currently active inner instances for the Multi-Instance Activity. In

 

case of a sequential Multi-Instance Activity, this value can’t be

 

greater than 1. For parallel Multi-Instance Activities, this value

 

can’t be greater than the value contained in numberOfInstances.

numberOfCompletedInstances:

This attribute is provided for the outer instance of the Multi-Instance

integer

Activity only. This attribute contains the number of already com-

 

 

pleted inner instances for the Multi-Instance Activity.

 

 

numberOfTerminatedInstances:

This attribute is provided for the outer instance of the

integer

Multi-Instance Activity only. This attribute contains the number of

 

 

terminated inner instances for the Multi-Instance Activity. The sum

 

of numberOfTerminatedInstances,

 

numberOfCompletedInstances, and

 

numberOfActiveInstances always sums up to

 

numberOfInstances.

Complex Behavior Definition

This element controls when and which Events are thrown in case behavior of the Multi-Instance Activity is set to complex.

The ComplexBehaviorDefinition element inherits the attributes and model associations of BaseElement (see Table 8.5). Table 10.31 presents the additional attributes and model associations for the

ComplexBehaviorDefinition element.

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

193