demo-process-models/playground/tencent/exclusive-model/exclusive.bpmn

106 lines
5.4 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<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:spiffworkflow="http://spiffworkflow.org/bpmn/schema/1.0/core" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_96f6665" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.0.0-dev">
<bpmn:process id="Process_wrwmqpw" isExecutable="true">
<bpmn:startEvent id="StartEvent_1">
<bpmn:outgoing>Flow_1r64fp3</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:sequenceFlow id="Flow_1r64fp3" sourceRef="StartEvent_1" targetRef="Activity_0ks3dm6" />
<bpmn:userTask id="Activity_0ks3dm6" name="set approval">
<bpmn:extensionElements>
<spiffworkflow:properties>
<spiffworkflow:property name="formJsonSchemaFilename" value="name-schema.json" />
<spiffworkflow:property name="formUiSchemaFilename" value="name-uischema.json" />
</spiffworkflow:properties>
</bpmn:extensionElements>
<bpmn:incoming>Flow_1r64fp3</bpmn:incoming>
<bpmn:outgoing>Flow_1thhvi0</bpmn:outgoing>
</bpmn:userTask>
<bpmn:exclusiveGateway id="Gateway_01ugfb1" name="approved?" default="Flow_1kbbsxe">
<bpmn:incoming>Flow_1thhvi0</bpmn:incoming>
<bpmn:outgoing>Flow_1kbbsxe</bpmn:outgoing>
<bpmn:outgoing>Flow_028xvyx</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id="Flow_1thhvi0" sourceRef="Activity_0ks3dm6" targetRef="Gateway_01ugfb1" />
<bpmn:intermediateThrowEvent id="Event_1wjzozp" name="approved">
<bpmn:incoming>Flow_1kbbsxe</bpmn:incoming>
<bpmn:outgoing>Flow_1rjes8u</bpmn:outgoing>
</bpmn:intermediateThrowEvent>
<bpmn:sequenceFlow id="Flow_1kbbsxe" sourceRef="Gateway_01ugfb1" targetRef="Event_1wjzozp" />
<bpmn:endEvent id="Event_0hz6r0a">
<bpmn:incoming>Flow_1rjes8u</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_1rjes8u" sourceRef="Event_1wjzozp" targetRef="Event_0hz6r0a" />
<bpmn:intermediateThrowEvent id="Event_0lq023s" name="rejected">
<bpmn:incoming>Flow_028xvyx</bpmn:incoming>
<bpmn:outgoing>Flow_0hx4g8i</bpmn:outgoing>
</bpmn:intermediateThrowEvent>
<bpmn:sequenceFlow id="Flow_028xvyx" sourceRef="Gateway_01ugfb1" targetRef="Event_0lq023s">
<bpmn:conditionExpression>not approve</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:endEvent id="Event_0mipcsh">
<bpmn:incoming>Flow_0hx4g8i</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_0hx4g8i" sourceRef="Event_0lq023s" targetRef="Event_0mipcsh" />
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_wrwmqpw">
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
<dc:Bounds x="179" y="159" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1k1zc1c_di" bpmnElement="Activity_0ks3dm6">
<dc:Bounds x="270" y="137" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_01ugfb1_di" bpmnElement="Gateway_01ugfb1" isMarkerVisible="true">
<dc:Bounds x="425" y="152" width="50" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="424" y="128" width="52" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1wjzozp_di" bpmnElement="Event_1wjzozp">
<dc:Bounds x="532" y="159" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="528" y="202" width="46" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0hz6r0a_di" bpmnElement="Event_0hz6r0a">
<dc:Bounds x="632" y="159" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0lq023s_di" bpmnElement="Event_0lq023s">
<dc:Bounds x="532" y="272" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="530" y="315" width="40" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0mipcsh_di" bpmnElement="Event_0mipcsh">
<dc:Bounds x="632" y="272" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_1r64fp3_di" bpmnElement="Flow_1r64fp3">
<di:waypoint x="215" y="177" />
<di:waypoint x="270" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1thhvi0_di" bpmnElement="Flow_1thhvi0">
<di:waypoint x="370" y="177" />
<di:waypoint x="425" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1kbbsxe_di" bpmnElement="Flow_1kbbsxe">
<di:waypoint x="475" y="177" />
<di:waypoint x="532" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1rjes8u_di" bpmnElement="Flow_1rjes8u">
<di:waypoint x="568" y="177" />
<di:waypoint x="632" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_028xvyx_di" bpmnElement="Flow_028xvyx">
<di:waypoint x="450" y="202" />
<di:waypoint x="450" y="290" />
<di:waypoint x="532" y="290" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0hx4g8i_di" bpmnElement="Flow_0hx4g8i">
<di:waypoint x="568" y="290" />
<di:waypoint x="632" y="290" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>