bpmn-miwg / bpmn-miwg-test-suite

BPMN 2.0 Test Cases (Models, Diagrams, Serializations) created by the BPMN Model Interchange Working Group (BPMN MIWG) at the OMG
http://www.omgwiki.org/bpmn-miwg/
Other
101 stars 73 forks source link

Outputset inside StartMessageEvent #183

Open mappetz opened 10 years ago

mappetz commented 10 years ago

A.1.2 Reference Visualization

15cb0d1e-db7e-11e3-8de3-aff1969b665e

A.1.2 Reference Serialization

https://github.com/bpmn-miwg/bpmn-miwg-test-suite/blob/19995f37bb5e190e5f4c5dd73796707950660037/Reference/A.1.2.bpmn#L36-L38

StartEvent

<semantic:startEvent name="Start Event" id="startEvent">
    ...
    <semantic:dataOutput name="Start Event Data Output" id="startEventDataOutput" itemSubjectRef="serviceInput" />
    ...
    <semantic:outputSet>
        <semantic:dataOutputRefs>startEventDataOutput</semantic:dataOutputRefs>
    </semantic:outputSet>
    ...
</semantic:startEvent>

Problem

Outputset inside Catch Event.

BPMN Specification Reference

BPMN 2.0.2 page 224 (PDF page 254)

"When a catch Event is activated, Data Outputs of the event are filled with the element that triggered the Event. Then all DataOutputAssociations of the Event are executed. There are no OutputSets defined for Events."

image

Correlated Problem

Symmetrically, this issue affect also the endEvent. https://github.com/bpmn-miwg/bpmn-miwg-test-suite/blob/19995f37bb5e190e5f4c5dd73796707950660037/Reference/A.1.2.bpmn#L114-L116

[Edited: removed the proposal due to inconsistencies in the specification]

SimonRinguette commented 10 years ago

There still seems to be a contradiction in the specification. The phrase there are no OutputSets defined for Events is directly that you quoted is in contradiction with the meta model definition of the CatchEvent class.

Table 10.82 defines that CatchEvent has [0..1] outputSet. The XSD schema of the tCatchEvent type also has:

<xsd:element ref="outputSet" minOccurs="0" maxOccurs="1"/>

We either need to favor the text or the meta model definition here but certainly we need to propose a correction for the contradiction