123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124 |
- <?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:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:modeler="http://camunda.org/schema/modeler/1.0" id="Definitions_02m23tv" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="5.21.0" modeler:executionPlatform="Camunda Platform" modeler:executionPlatformVersion="7.15.0">
- <bpmn:process id="general_approval" name="general_approval" isExecutable="true">
- <bpmn:startEvent id="task_start">
- <bpmn:outgoing>sid-4f57050a-5a96-4e2f-80e6-8b8c860d809d</bpmn:outgoing>
- </bpmn:startEvent>
- <bpmn:userTask id="task_draft" name="起草">
- <bpmn:incoming>sid-4f57050a-5a96-4e2f-80e6-8b8c860d809d</bpmn:incoming>
- <bpmn:incoming>flow_reject</bpmn:incoming>
- <bpmn:outgoing>Flow_07q4s39</bpmn:outgoing>
- <incoming>flow_approve_to_draft</incoming>
- <outgoing>sid-9b2eb87a-b8a6-4d80-8b1c-f61d6af8e40f</outgoing>
- </bpmn:userTask>
- <bpmn:sequenceFlow id="sid-4f57050a-5a96-4e2f-80e6-8b8c860d809d" sourceRef="task_start" targetRef="task_draft"/>
- <bpmn:userTask id="task_approve" name="审批">
- <bpmn:incoming>Flow_07q4s39</bpmn:incoming>
- <bpmn:outgoing>sid-4f16b97e-6ab9-4e9b-a3ca-bc9b6d1311af</bpmn:outgoing>
- </bpmn:userTask>
- <bpmn:inclusiveGateway id="gateway_approve" name="审批网关">
- <bpmn:incoming>sid-4f16b97e-6ab9-4e9b-a3ca-bc9b6d1311af</bpmn:incoming>
- <bpmn:outgoing>flow_passed</bpmn:outgoing>
- <bpmn:outgoing>flow_reject</bpmn:outgoing>
- </bpmn:inclusiveGateway>
- <bpmn:sequenceFlow id="sid-4f16b97e-6ab9-4e9b-a3ca-bc9b6d1311af" sourceRef="task_approve" targetRef="gateway_approve"/>
- <bpmn:sequenceFlow id="flow_passed" name="通过" sourceRef="gateway_approve" targetRef="task_completed">
- <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression" language="Javascript"/>
- </bpmn:sequenceFlow>
- <bpmn:sequenceFlow id="flow_reject" name="驳回" sourceRef="gateway_approve" targetRef="task_draft">
- <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression" language="Javascript">next(null, this.environment.variables.passed == false);</bpmn:conditionExpression>
- </bpmn:sequenceFlow>
- <bpmn:sequenceFlow id="Flow_07q4s39" sourceRef="task_draft" targetRef="task_approve"/>
- <bpmn:boundaryEvent id="event_catch_withdraw" attachedToRef="task_approve">
- <bpmn:signalEventDefinition signalRef="withdraw1"/>
- <outgoing>flow_approve_to_draft</outgoing>
- </bpmn:boundaryEvent>
- <bpmn:sequenceFlow id="flow_approve_to_draft" sourceRef="event_catch_withdraw" targetRef="task_draft"/>
- <bpmn:userTask id="task_withdraw" name="撤回">
- <incoming>sid-9b2eb87a-b8a6-4d80-8b1c-f61d6af8e40f</incoming>
- <outgoing>sid-c904365e-c922-4058-b9aa-525f648242b8</outgoing>
- </bpmn:userTask>
- <bpmn:sequenceFlow id="sid-9b2eb87a-b8a6-4d80-8b1c-f61d6af8e40f" sourceRef="task_draft" targetRef="task_withdraw"/>
- <bpmn:intermediateThrowEvent id="event_throw_withdraw">
- <bpmn:signalEventDefinition signalRef="withdraw"/>
- <incoming>sid-c904365e-c922-4058-b9aa-525f648242b8</incoming>
- </bpmn:intermediateThrowEvent>
- <bpmn:sequenceFlow id="sid-c904365e-c922-4058-b9aa-525f648242b8" sourceRef="task_withdraw" targetRef="event_throw_withdraw"/>
- <bpmn:endEvent id="task_completed">
- <incoming>flow_passed</incoming>
- </bpmn:endEvent>
- </bpmn:process>
- <bpmndi:BPMNDiagram id="BPMNDiagram_general_approval">
- <bpmndi:BPMNPlane id="BPMNPlane_general_approval" bpmnElement="general_approval">
- <bpmndi:BPMNShape id="shape-640c9bcf-b64f-4b40-834f-d7625afef5d2" bpmnElement="gateway_approve">
- <dc:Bounds x="610" y="160" width="40" height="40"/>
- <bpmndi:BPMNLabel>
- <dc:Bounds x="608" y="210" width="44" height="14"/>
- </bpmndi:BPMNLabel>
- </bpmndi:BPMNShape>
- <bpmndi:BPMNShape id="shape-23e3a536-95b4-48f3-8b5d-5b5beb996583" bpmnElement="task_approve">
- <dc:Bounds x="442" y="158" width="75" height="45"/>
- </bpmndi:BPMNShape>
- <bpmndi:BPMNShape id="shape-62562f65-3cd9-46ef-b11a-66c87c1a9ac4" bpmnElement="task_draft">
- <dc:Bounds x="277" y="158" width="65" height="45"/>
- </bpmndi:BPMNShape>
- <bpmndi:BPMNShape id="shape-d56e6ed8-8a0f-4c8c-8c61-7f06805e1768" bpmnElement="task_start">
- <dc:Bounds x="155" y="165" width="30" height="30"/>
- </bpmndi:BPMNShape>
- <bpmndi:BPMNEdge id="edge-78163569-1d98-463b-9b18-f9a7b0f46f20" bpmnElement="flow_passed">
- <di:waypoint x="650" y="180"/>
- <di:waypoint x="710.0" y="180.00002"/>
- <bpmndi:BPMNLabel>
- <dc:Bounds x="672" y="155" width="22" height="14"/>
- </bpmndi:BPMNLabel>
- </bpmndi:BPMNEdge>
- <bpmndi:BPMNEdge id="edge-04601516-5b54-4d21-be94-97190c40151a" bpmnElement="sid-4f16b97e-6ab9-4e9b-a3ca-bc9b6d1311af">
- <di:waypoint x="517" y="180"/>
- <di:waypoint x="610" y="180"/>
- </bpmndi:BPMNEdge>
- <bpmndi:BPMNEdge id="edge-49e7b028-34fa-4fcf-899b-69b68b9cc5af" bpmnElement="flow_reject">
- <di:waypoint x="630" y="160"/>
- <di:waypoint x="630" y="109"/>
- <di:waypoint x="310" y="109"/>
- <di:waypoint x="310" y="158"/>
- <bpmndi:BPMNLabel>
- <dc:Bounds x="459" y="84" width="22" height="14"/>
- </bpmndi:BPMNLabel>
- </bpmndi:BPMNEdge>
- <bpmndi:BPMNEdge id="Flow_07q4s39_di" bpmnElement="Flow_07q4s39">
- <di:waypoint x="342" y="181"/>
- <di:waypoint x="442" y="181"/>
- </bpmndi:BPMNEdge>
- <bpmndi:BPMNEdge id="edge-92e26a2b-1198-4fa3-ac89-1b1007198fa9" bpmnElement="sid-4f57050a-5a96-4e2f-80e6-8b8c860d809d">
- <di:waypoint x="185" y="180"/>
- <di:waypoint x="277" y="180"/>
- </bpmndi:BPMNEdge>
- <bpmndi:BPMNShape id="shape-5d045d3f-7e35-4d4d-a05f-274354be3f0f" bpmnElement="event_catch_withdraw">
- <dc:Bounds x="468.17575" y="189.18909" width="30.0" height="30.0"/>
- </bpmndi:BPMNShape>
- <bpmndi:BPMNEdge id="edge-675deaf0-748f-4a95-8268-67d2788b6237" bpmnElement="flow_approve_to_draft">
- <di:waypoint x="483.17575" y="219.1891"/>
- <di:waypoint x="483.17575" y="237.96956"/>
- <di:waypoint x="325.75003" y="237.96956"/>
- <di:waypoint x="325.75003" y="203.0"/>
- </bpmndi:BPMNEdge>
- <bpmndi:BPMNShape id="shape-ee73f57d-1a63-43f2-be25-3bc4558b1a3b" bpmnElement="task_withdraw">
- <dc:Bounds x="279.5" y="280.0" width="60.0" height="40.0"/>
- </bpmndi:BPMNShape>
- <bpmndi:BPMNEdge id="edge-ec503824-9a1b-43b1-80f1-cbe0fd13c3de" bpmnElement="sid-9b2eb87a-b8a6-4d80-8b1c-f61d6af8e40f">
- <di:waypoint x="309.5" y="203.0"/>
- <di:waypoint x="309.5" y="280.0"/>
- </bpmndi:BPMNEdge>
- <bpmndi:BPMNShape id="shape-9932da49-9233-47d7-940d-10ac443da6be" bpmnElement="event_throw_withdraw">
- <dc:Bounds x="385.0" y="285.0" width="30.0" height="30.0"/>
- </bpmndi:BPMNShape>
- <bpmndi:BPMNEdge id="edge-16dc6b49-6d4c-4e9b-be9e-d53e8d61bc51" bpmnElement="sid-c904365e-c922-4058-b9aa-525f648242b8">
- <di:waypoint x="339.5" y="300.0"/>
- <di:waypoint x="385.0" y="300.0"/>
- </bpmndi:BPMNEdge>
- <bpmndi:BPMNShape id="shape-38e0bc12-a37e-4362-a9c1-9ef4e8fed234" bpmnElement="task_completed">
- <dc:Bounds x="710.0" y="165.0" width="30.0" height="30.0"/>
- </bpmndi:BPMNShape>
- </bpmndi:BPMNPlane>
- </bpmndi:BPMNDiagram>
- </bpmn:definitions>
|