first commit

This commit is contained in:
2026-01-16 14:13:44 +08:00
commit 903ff8d495
34603 changed files with 8585054 additions and 0 deletions

View File

@ -0,0 +1,158 @@
<?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://com.sipai.activiti">
<process id="System_Maintenance" name="运维流程" isExecutable="true">
<documentation>运维流程</documentation>
<startEvent id="startevent1" name="Start" activiti:initiator="applyUserId"></startEvent>
<userTask id="ApplicantSubmit" name="负责人审核发布" activiti:assignee="${applicantId}" activiti:candidateUsers="#{userIds}"></userTask>
<exclusiveGateway id="exclusivegateway5" name="Exclusive Gateway"></exclusiveGateway>
<userTask id="MaintainerConfirm" name="运维商接单确认" activiti:candidateUsers="#{userIds}"></userTask>
<endEvent id="endevent1" name="End"></endEvent>
<sequenceFlow id="flow3" sourceRef="ApplicantSubmit" targetRef="exclusivegateway5"></sequenceFlow>
<userTask id="LaunchProblem" name="问题调整" activiti:assignee="${applyUserId}"></userTask>
<sequenceFlow id="flow14" sourceRef="LaunchProblem" targetRef="ApplicantSubmit"></sequenceFlow>
<userTask id="MaintainerSubmit" name="运维商执行" activiti:assignee="${managerId}" activiti:candidateUsers="#{userIds}"></userTask>
<userTask id="ApplicantFinish" name="负责人完成确认" activiti:assignee="${applicantId}"></userTask>
<sequenceFlow id="flow22" name="同意" sourceRef="exclusivegateway5" targetRef="MaintainerConfirm">
<conditionExpression xsi:type="tFormalExpression"><![CDATA[${target==1}]]></conditionExpression>
</sequenceFlow>
<sequenceFlow id="flow23" sourceRef="startevent1" targetRef="ApplicantSubmit"></sequenceFlow>
<sequenceFlow id="flow25" name="驳回" sourceRef="exclusivegateway5" targetRef="LaunchProblem">
<conditionExpression xsi:type="tFormalExpression"><![CDATA[${target==0}]]></conditionExpression>
</sequenceFlow>
<exclusiveGateway id="exclusivegateway7" name="Exclusive Gateway"></exclusiveGateway>
<sequenceFlow id="flow26" name="退回" sourceRef="exclusivegateway7" targetRef="ApplicantSubmit">
<conditionExpression xsi:type="tFormalExpression"><![CDATA[${!pass}]]></conditionExpression>
</sequenceFlow>
<sequenceFlow id="flow27" sourceRef="MaintainerSubmit" targetRef="exclusivegateway7"></sequenceFlow>
<sequenceFlow id="flow28" name="完成提交" sourceRef="exclusivegateway7" targetRef="ApplicantFinish">
<conditionExpression xsi:type="tFormalExpression"><![CDATA[${pass}]]></conditionExpression>
</sequenceFlow>
<sequenceFlow id="flow29" sourceRef="MaintainerConfirm" targetRef="MaintainerSubmit"></sequenceFlow>
<exclusiveGateway id="exclusivegateway8" name="Exclusive Gateway"></exclusiveGateway>
<sequenceFlow id="flow30" sourceRef="ApplicantFinish" targetRef="exclusivegateway8"></sequenceFlow>
<sequenceFlow id="flow31" name="退回" sourceRef="exclusivegateway8" targetRef="MaintainerSubmit">
<conditionExpression xsi:type="tFormalExpression"><![CDATA[${!pass}]]></conditionExpression>
</sequenceFlow>
<sequenceFlow id="flow32" name="确认完成" sourceRef="exclusivegateway8" targetRef="endevent1">
<conditionExpression xsi:type="tFormalExpression"><![CDATA[${pass}]]></conditionExpression>
</sequenceFlow>
<endEvent id="endevent2" name="End"></endEvent>
<sequenceFlow id="flow33" name="作废" sourceRef="exclusivegateway5" targetRef="endevent2">
<conditionExpression xsi:type="tFormalExpression"><![CDATA[${target==-1}]]></conditionExpression>
</sequenceFlow>
</process>
<bpmndi:BPMNDiagram id="BPMNDiagram_System_Maintenance">
<bpmndi:BPMNPlane bpmnElement="System_Maintenance" id="BPMNPlane_System_Maintenance">
<bpmndi:BPMNShape bpmnElement="startevent1" id="BPMNShape_startevent1">
<omgdc:Bounds height="35.0" width="35.0" x="50.0" y="140.0"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="ApplicantSubmit" id="BPMNShape_ApplicantSubmit">
<omgdc:Bounds height="55.0" width="105.0" x="120.0" y="130.0"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="exclusivegateway5" id="BPMNShape_exclusivegateway5">
<omgdc:Bounds height="40.0" width="40.0" x="261.0" y="137.0"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="MaintainerConfirm" id="BPMNShape_MaintainerConfirm">
<omgdc:Bounds height="55.0" width="105.0" x="350.0" y="130.0"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="endevent1" id="BPMNShape_endevent1">
<omgdc:Bounds height="35.0" width="35.0" x="432.0" y="247.0"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="LaunchProblem" id="BPMNShape_LaunchProblem">
<omgdc:Bounds height="55.0" width="105.0" x="229.0" y="237.0"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="MaintainerSubmit" id="BPMNShape_MaintainerSubmit">
<omgdc:Bounds height="55.0" width="105.0" x="490.0" y="130.0"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="ApplicantFinish" id="BPMNShape_ApplicantFinish">
<omgdc:Bounds height="55.0" width="105.0" x="594.0" y="237.0"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="exclusivegateway7" id="BPMNShape_exclusivegateway7">
<omgdc:Bounds height="40.0" width="40.0" x="626.0" y="137.0"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="exclusivegateway8" id="BPMNShape_exclusivegateway8">
<omgdc:Bounds height="40.0" width="40.0" x="522.0" y="244.0"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="endevent2" id="BPMNShape_endevent2">
<omgdc:Bounds height="35.0" width="35.0" x="264.0" y="60.0"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge bpmnElement="flow3" id="BPMNEdge_flow3">
<omgdi:waypoint x="225.0" y="157.0"></omgdi:waypoint>
<omgdi:waypoint x="261.0" y="157.0"></omgdi:waypoint>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="flow14" id="BPMNEdge_flow14">
<omgdi:waypoint x="229.0" y="264.0"></omgdi:waypoint>
<omgdi:waypoint x="172.0" y="264.0"></omgdi:waypoint>
<omgdi:waypoint x="172.0" y="185.0"></omgdi:waypoint>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="flow22" id="BPMNEdge_flow22">
<omgdi:waypoint x="301.0" y="157.0"></omgdi:waypoint>
<omgdi:waypoint x="350.0" y="157.0"></omgdi:waypoint>
<bpmndi:BPMNLabel>
<omgdc:Bounds height="14.0" width="100.0" x="309.0" y="140.0"></omgdc:Bounds>
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="flow23" id="BPMNEdge_flow23">
<omgdi:waypoint x="85.0" y="157.0"></omgdi:waypoint>
<omgdi:waypoint x="120.0" y="157.0"></omgdi:waypoint>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="flow25" id="BPMNEdge_flow25">
<omgdi:waypoint x="281.0" y="177.0"></omgdi:waypoint>
<omgdi:waypoint x="281.0" y="237.0"></omgdi:waypoint>
<bpmndi:BPMNLabel>
<omgdc:Bounds height="14.0" width="100.0" x="287.0" y="190.0"></omgdc:Bounds>
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="flow26" id="BPMNEdge_flow26">
<omgdi:waypoint x="646.0" y="137.0"></omgdi:waypoint>
<omgdi:waypoint x="646.0" y="45.0"></omgdi:waypoint>
<omgdi:waypoint x="409.0" y="45.0"></omgdi:waypoint>
<omgdi:waypoint x="172.0" y="45.0"></omgdi:waypoint>
<omgdi:waypoint x="172.0" y="130.0"></omgdi:waypoint>
<bpmndi:BPMNLabel>
<omgdc:Bounds height="14.0" width="24.0" x="650.0" y="111.0"></omgdc:Bounds>
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="flow27" id="BPMNEdge_flow27">
<omgdi:waypoint x="595.0" y="157.0"></omgdi:waypoint>
<omgdi:waypoint x="626.0" y="157.0"></omgdi:waypoint>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="flow28" id="BPMNEdge_flow28">
<omgdi:waypoint x="646.0" y="177.0"></omgdi:waypoint>
<omgdi:waypoint x="646.0" y="237.0"></omgdi:waypoint>
<bpmndi:BPMNLabel>
<omgdc:Bounds height="14.0" width="48.0" x="656.0" y="177.0"></omgdc:Bounds>
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="flow29" id="BPMNEdge_flow29">
<omgdi:waypoint x="455.0" y="157.0"></omgdi:waypoint>
<omgdi:waypoint x="490.0" y="157.0"></omgdi:waypoint>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="flow30" id="BPMNEdge_flow30">
<omgdi:waypoint x="594.0" y="264.0"></omgdi:waypoint>
<omgdi:waypoint x="562.0" y="264.0"></omgdi:waypoint>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="flow31" id="BPMNEdge_flow31">
<omgdi:waypoint x="542.0" y="244.0"></omgdi:waypoint>
<omgdi:waypoint x="542.0" y="185.0"></omgdi:waypoint>
<bpmndi:BPMNLabel>
<omgdc:Bounds height="14.0" width="24.0" x="507.0" y="211.0"></omgdc:Bounds>
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="flow32" id="BPMNEdge_flow32">
<omgdi:waypoint x="522.0" y="264.0"></omgdi:waypoint>
<omgdi:waypoint x="467.0" y="264.0"></omgdi:waypoint>
<bpmndi:BPMNLabel>
<omgdc:Bounds height="14.0" width="48.0" x="471.0" y="271.0"></omgdc:Bounds>
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="flow33" id="BPMNEdge_flow33">
<omgdi:waypoint x="281.0" y="137.0"></omgdi:waypoint>
<omgdi:waypoint x="281.0" y="95.0"></omgdi:waypoint>
<bpmndi:BPMNLabel>
<omgdc:Bounds height="14.0" width="100.0" x="287.0" y="111.0"></omgdc:Bounds>
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</definitions>

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

