Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 | <?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:activiti="http://activiti.org/bpmn" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI" typeLanguage="http://www.w3.org/2001/XMLSchema" expressionLanguage="http://www.w3.org/1999/XPath" targetNamespace="http://www.activiti.org/test">
<process id="compensationCancelProcess" name="Compensation and Cancel Process" isExecutable="true">
<startEvent id="startevent1" name="Start"/>
<serviceTask id="servicetask1" name="Book Hotel" activiti:class="com.example.BookHotel"/>
<serviceTask id="compensate_servicetask1" name="Cancel Hotel" activiti:class="com.example.CancelHotel" isForCompensation="true"/>
<boundaryEvent id="boundarycompensation1" name="Compensation" attachedToRef="servicetask1">
<compensateEventDefinition/>
</boundaryEvent>
<intermediateThrowEvent id="throwcompensation1" name="Throw Compensation">
<compensateEventDefinition activityRef="servicetask1"/>
</intermediateThrowEvent>
<endEvent id="endevent1" name="End"/>
<sequenceFlow id="flow1" sourceRef="startevent1" targetRef="servicetask1"/>
<sequenceFlow id="flow2" sourceRef="servicetask1" targetRef="throwcompensation1"/>
<sequenceFlow id="flow3" sourceRef="throwcompensation1" targetRef="endevent1"/>
<association id="assoc1" sourceRef="boundarycompensation1" targetRef="compensate_servicetask1"/>
</process>
<bpmndi:BPMNDiagram id="BPMNDiagram_compensationCancelProcess">
<bpmndi:BPMNPlane bpmnElement="compensationCancelProcess" id="BPMNPlane_compensationCancelProcess">
<bpmndi:BPMNShape bpmnElement="startevent1" id="BPMNShape_startevent1">
<omgdc:Bounds height="35.0" width="35.0" x="90.0" y="200.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="servicetask1" id="BPMNShape_servicetask1">
<omgdc:Bounds height="55.0" width="105.0" x="180.0" y="190.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="compensate_servicetask1" id="BPMNShape_compensate_servicetask1">
<omgdc:Bounds height="55.0" width="105.0" x="180.0" y="310.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="throwcompensation1" id="BPMNShape_throwcompensation1">
<omgdc:Bounds height="35.0" width="35.0" x="350.0" y="200.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="endevent1" id="BPMNShape_endevent1">
<omgdc:Bounds height="35.0" width="35.0" x="450.0" y="200.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="boundarycompensation1" id="BPMNShape_boundarycompensation1">
<omgdc:Bounds height="30.0" width="30.0" x="217.0" y="230.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge bpmnElement="flow1" id="BPMNEdge_flow1">
<omgdi:waypoint x="125.0" y="217.5"/>
<omgdi:waypoint x="180.0" y="217.5"/>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="flow2" id="BPMNEdge_flow2">
<omgdi:waypoint x="285.0" y="217.5"/>
<omgdi:waypoint x="350.0" y="217.5"/>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="flow3" id="BPMNEdge_flow3">
<omgdi:waypoint x="385.0" y="217.5"/>
<omgdi:waypoint x="450.0" y="217.5"/>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="assoc1" id="BPMNEdge_assoc1">
<omgdi:waypoint x="232.0" y="260.0"/>
<omgdi:waypoint x="232.0" y="310.0"/>
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</definitions>
|