kehui/src/main/resources/processes/postDocumentWen.bpmn
2024-07-02 16:59:52 +08:00

126 lines
6.8 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:activiti="http://activiti.org/bpmn" 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:tns="http://www.activiti.org/testm1525406093092" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" expressionLanguage="http://www.w3.org/1999/XPath" id="m1525406093092" name="" targetNamespace="http://www.activiti.org/testm1525406093092" typeLanguage="http://www.w3.org/2001/XMLSchema">
<process id="postDocumentWen" isClosed="false" isExecutable="true" name="发文管理" processType="None">
<startEvent id="start" name="StartEvent"/>
<userTask activiti:assignee="${apply}" activiti:exclusive="true" id="apply" name="申请人"/>
<userTask activiti:assignee="${business}" activiti:exclusive="true" id="business" name="部门主任">
<multiInstanceLoopCharacteristics activiti:collection="businessList" activiti:elementVariable="business" isSequential="false"/>
</userTask>
<sequenceFlow id="_6" sourceRef="start" targetRef="apply"/>
<sequenceFlow id="_7" sourceRef="apply" targetRef="business"/>
<endEvent id="end" name="EndEvent">
<extensionElements>
<activiti:executionListener class="com.xqopen.kehui.flows.util.MyExecutionListener" event="end"/>
</extensionElements>
</endEvent>
<userTask activiti:exclusive="true" id="office" name="办公室主任">
<extensionElements>
<activiti:taskListener class="com.xqopen.kehui.flows.util.MyTaskListener" event="create"/>
</extensionElements>
</userTask>
<sequenceFlow id="_4" sourceRef="business" targetRef="office"/>
<userTask activiti:exclusive="true" id="branchLeader" name="分管领导">
<extensionElements>
<activiti:taskListener class="com.xqopen.kehui.flows.util.MyTaskListener" event="create"/>
</extensionElements>
</userTask>
<sequenceFlow id="_9" sourceRef="office" targetRef="branchLeader"/>
<userTask activiti:exclusive="true" id="director" name="所长">
<extensionElements>
<activiti:taskListener class="com.xqopen.kehui.flows.util.MyTaskListener" event="create"/>
</extensionElements>
</userTask>
<sequenceFlow id="_8" sourceRef="director" targetRef="end"/>
<sequenceFlow id="_2" sourceRef="branchLeader" targetRef="director"/>
</process>
<bpmndi:BPMNDiagram documentation="background=#3C3F41;count=1;horizontalcount=1;orientation=0;width=842.4;height=1195.2;imageableWidth=832.4;imageableHeight=1185.2;imageableX=5.0;imageableY=5.0" id="Diagram-_1" name="New Diagram">
<bpmndi:BPMNPlane bpmnElement="postDocumentWen">
<bpmndi:BPMNShape bpmnElement="start" id="Shape-start">
<dc:Bounds height="32.0" width="32.0" x="205.0" y="20.0"/>
<bpmndi:BPMNLabel>
<dc:Bounds height="32.0" width="32.0" x="0.0" y="0.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="apply" id="Shape-apply">
<dc:Bounds height="55.0" width="85.0" x="185.0" y="155.0"/>
<bpmndi:BPMNLabel>
<dc:Bounds height="55.0" width="85.0" x="0.0" y="0.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="business" id="Shape-business">
<dc:Bounds height="55.0" width="85.0" x="185.0" y="295.0"/>
<bpmndi:BPMNLabel>
<dc:Bounds height="55.0" width="85.0" x="0.0" y="0.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="end" id="Shape-end">
<dc:Bounds height="32.0" width="32.0" x="210.0" y="835.0"/>
<bpmndi:BPMNLabel>
<dc:Bounds height="32.0" width="32.0" x="0.0" y="0.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="office" id="Shape-office">
<dc:Bounds height="55.0" width="85.0" x="185.0" y="425.0"/>
<bpmndi:BPMNLabel>
<dc:Bounds height="55.0" width="85.0" x="0.0" y="0.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="branchLeader" id="Shape-branchLeader">
<dc:Bounds height="55.0" width="85.0" x="185.0" y="555.0"/>
<bpmndi:BPMNLabel>
<dc:Bounds height="55.0" width="85.0" x="0.0" y="0.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="director" id="Shape-director">
<dc:Bounds height="55.0" width="85.0" x="185.0" y="685.0"/>
<bpmndi:BPMNLabel>
<dc:Bounds height="55.0" width="85.0" x="0.0" y="0.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge bpmnElement="_2" id="BPMNEdge__2" sourceElement="branchLeader" targetElement="director">
<di:waypoint x="227.5" y="610.0"/>
<di:waypoint x="227.5" y="685.0"/>
<bpmndi:BPMNLabel>
<dc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="_4" id="BPMNEdge__4" sourceElement="business" targetElement="office">
<di:waypoint x="227.5" y="350.0"/>
<di:waypoint x="227.5" y="425.0"/>
<bpmndi:BPMNLabel>
<dc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="_6" id="BPMNEdge__6" sourceElement="start" targetElement="apply">
<di:waypoint x="221.0" y="52.0"/>
<di:waypoint x="221.0" y="155.0"/>
<bpmndi:BPMNLabel>
<dc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="_7" id="BPMNEdge__7" sourceElement="apply" targetElement="business">
<di:waypoint x="227.5" y="210.0"/>
<di:waypoint x="227.5" y="295.0"/>
<bpmndi:BPMNLabel>
<dc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="_8" id="BPMNEdge__8" sourceElement="director" targetElement="end">
<di:waypoint x="225.0" y="740.0"/>
<di:waypoint x="225.0" y="825.0"/>
<di:waypoint x="225.0" y="835.0312805773287"/>
<bpmndi:BPMNLabel>
<dc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="_9" id="BPMNEdge__9" sourceElement="office" targetElement="branchLeader">
<di:waypoint x="227.5" y="480.0"/>
<di:waypoint x="227.5" y="555.0"/>
<bpmndi:BPMNLabel>
<dc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</definitions>