View File

@ -0,0 +1,32 @@
<?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.activiti.org/test">
<process id="leavehraudit" name="leavehraudit" isExecutable="true">
<documentation>hr审批子流程</documentation>
<startEvent id="startevent1" name="Start" activiti:initiator="applyUserId"></startEvent>
<userTask id="hrAuditCA" name="hr审批-CallActivity" activiti:candidateGroups="hr"></userTask>
<endEvent id="endevent1" name="End"></endEvent>
<sequenceFlow id="flow4" sourceRef="hrAuditCA" targetRef="endevent1"></sequenceFlow>
<sequenceFlow id="flow5" sourceRef="startevent1" targetRef="hrAuditCA"></sequenceFlow>
</process>
<bpmndi:BPMNDiagram id="BPMNDiagram_leavehraudit">
<bpmndi:BPMNPlane bpmnElement="leavehraudit" id="BPMNPlane_leavehraudit">
<bpmndi:BPMNShape bpmnElement="startevent1" id="BPMNShape_startevent1">
<omgdc:Bounds height="35.0" width="35.0" x="80.0" y="61.0"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="hrAuditCA" id="BPMNShape_hrAuditCA">
<omgdc:Bounds height="55.0" width="105.0" x="200.0" y="51.0"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="endevent1" id="BPMNShape_endevent1">
<omgdc:Bounds height="35.0" width="35.0" x="350.0" y="61.0"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge bpmnElement="flow4" id="BPMNEdge_flow4">
<omgdi:waypoint x="305.0" y="78.0"></omgdi:waypoint>
<omgdi:waypoint x="350.0" y="78.0"></omgdi:waypoint>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="flow5" id="BPMNEdge_flow5">
<omgdi:waypoint x="115.0" y="78.0"></omgdi:waypoint>
<omgdi:waypoint x="200.0" y="78.0"></omgdi:waypoint>
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</definitions>

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

