139 lines
7.4 KiB
XML
139 lines
7.4 KiB
XML
<?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: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"
|
|
targetNamespace="http://com.sipai.activiti">
|
|
<process id="Administration_Leave" name="请假补假流程" isExecutable="true">
|
|
<documentation>请假补假流程</documentation>
|
|
<startEvent id="startevent1" name="Start" activiti:initiator="applyUserId"/>
|
|
|
|
<userTask id="sectionChiefAudit" name="科长/副科长审批" activiti:candidateUsers="#{userIds}">
|
|
<documentation>leave_apply_section_audit</documentation>
|
|
</userTask>
|
|
<exclusiveGateway id="gatewaySection" name="科长审批判断"/>
|
|
|
|
<userTask id="managerAudit" name="分管经理审批" activiti:candidateUsers="#{userIds}">
|
|
<documentation>leave_apply_manager_audit</documentation>
|
|
</userTask>
|
|
<exclusiveGateway id="gatewayManager" name="分管经理审批判断"/>
|
|
|
|
<userTask id="generalManagerAudit" name="总经理审批" activiti:candidateUsers="#{userIds}">
|
|
<documentation>leave_apply_general_manager_audit</documentation>
|
|
</userTask>
|
|
<exclusiveGateway id="gatewayGeneralManager" name="总经理审批判断"/>
|
|
|
|
<userTask id="modifyApply" name="退回修改" activiti:assignee="${applicantId}">
|
|
<documentation>leave_apply_handle</documentation>
|
|
</userTask>
|
|
|
|
<endEvent id="endevent1" name="End"/>
|
|
|
|
<sequenceFlow id="flow1" sourceRef="startevent1" targetRef="sectionChiefAudit"/>
|
|
<sequenceFlow id="flow2" sourceRef="sectionChiefAudit" targetRef="gatewaySection"/>
|
|
<sequenceFlow id="flow3" name="通过" sourceRef="gatewaySection" targetRef="managerAudit">
|
|
<conditionExpression xsi:type="tFormalExpression"><![CDATA[${pass && route==1}]]></conditionExpression>
|
|
</sequenceFlow>
|
|
<sequenceFlow id="flow4" name="驳回" sourceRef="gatewaySection" targetRef="modifyApply">
|
|
<conditionExpression xsi:type="tFormalExpression"><![CDATA[${!pass && route==0}]]></conditionExpression>
|
|
</sequenceFlow>
|
|
<sequenceFlow id="flow5" sourceRef="managerAudit" targetRef="gatewayManager"/>
|
|
<sequenceFlow id="flow6" name="通过" sourceRef="gatewayManager" targetRef="generalManagerAudit">
|
|
<conditionExpression xsi:type="tFormalExpression"><![CDATA[${pass && route==1}]]></conditionExpression>
|
|
</sequenceFlow>
|
|
<sequenceFlow id="flow7" name="驳回" sourceRef="gatewayManager" targetRef="modifyApply">
|
|
<conditionExpression xsi:type="tFormalExpression"><![CDATA[${!pass && route==0}]]></conditionExpression>
|
|
</sequenceFlow>
|
|
<sequenceFlow id="flow8" sourceRef="modifyApply" targetRef="sectionChiefAudit"/>
|
|
<sequenceFlow id="flow9" sourceRef="generalManagerAudit" targetRef="gatewayGeneralManager"/>
|
|
<sequenceFlow id="flow10" name="通过" sourceRef="gatewayGeneralManager" targetRef="endevent1">
|
|
<conditionExpression xsi:type="tFormalExpression"><![CDATA[${pass && route==1}]]></conditionExpression>
|
|
</sequenceFlow>
|
|
<sequenceFlow id="flow11" name="驳回" sourceRef="gatewayGeneralManager" targetRef="modifyApply">
|
|
<conditionExpression xsi:type="tFormalExpression"><![CDATA[${!pass && route==0}]]></conditionExpression>
|
|
</sequenceFlow>
|
|
</process>
|
|
|
|
<bpmndi:BPMNDiagram id="BPMNDiagram_Administration_Leave">
|
|
<bpmndi:BPMNPlane bpmnElement="Administration_Leave" id="BPMNPlane_Administration_Leave">
|
|
<bpmndi:BPMNShape bpmnElement="startevent1" id="BPMNShape_startevent1">
|
|
<omgdc:Bounds height="35.0" width="35.0" x="40.0" y="110.0"/>
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape bpmnElement="sectionChiefAudit" id="BPMNShape_sectionChiefAudit">
|
|
<omgdc:Bounds height="55.0" width="120.0" x="110.0" y="100.0"/>
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape bpmnElement="gatewaySection" id="BPMNShape_gatewaySection">
|
|
<omgdc:Bounds height="40.0" width="40.0" x="265.0" y="108.0"/>
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape bpmnElement="managerAudit" id="BPMNShape_managerAudit">
|
|
<omgdc:Bounds height="55.0" width="100.0" x="350.0" y="100.0"/>
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape bpmnElement="gatewayManager" id="BPMNShape_gatewayManager">
|
|
<omgdc:Bounds height="40.0" width="40.0" x="485.0" y="108.0"/>
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape bpmnElement="generalManagerAudit" id="BPMNShape_generalManagerAudit">
|
|
<omgdc:Bounds height="55.0" width="100.0" x="560.0" y="100.0"/>
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape bpmnElement="gatewayGeneralManager" id="BPMNShape_gatewayGeneralManager">
|
|
<omgdc:Bounds height="40.0" width="40.0" x="695.0" y="108.0"/>
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape bpmnElement="modifyApply" id="BPMNShape_modifyApply">
|
|
<omgdc:Bounds height="55.0" width="100.0" x="430.0" y="220.0"/>
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape bpmnElement="endevent1" id="BPMNShape_endevent1">
|
|
<omgdc:Bounds height="35.0" width="35.0" x="800.0" y="110.0"/>
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNEdge bpmnElement="flow1" id="BPMNEdge_flow1">
|
|
<omgdi:waypoint x="75.0" y="127.0"/>
|
|
<omgdi:waypoint x="110.0" y="127.0"/>
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge bpmnElement="flow2" id="BPMNEdge_flow2">
|
|
<omgdi:waypoint x="230.0" y="127.0"/>
|
|
<omgdi:waypoint x="265.0" y="128.0"/>
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge bpmnElement="flow3" id="BPMNEdge_flow3">
|
|
<omgdi:waypoint x="305.0" y="128.0"/>
|
|
<omgdi:waypoint x="350.0" y="127.0"/>
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge bpmnElement="flow4" id="BPMNEdge_flow4">
|
|
<omgdi:waypoint x="285.0" y="148.0"/>
|
|
<omgdi:waypoint x="285.0" y="247.0"/>
|
|
<omgdi:waypoint x="430.0" y="247.0"/>
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge bpmnElement="flow5" id="BPMNEdge_flow5">
|
|
<omgdi:waypoint x="450.0" y="127.0"/>
|
|
<omgdi:waypoint x="485.0" y="128.0"/>
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge bpmnElement="flow6" id="BPMNEdge_flow6">
|
|
<omgdi:waypoint x="525.0" y="128.0"/>
|
|
<omgdi:waypoint x="560.0" y="127.0"/>
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge bpmnElement="flow7" id="BPMNEdge_flow7">
|
|
<omgdi:waypoint x="505.0" y="148.0"/>
|
|
<omgdi:waypoint x="505.0" y="247.0"/>
|
|
<omgdi:waypoint x="530.0" y="247.0"/>
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge bpmnElement="flow8" id="BPMNEdge_flow8">
|
|
<omgdi:waypoint x="430.0" y="247.0"/>
|
|
<omgdi:waypoint x="170.0" y="247.0"/>
|
|
<omgdi:waypoint x="170.0" y="155.0"/>
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge bpmnElement="flow9" id="BPMNEdge_flow9">
|
|
<omgdi:waypoint x="660.0" y="127.0"/>
|
|
<omgdi:waypoint x="695.0" y="128.0"/>
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge bpmnElement="flow10" id="BPMNEdge_flow10">
|
|
<omgdi:waypoint x="735.0" y="128.0"/>
|
|
<omgdi:waypoint x="800.0" y="127.0"/>
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge bpmnElement="flow11" id="BPMNEdge_flow11">
|
|
<omgdi:waypoint x="715.0" y="148.0"/>
|
|
<omgdi:waypoint x="715.0" y="247.0"/>
|
|
<omgdi:waypoint x="530.0" y="247.0"/>
|
|
</bpmndi:BPMNEdge>
|
|
</bpmndi:BPMNPlane>
|
|
</bpmndi:BPMNDiagram>
|
|
</definitions>
|