Figure 8.30 – The Message class diagram

The Message element inherits the attributes and model associations of BaseElement (see Table 8.5) through its relationship to RootElement. Table 8.48 presents the additional attributes and model associations for the Message element.

Table 8.48 – Message attributes and model associations

Attribute Name

Description/Usage

 

 

name: string

Name is a text description of the Message.

 

 

itemRef : ItemDefinition [0..1]

An ItemDefinition is used to define the “payload” of the

 

Message.

8.4.12 Resources

The Resource class is used to specify resources that can be referenced by Activities. These Resources can be Human Resources as well as any other resource assigned to Activities during Process execution time.

The definition of a Resource is “abstract,” because it only defines the Resource, without detailing how e.g., actual user IDs are associated at runtime. Multiple Activities can utilize the same Resource.

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

93

Every Resource can define a set of ResourceParameters. These parameters can be used at runtime to define query e.g., into an Organizational Directory. Every Activity referencing a parameterized Resource can bind values available in the scope of the Activity to these parameters.

Figure 8.31 – Resource class diagram

The Resource element inherits the attributes and model associations of BaseElement (see Table 8.5) through its relationship to RootElement. Table 8.51 presents the additional model associations for the Resource element.

Table 8.49 – Resource attributes and model associations

Attribute Name

Description/Usage

 

 

name: string

This attribute specifies the name of the Resource.

resourceParameters:

This model association specifies the definition of the parameters

ResourceParameter [0..*]

needed at runtime to resolve the Resource.

As mentioned before, the Resource can define a set of parameters to define a query to resolve the actual resources (e.g., user ids).

The ResourceParameter element inherits the attributes and model associations of BaseElement (see Table 8.5) through its relationship to RootElement. Table 8.51 presents the additional model associations for the

ResourceParameter element.

94

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