View File

@ -0,0 +1,110 @@
<?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-callactivity" name="并发子流程+callactivity" isExecutable="true">
<documentation>请假并发子流程+callactivity</documentation>
<startEvent id="startevent1" name="Start" activiti:initiator="applyUserId"></startEvent>
<userTask id="deptLeaderAuditToCA" name="部门领导审批2" activiti:candidateGroups="deptLeader"></userTask>
<sequenceFlow id="flow1" sourceRef="startevent1" targetRef="deptLeaderAuditToCA"></sequenceFlow>
<exclusiveGateway id="exclusivegateway1" name="Exclusive Gateway"></exclusiveGateway>
<sequenceFlow id="flow2" sourceRef="deptLeaderAuditToCA" 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="deptLeaderAuditToCA">
<conditionExpression xsi:type="tFormalExpression"><![CDATA[${reApply}]]></conditionExpression>
</sequenceFlow>
<userTask id="SelfConfirm" name="个人最终确认" activiti:assignee="${applyUserId}"></userTask>
<sequenceFlow id="flow15" sourceRef="SelfConfirm" targetRef="endevent1"></sequenceFlow>
<callActivity id="callActivityHR" name="HR审批" calledElement="leavehraudit">
<extensionElements>
<activiti:in source="leaveId" target="businessKey"></activiti:in>
<activiti:out source="advice" target="advice"></activiti:out>
</extensionElements>
</callActivity>
<sequenceFlow id="flow16" sourceRef="exclusivegateway1" targetRef="callActivityHR"></sequenceFlow>
<sequenceFlow id="flow17" sourceRef="callActivityHR" targetRef="SelfConfirm"></sequenceFlow>
</process>
<bpmndi:BPMNDiagram id="BPMNDiagram_leavesub-callactivity">
<bpmndi:BPMNPlane bpmnElement="leavesub-callactivity" id="BPMNPlane_leavesub-callactivity">
<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="deptLeaderAuditToCA" id="BPMNShape_deptLeaderAuditToCA">
<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="710.0" y="66.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="SelfConfirm" id="BPMNShape_SelfConfirm">
<omgdc:Bounds height="55.0" width="105.0" x="570.0" y="55.0"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="callActivityHR" id="BPMNShape_callActivityHR">
<omgdc:Bounds height="55.0" width="131.0" x="374.0" y="55.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="727.0" y="329.0"></omgdi:waypoint>
<omgdi:waypoint x="727.0" y="101.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="flow15" id="BPMNEdge_flow15">
<omgdi:waypoint x="675.0" y="82.0"></omgdi:waypoint>
<omgdi:waypoint x="710.0" y="83.0"></omgdi:waypoint>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="flow16" id="BPMNEdge_flow16">
<omgdi:waypoint x="295.0" y="83.0"></omgdi:waypoint>
<omgdi:waypoint x="374.0" y="82.0"></omgdi:waypoint>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="flow17" id="BPMNEdge_flow17">
<omgdi:waypoint x="505.0" y="82.0"></omgdi:waypoint>
<omgdi:waypoint x="570.0" y="82.0"></omgdi:waypoint>
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</definitions>

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@ -0,0 +1,131 @@
<?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>

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View File

