1.2.7.3 BpmnDataAssociation
Data Associations are used to move data between Data Objects, Properties, and inputs and outputs of Activities, Processes, and GlobalTasks. Tokens do not flow along a Data Association, and as a result they have no direct effect on the flow of the Process. The purpose of retrieving data from Data Objects or Process Data Inputs is to fill the Activities inputs and later push the output values from the execution of the Activity back into Data Objects or Process Data Outputs. The DataAssociation class is a BaseElement contained by an Activity or Event, used to model how data is pushed into or pulled from item-aware elements. DataAssociation elements may have one or more sources and a target; the source of the association is copied into the target. NOTE: Voir ownership. Discutter du pattern "targetref" quand la flèche désigne une activité.
BpmnItemAwareElementBpmnBaseElementAssignmentTransfomationLanguageBpmnDataAssociation
Attribute
Description
string Assignment [1..1]
Specifies one or more data elements Assignments. By using an Assignment, single data structure elements can be assigned from the source structure to the target structure.
string Transfomation [1..1]
Specifies an optional transformation Expression. The actual scope of visible data for that Expression is defined by the source and target of the specific data association types.
string Language [1..1]
Language used for the assignment expression.
Association
Description
SourceRef : BpmnItemAwareElement [0..*]
Identifies the source(s) of the data association. If there is no transformation defined or referenced, then only one source MUST be defined, and the contents of this source will be copied into the target.
Data associations that use this element to compute a value.
TargetRef : BpmnItemAwareElement [1..1]
Identifies the target of the data association. The target must be an ItemAwareElement
Data associations that computes the value of this element.
EndingEvent : BpmnCatchEvent [0..1]
StartingEvent : BpmnThrowEvent [0..1]
VisualShortCut : BpmnSequenceFlowDataAssociation [0..*]
StartingActivity : BpmnActivity [0..1]
EndingActivity : BpmnActivity [0..1]
1.2.7.3.1 Consistency rules
The ItemDefinition from the souceRef and targetRef must have the same ItemDefinition or the DataAssociation MUST have a transformation Expression that transforms the source ItemDefinition into the target ItemDefinition.