bpmn-js/test/fixtures/bpmn/process-associations.bpmn

91 lines
5.8 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<bpmn2:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd" id="simple" targetNamespace="http://bpmn.io/schema/bpmn">
<bpmn2:process id="Process_1" isExecutable="false">
<bpmn2:ioSpecification id="InputOutputSpecification_1">
<bpmn2:dataInput id="DataInput_1"/>
<bpmn2:dataOutput id="DataOutput_1"/>
</bpmn2:ioSpecification>
<bpmn2:task id="Task_1">
<bpmn2:dataInputAssociation id="DataInputAssociation_1">
<bpmn2:sourceRef>DataInput_1</bpmn2:sourceRef>
</bpmn2:dataInputAssociation>
<bpmn2:dataOutputAssociation id="DataOutputAssociation_1">
<bpmn2:targetRef>DataOutput_1</bpmn2:targetRef>
</bpmn2:dataOutputAssociation>
</bpmn2:task>
<bpmn2:boundaryEvent id="BoundaryEvent_1" name="" attachedToRef="Task_1">
<bpmn2:compensateEventDefinition id="_CompensateEventDefinition_2" waitForCompletion="false"/>
</bpmn2:boundaryEvent>
<bpmn2:task id="Task_2" isForCompensation="true">
<bpmn2:dataInputAssociation id="DataInputAssociation_2">
<bpmn2:sourceRef>DataObjectReference_1</bpmn2:sourceRef>
</bpmn2:dataInputAssociation>
<bpmn2:dataOutputAssociation id="DataOutputAssociation_2">
<bpmn2:targetRef>DataStoreReference_4</bpmn2:targetRef>
</bpmn2:dataOutputAssociation>
</bpmn2:task>
<bpmn2:dataStoreReference id="DataStoreReference_4" name="Data Store 1" dataStoreRef="DataStore_1"/>
<bpmn2:dataObject id="DataObject_1" name="Data Object 1"/>
<bpmn2:dataObjectReference id="DataObjectReference_1" name="Data Object 1" dataObjectRef="DataObject_1"/>
<bpmn2:association id="Association_1" sourceRef="BoundaryEvent_1" targetRef="Task_2"/>
<bpmn2:association id="Association_2" sourceRef="DataObjectReference_1" targetRef="DataStoreReference_4"/>
</bpmn2:process>
<bpmn2:dataStore id="DataStore_1" name="Data Store 1"/>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_1">
<bpmndi:BPMNShape id="_BPMNShape_Task_5" bpmnElement="Task_1">
<dc:Bounds height="80.0" width="100.0" x="284.0" y="203.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="_BPMNShape_BoundaryEvent_4" bpmnElement="BoundaryEvent_1">
<dc:Bounds height="36.0" width="36.0" x="331.0" y="265.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="_BPMNShape_Task_6" bpmnElement="Task_2">
<dc:Bounds height="80.0" width="100.0" x="505.0" y="341.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="BPMNEdge_Association_1" bpmnElement="Association_1" sourceElement="_BPMNShape_BoundaryEvent_4" targetElement="_BPMNShape_Task_6">
<di:waypoint xsi:type="dc:Point" x="349.0" y="301.0"/>
<di:waypoint xsi:type="dc:Point" x="349.0" y="380.0"/>
<di:waypoint xsi:type="dc:Point" x="505.0" y="381.0"/>
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="_BPMNShape_DataInput_4" bpmnElement="DataInput_1">
<dc:Bounds height="50.0" width="36.0" x="221.0" y="98.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="_BPMNShape_DataOutput_4" bpmnElement="DataOutput_1">
<dc:Bounds height="50.0" width="36.0" x="380.0" y="101.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="_BPMNShapeDataStoreReference_4" bpmnElement="DataStoreReference_4">
<dc:Bounds height="50.0" width="50.0" x="636.0" y="144.0"/>
<bpmndi:BPMNLabel>
<dc:Bounds height="22.0" width="79.0" x="696.0" y="158.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="_BPMNShape_DataObjectReference_4" bpmnElement="DataObjectReference_1">
<dc:Bounds height="50.0" width="36.0" x="484.0" y="91.0"/>
<bpmndi:BPMNLabel>
<dc:Bounds height="22.0" width="86.0" x="459.0" y="60.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="BPMNEdge_Association_2" bpmnElement="Association_2" sourceElement="_BPMNShape_DataObjectReference_4" targetElement="_BPMNShapeDataStoreReference_4">
<di:waypoint xsi:type="dc:Point" x="520.0" y="122.0"/>
<di:waypoint xsi:type="dc:Point" x="636.0" y="161.0"/>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="BPMNEdge_DataOutputAssociation_1" bpmnElement="DataOutputAssociation_1" sourceElement="_BPMNShape_Task_5" targetElement="_BPMNShape_DataOutput_4">
<di:waypoint xsi:type="dc:Point" x="356.0" y="203.0"/>
<di:waypoint xsi:type="dc:Point" x="384.0" y="151.0"/>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="BPMNEdge_DataInputAssociation_1" bpmnElement="DataInputAssociation_1" sourceElement="_BPMNShape_DataInput_4" targetElement="_BPMNShape_Task_5">
<di:waypoint xsi:type="dc:Point" x="257.0" y="146.0"/>
<di:waypoint xsi:type="dc:Point" x="302.0" y="203.0"/>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="BPMNEdge_DataOutputAssociation_2" bpmnElement="DataOutputAssociation_2" sourceElement="_BPMNShape_Task_6" targetElement="_BPMNShapeDataStoreReference_4">
<di:waypoint xsi:type="dc:Point" x="575.0" y="341.0"/>
<di:waypoint xsi:type="dc:Point" x="649.0" y="194.0"/>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="BPMNEdge_DataInputAssociation_2" bpmnElement="DataInputAssociation_2" sourceElement="_BPMNShape_DataObjectReference_4" targetElement="_BPMNShape_Task_6">
<di:waypoint xsi:type="dc:Point" x="494.0" y="141.0"/>
<di:waypoint xsi:type="dc:Point" x="459.0" y="249.0"/>
<di:waypoint xsi:type="dc:Point" x="526.0" y="341.0"/>
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn2:definitions>