|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<bpmn:definitions xmlns:bpmn="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:zeebe="http://camunda.org/schema/zeebe/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:modeler="http://camunda.org/schema/modeler/1.0" id="Definitions_0378vlr" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="5.30.0" modeler:executionPlatform="Camunda Cloud" modeler:executionPlatformVersion="8.6.0"> |
| 3 | + <bpmn:process id="ticket-process" isExecutable="true"> |
| 4 | + <bpmn:startEvent id="StartEvent_1" name="Review Ticket"> |
| 5 | + <bpmn:outgoing>Flow_15eitzn</bpmn:outgoing> |
| 6 | + </bpmn:startEvent> |
| 7 | + <bpmn:exclusiveGateway id="approve" name="Ticket approved?"> |
| 8 | + <bpmn:incoming>Flow_15eitzn</bpmn:incoming> |
| 9 | + <bpmn:outgoing>Flow_0qa5dor</bpmn:outgoing> |
| 10 | + <bpmn:outgoing>Flow_1mwuyrx</bpmn:outgoing> |
| 11 | + </bpmn:exclusiveGateway> |
| 12 | + <bpmn:sequenceFlow id="Flow_15eitzn" sourceRef="StartEvent_1" targetRef="approve" /> |
| 13 | + <bpmn:sequenceFlow id="Flow_0qa5dor" name="true" sourceRef="approve" targetRef="approve-ticket"> |
| 14 | + <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">=approve = true</bpmn:conditionExpression> |
| 15 | + </bpmn:sequenceFlow> |
| 16 | + <bpmn:sequenceFlow id="Flow_1mwuyrx" name="false" sourceRef="approve" targetRef="reject-ticket"> |
| 17 | + <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">=approve = false</bpmn:conditionExpression> |
| 18 | + </bpmn:sequenceFlow> |
| 19 | + <bpmn:sequenceFlow id="Flow_0zw3wml" sourceRef="approve-ticket" targetRef="Gateway_1konots" /> |
| 20 | + <bpmn:endEvent id="Event_06ekl28" name="Ticket closed"> |
| 21 | + <bpmn:incoming>Flow_0zq29tr</bpmn:incoming> |
| 22 | + </bpmn:endEvent> |
| 23 | + <bpmn:sequenceFlow id="Flow_0h45x13" sourceRef="reject-ticket" targetRef="Gateway_1konots" /> |
| 24 | + <bpmn:serviceTask id="reject-ticket" name="Reject-Ticket"> |
| 25 | + <bpmn:extensionElements> |
| 26 | + <zeebe:taskDefinition type="reject-ticket" retries="3" /> |
| 27 | + </bpmn:extensionElements> |
| 28 | + <bpmn:incoming>Flow_1mwuyrx</bpmn:incoming> |
| 29 | + <bpmn:outgoing>Flow_0h45x13</bpmn:outgoing> |
| 30 | + </bpmn:serviceTask> |
| 31 | + <bpmn:serviceTask id="approve-ticket" name="Approve Ticket"> |
| 32 | + <bpmn:extensionElements> |
| 33 | + <zeebe:taskDefinition type="approve-ticket" retries="3" /> |
| 34 | + </bpmn:extensionElements> |
| 35 | + <bpmn:incoming>Flow_0qa5dor</bpmn:incoming> |
| 36 | + <bpmn:outgoing>Flow_0zw3wml</bpmn:outgoing> |
| 37 | + </bpmn:serviceTask> |
| 38 | + <bpmn:sequenceFlow id="Flow_0zq29tr" sourceRef="close-ticket" targetRef="Event_06ekl28" /> |
| 39 | + <bpmn:serviceTask id="close-ticket" name="Close Ticket"> |
| 40 | + <bpmn:extensionElements> |
| 41 | + <zeebe:taskDefinition type="close-ticket" retries="3" /> |
| 42 | + </bpmn:extensionElements> |
| 43 | + <bpmn:incoming>Flow_1j6b6g3</bpmn:incoming> |
| 44 | + <bpmn:outgoing>Flow_0zq29tr</bpmn:outgoing> |
| 45 | + </bpmn:serviceTask> |
| 46 | + <bpmn:exclusiveGateway id="Gateway_1konots"> |
| 47 | + <bpmn:incoming>Flow_0zw3wml</bpmn:incoming> |
| 48 | + <bpmn:incoming>Flow_0h45x13</bpmn:incoming> |
| 49 | + <bpmn:outgoing>Flow_1j6b6g3</bpmn:outgoing> |
| 50 | + </bpmn:exclusiveGateway> |
| 51 | + <bpmn:sequenceFlow id="Flow_1j6b6g3" sourceRef="Gateway_1konots" targetRef="close-ticket" /> |
| 52 | + </bpmn:process> |
| 53 | + <bpmndi:BPMNDiagram id="BPMNDiagram_1"> |
| 54 | + <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="ticket-process"> |
| 55 | + <bpmndi:BPMNShape id="Gateway_1d0klon_di" bpmnElement="approve" isMarkerVisible="true"> |
| 56 | + <dc:Bounds x="275" y="155" width="50" height="50" /> |
| 57 | + <bpmndi:BPMNLabel> |
| 58 | + <dc:Bounds x="338" y="170" width="84" height="14" /> |
| 59 | + </bpmndi:BPMNLabel> |
| 60 | + </bpmndi:BPMNShape> |
| 61 | + <bpmndi:BPMNShape id="Activity_0r8f34r_di" bpmnElement="reject-ticket"> |
| 62 | + <dc:Bounds x="390" y="240" width="100" height="80" /> |
| 63 | + <bpmndi:BPMNLabel /> |
| 64 | + </bpmndi:BPMNShape> |
| 65 | + <bpmndi:BPMNShape id="Activity_0dkl2vz_di" bpmnElement="approve-ticket"> |
| 66 | + <dc:Bounds x="390" y="50" width="100" height="80" /> |
| 67 | + <bpmndi:BPMNLabel /> |
| 68 | + </bpmndi:BPMNShape> |
| 69 | + <bpmndi:BPMNShape id="Event_06ekl28_di" bpmnElement="Event_06ekl28"> |
| 70 | + <dc:Bounds x="792" y="162" width="36" height="36" /> |
| 71 | + <bpmndi:BPMNLabel> |
| 72 | + <dc:Bounds x="778" y="205" width="64" height="14" /> |
| 73 | + </bpmndi:BPMNLabel> |
| 74 | + </bpmndi:BPMNShape> |
| 75 | + <bpmndi:BPMNShape id="Activity_00nqiiy_di" bpmnElement="close-ticket"> |
| 76 | + <dc:Bounds x="630" y="140" width="100" height="80" /> |
| 77 | + </bpmndi:BPMNShape> |
| 78 | + <bpmndi:BPMNShape id="Gateway_1konots_di" bpmnElement="Gateway_1konots" isMarkerVisible="true"> |
| 79 | + <dc:Bounds x="535" y="155" width="50" height="50" /> |
| 80 | + </bpmndi:BPMNShape> |
| 81 | + <bpmndi:BPMNShape id="StartEvent_1_di" bpmnElement="StartEvent_1"> |
| 82 | + <dc:Bounds x="172" y="162" width="36" height="36" /> |
| 83 | + <bpmndi:BPMNLabel> |
| 84 | + <dc:Bounds x="156" y="205" width="68" height="14" /> |
| 85 | + </bpmndi:BPMNLabel> |
| 86 | + </bpmndi:BPMNShape> |
| 87 | + <bpmndi:BPMNEdge id="Flow_15eitzn_di" bpmnElement="Flow_15eitzn"> |
| 88 | + <di:waypoint x="208" y="180" /> |
| 89 | + <di:waypoint x="275" y="180" /> |
| 90 | + </bpmndi:BPMNEdge> |
| 91 | + <bpmndi:BPMNEdge id="Flow_0qa5dor_di" bpmnElement="Flow_0qa5dor"> |
| 92 | + <di:waypoint x="300" y="155" /> |
| 93 | + <di:waypoint x="300" y="90" /> |
| 94 | + <di:waypoint x="390" y="90" /> |
| 95 | + <bpmndi:BPMNLabel> |
| 96 | + <dc:Bounds x="331" y="73" width="19" height="14" /> |
| 97 | + </bpmndi:BPMNLabel> |
| 98 | + </bpmndi:BPMNEdge> |
| 99 | + <bpmndi:BPMNEdge id="Flow_1mwuyrx_di" bpmnElement="Flow_1mwuyrx"> |
| 100 | + <di:waypoint x="300" y="205" /> |
| 101 | + <di:waypoint x="300" y="280" /> |
| 102 | + <di:waypoint x="390" y="280" /> |
| 103 | + <bpmndi:BPMNLabel> |
| 104 | + <dc:Bounds x="329" y="255" width="24" height="14" /> |
| 105 | + </bpmndi:BPMNLabel> |
| 106 | + </bpmndi:BPMNEdge> |
| 107 | + <bpmndi:BPMNEdge id="Flow_0zw3wml_di" bpmnElement="Flow_0zw3wml"> |
| 108 | + <di:waypoint x="490" y="90" /> |
| 109 | + <di:waypoint x="560" y="90" /> |
| 110 | + <di:waypoint x="560" y="155" /> |
| 111 | + </bpmndi:BPMNEdge> |
| 112 | + <bpmndi:BPMNEdge id="Flow_0h45x13_di" bpmnElement="Flow_0h45x13"> |
| 113 | + <di:waypoint x="490" y="280" /> |
| 114 | + <di:waypoint x="560" y="280" /> |
| 115 | + <di:waypoint x="560" y="205" /> |
| 116 | + </bpmndi:BPMNEdge> |
| 117 | + <bpmndi:BPMNEdge id="Flow_0zq29tr_di" bpmnElement="Flow_0zq29tr"> |
| 118 | + <di:waypoint x="730" y="180" /> |
| 119 | + <di:waypoint x="792" y="180" /> |
| 120 | + </bpmndi:BPMNEdge> |
| 121 | + <bpmndi:BPMNEdge id="Flow_1j6b6g3_di" bpmnElement="Flow_1j6b6g3"> |
| 122 | + <di:waypoint x="585" y="180" /> |
| 123 | + <di:waypoint x="630" y="180" /> |
| 124 | + </bpmndi:BPMNEdge> |
| 125 | + </bpmndi:BPMNPlane> |
| 126 | + </bpmndi:BPMNDiagram> |
| 127 | +</bpmn:definitions> |
0 commit comments