Files
2026-01-16 14:13:44 +08:00

131 lines
8.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:xsd="http://www.w3.org/2001/XMLSchema" 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" typeLanguage="http://www.w3.org/2001/XMLSchema" expressionLanguage="http://www.w3.org/1999/XPath" targetNamespace="http://www.sipai.com">
<process id="leavesub" name="请假并发子流程" isExecutable="true">
<documentation>请假并发子流程</documentation>
<startEvent id="startevent1" name="Start" activiti:initiator="applyUserId"></startEvent>
<userTask id="deptLeaderAuditToSub" name="部门领导审批2" activiti:candidateGroups="deptLeader"></userTask>
<sequenceFlow id="flow1" sourceRef="startevent1" targetRef="deptLeaderAuditToSub"></sequenceFlow>
<exclusiveGateway id="exclusivegateway1" name="Exclusive Gateway"></exclusiveGateway>
<sequenceFlow id="flow2" sourceRef="deptLeaderAuditToSub" targetRef="exclusivegateway1"></sequenceFlow>
<endEvent id="endevent1" name="End"></endEvent>
<userTask id="modifyApply" name="调整申请2" activiti:assignee="${applyUserId}"></userTask>
<sequenceFlow id="flow5" name="不同意" sourceRef="exclusivegateway1" targetRef="modifyApply">
<conditionExpression xsi:type="tFormalExpression"><![CDATA[${!deptLeaderPass}]]></conditionExpression>
</sequenceFlow>
<exclusiveGateway id="exclusivegateway2" name="Exclusive Gateway"></exclusiveGateway>
<sequenceFlow id="flow6" sourceRef="modifyApply" targetRef="exclusivegateway2"></sequenceFlow>
<sequenceFlow id="flow7" name="取消申请" sourceRef="exclusivegateway2" targetRef="endevent1">
<conditionExpression xsi:type="tFormalExpression"><![CDATA[${!reApply}]]></conditionExpression>
</sequenceFlow>
<sequenceFlow id="flow8" name="重新申请" sourceRef="exclusivegateway2" targetRef="deptLeaderAuditToSub">
<conditionExpression xsi:type="tFormalExpression"><![CDATA[${reApply}]]></conditionExpression>
</sequenceFlow>
<subProcess id="subprocess1" name="hr审批流程">
<multiInstanceLoopCharacteristics isSequential="false" activiti:collection="CodeList" activiti:elementVariable="code">
<completionCondition>${nrOfCompletedInstances/nrOfInstances==1}</completionCondition>
</multiInstanceLoopCharacteristics>
<userTask id="hrAudit" name="hr审批2" activiti:candidateGroups="hr"></userTask>
<endEvent id="endevent2" name="End"></endEvent>
<startEvent id="startevent2" name="Start"></startEvent>
<sequenceFlow id="flow11" sourceRef="startevent2" targetRef="hrAudit"></sequenceFlow>
<sequenceFlow id="flow14" sourceRef="hrAudit" targetRef="endevent2"></sequenceFlow>
</subProcess>
<sequenceFlow id="flow12" sourceRef="exclusivegateway1" targetRef="subprocess1"></sequenceFlow>
<userTask id="SelfConfirm" name="个人最终确认" activiti:assignee="${applyUserId}"></userTask>
<sequenceFlow id="flow15" sourceRef="SelfConfirm" targetRef="endevent1"></sequenceFlow>
<sequenceFlow id="flow16" sourceRef="subprocess1" targetRef="SelfConfirm"></sequenceFlow>
</process>
<bpmndi:BPMNDiagram id="BPMNDiagram_leavesub">
<bpmndi:BPMNPlane bpmnElement="leavesub" id="BPMNPlane_leavesub">
<bpmndi:BPMNShape bpmnElement="startevent1" id="BPMNShape_startevent1">
<omgdc:Bounds height="35.0" width="35.0" x="25.0" y="65.0"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="deptLeaderAuditToSub" id="BPMNShape_deptLeaderAuditToSub">
<omgdc:Bounds height="55.0" width="105.0" x="105.0" y="55.0"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="exclusivegateway1" id="BPMNShape_exclusivegateway1">
<omgdc:Bounds height="40.0" width="40.0" x="255.0" y="63.0"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="endevent1" id="BPMNShape_endevent1">
<omgdc:Bounds height="35.0" width="35.0" x="910.0" y="65.0"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="modifyApply" id="BPMNShape_modifyApply">
<omgdc:Bounds height="55.0" width="105.0" x="223.0" y="180.0"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="exclusivegateway2" id="BPMNShape_exclusivegateway2">
<omgdc:Bounds height="40.0" width="40.0" x="255.0" y="310.0"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="subprocess1" id="BPMNShape_subprocess1">
<omgdc:Bounds height="137.0" width="290.0" x="371.0" y="15.0"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="hrAudit" id="BPMNShape_hrAudit">
<omgdc:Bounds height="55.0" width="105.0" x="466.0" y="57.0"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="endevent2" id="BPMNShape_endevent2">
<omgdc:Bounds height="35.0" width="35.0" x="590.0" y="67.0"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="startevent2" id="BPMNShape_startevent2">
<omgdc:Bounds height="35.0" width="35.0" x="400.0" y="67.0"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="SelfConfirm" id="BPMNShape_SelfConfirm">
<omgdc:Bounds height="55.0" width="105.0" x="730.0" y="56.0"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge bpmnElement="flow1" id="BPMNEdge_flow1">
<omgdi:waypoint x="60.0" y="82.0"></omgdi:waypoint>
<omgdi:waypoint x="105.0" y="82.0"></omgdi:waypoint>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="flow2" id="BPMNEdge_flow2">
<omgdi:waypoint x="210.0" y="82.0"></omgdi:waypoint>
<omgdi:waypoint x="255.0" y="83.0"></omgdi:waypoint>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="flow5" id="BPMNEdge_flow5">
<omgdi:waypoint x="275.0" y="103.0"></omgdi:waypoint>
<omgdi:waypoint x="275.0" y="180.0"></omgdi:waypoint>
<bpmndi:BPMNLabel>
<omgdc:Bounds height="14.0" width="36.0" x="284.0" y="114.0"></omgdc:Bounds>
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="flow6" id="BPMNEdge_flow6">
<omgdi:waypoint x="275.0" y="235.0"></omgdi:waypoint>
<omgdi:waypoint x="275.0" y="310.0"></omgdi:waypoint>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="flow7" id="BPMNEdge_flow7">
<omgdi:waypoint x="295.0" y="330.0"></omgdi:waypoint>
<omgdi:waypoint x="927.0" y="329.0"></omgdi:waypoint>
<omgdi:waypoint x="927.0" y="100.0"></omgdi:waypoint>
<bpmndi:BPMNLabel>
<omgdc:Bounds height="14.0" width="48.0" x="326.0" y="330.0"></omgdc:Bounds>
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="flow8" id="BPMNEdge_flow8">
<omgdi:waypoint x="255.0" y="330.0"></omgdi:waypoint>
<omgdi:waypoint x="154.0" y="330.0"></omgdi:waypoint>
<omgdi:waypoint x="154.0" y="269.0"></omgdi:waypoint>
<omgdi:waypoint x="157.0" y="110.0"></omgdi:waypoint>
<bpmndi:BPMNLabel>
<omgdc:Bounds height="14.0" width="48.0" x="173.0" y="331.0"></omgdc:Bounds>
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="flow11" id="BPMNEdge_flow11">
<omgdi:waypoint x="435.0" y="84.0"></omgdi:waypoint>
<omgdi:waypoint x="466.0" y="84.0"></omgdi:waypoint>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="flow14" id="BPMNEdge_flow14">
<omgdi:waypoint x="571.0" y="84.0"></omgdi:waypoint>
<omgdi:waypoint x="590.0" y="84.0"></omgdi:waypoint>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="flow12" id="BPMNEdge_flow12">
<omgdi:waypoint x="295.0" y="83.0"></omgdi:waypoint>
<omgdi:waypoint x="371.0" y="83.0"></omgdi:waypoint>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="flow15" id="BPMNEdge_flow15">
<omgdi:waypoint x="835.0" y="83.0"></omgdi:waypoint>
<omgdi:waypoint x="910.0" y="82.0"></omgdi:waypoint>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="flow16" id="BPMNEdge_flow16">
<omgdi:waypoint x="661.0" y="83.0"></omgdi:waypoint>
<omgdi:waypoint x="730.0" y="83.0"></omgdi:waypoint>
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</definitions>