@ -0,0 +1,100 @@
<?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.activiti.org/test">
<process id="leavew" name="自定义请假" isExecutable="true">
<documentation>自己定义的请假案例</documentation>
<startEvent id="startevent1" name="Start" activiti:initiator="applyUserId"></startEvent>
<userTask id="deptLeaderAudit" name="部门领导审批2" activiti:candidateGroups="deptLeader"></userTask>
<sequenceFlow id="flow1" sourceRef="startevent1" targetRef="deptLeaderAudit"></sequenceFlow>
<exclusiveGateway id="exclusivegateway1" name="Exclusive Gateway"></exclusiveGateway>
<sequenceFlow id="flow2" sourceRef="deptLeaderAudit" targetRef="exclusivegateway1"></sequenceFlow>
<userTask id="hrAudit" name="hr审批2" activiti:candidateGroups="hr"></userTask>
<sequenceFlow id="flow3" name="同意" sourceRef="exclusivegateway1" targetRef="hrAudit">
<conditionExpression xsi:type="tFormalExpression"><![CDATA[${deptLeaderPass}]]></conditionExpression>
</sequenceFlow>
<endEvent id="endevent1" name="End"></endEvent>
<sequenceFlow id="flow4" sourceRef="hrAudit" targetRef="endevent1"></sequenceFlow>
<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="deptLeaderAudit">
<conditionExpression xsi:type="tFormalExpression"><![CDATA[${reApply}]]></conditionExpression>
</sequenceFlow>
</process>
<bpmndi:BPMNDiagram id="BPMNDiagram_leavew">
<bpmndi:BPMNPlane bpmnElement="leavew" id="BPMNPlane_leavew">
<bpmndi:BPMNShape bpmnElement="startevent1" id="BPMNShape_startevent1">
<omgdc:Bounds height="35.0" width="35.0" x="22.0" y="60.0"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="deptLeaderAudit" id="BPMNShape_deptLeaderAudit">
<omgdc:Bounds height="55.0" width="105.0" x="102.0" y="50.0"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="exclusivegateway1" id="BPMNShape_exclusivegateway1">
<omgdc:Bounds height="40.0" width="40.0" x="252.0" y="58.0"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="hrAudit" id="BPMNShape_hrAudit">
<omgdc:Bounds height="55.0" width="105.0" x="337.0" y="51.0"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="endevent1" id="BPMNShape_endevent1">
<omgdc:Bounds height="35.0" width="35.0" x="487.0" y="61.0"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="modifyApply" id="BPMNShape_modifyApply">
<omgdc:Bounds height="55.0" width="105.0" x="220.0" y="150.0"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="exclusivegateway2" id="BPMNShape_exclusivegateway2">
<omgdc:Bounds height="40.0" width="40.0" x="252.0" y="250.0"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge bpmnElement="flow1" id="BPMNEdge_flow1">
<omgdi:waypoint x="57.0" y="77.0"></omgdi:waypoint>
<omgdi:waypoint x="102.0" y="77.0"></omgdi:waypoint>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="flow2" id="BPMNEdge_flow2">
<omgdi:waypoint x="207.0" y="77.0"></omgdi:waypoint>
<omgdi:waypoint x="252.0" y="78.0"></omgdi:waypoint>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="flow3" id="BPMNEdge_flow3">
<omgdi:waypoint x="292.0" y="78.0"></omgdi:waypoint>
<omgdi:waypoint x="337.0" y="78.0"></omgdi:waypoint>
<bpmndi:BPMNLabel>
<omgdc:Bounds height="14.0" width="24.0" x="291.0" y="58.0"></omgdc:Bounds>
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="flow4" id="BPMNEdge_flow4">
<omgdi:waypoint x="442.0" y="78.0"></omgdi:waypoint>
<omgdi:waypoint x="487.0" y="78.0"></omgdi:waypoint>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="flow5" id="BPMNEdge_flow5">
<omgdi:waypoint x="272.0" y="98.0"></omgdi:waypoint>
<omgdi:waypoint x="272.0" y="150.0"></omgdi:waypoint>
<bpmndi:BPMNLabel>
<omgdc:Bounds height="14.0" width="36.0" x="281.0" y="109.0"></omgdc:Bounds>
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="flow6" id="BPMNEdge_flow6">
<omgdi:waypoint x="272.0" y="205.0"></omgdi:waypoint>
<omgdi:waypoint x="272.0" y="250.0"></omgdi:waypoint>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="flow7" id="BPMNEdge_flow7">
<omgdi:waypoint x="292.0" y="270.0"></omgdi:waypoint>
<omgdi:waypoint x="504.0" y="270.0"></omgdi:waypoint>
<omgdi:waypoint x="504.0" y="96.0"></omgdi:waypoint>
<bpmndi:BPMNLabel>
<omgdc:Bounds height="14.0" width="100.0" x="323.0" y="270.0"></omgdc:Bounds>
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="flow8" id="BPMNEdge_flow8">
<omgdi:waypoint x="252.0" y="270.0"></omgdi:waypoint>
<omgdi:waypoint x="154.0" y="269.0"></omgdi:waypoint>
<omgdi:waypoint x="154.0" y="105.0"></omgdi:waypoint>
<bpmndi:BPMNLabel>
<omgdc:Bounds height="14.0" width="48.0" x="170.0" y="271.0"></omgdc:Bounds>
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</definitions>

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB