123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225 |
- <?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:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI" xmlns:tns="http://www.activiti.org/test" 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="m1610247356111" name="" targetNamespace="http://www.activiti.org/test" typeLanguage="http://www.w3.org/2001/XMLSchema">
- <process id="apply_off_work" isClosed="false" isExecutable="true" name="请假申请" processType="None">
- <startEvent id="_2" name="发起申请"/>
- <endEvent id="_26" name="结束"/>
- <userTask activiti:candidateGroups="curr_user" activiti:exclusive="true" id="_34" name="申请人发起"/>
- <sequenceFlow id="_35" sourceRef="_2" targetRef="_34"/>
- <userTask activiti:assignee="${userId}" activiti:candidateGroups="dept_superior_1_0_1" activiti:exclusive="true" id="_3" name="直接上级审核"/>
- <sequenceFlow id="_4" name="申请" sourceRef="_34" targetRef="_3">
- <conditionExpression xsi:type="tFormalExpression">
- <![CDATA[${agree=='yes'}]]>
- </conditionExpression>
- </sequenceFlow>
- <userTask activiti:assignee="${userId}" activiti:candidateGroups="dept_head_1_0_1" activiti:exclusive="true" id="_5" name="部门负责人审核"/>
- <userTask activiti:assignee="${userId}" activiti:candidateGroups="flow_fgld_1_0_1" activiti:exclusive="true" id="_6" name="分管领导审核"/>
- <userTask activiti:assignee="${userId}" activiti:candidateGroups="flow_sjfgld_1_0_1" activiti:exclusive="true" id="_7" name="上级分管领导审核"/>
- <userTask activiti:assignee="${userId}" activiti:candidateGroups="flow_zyld_1_0_1" activiti:exclusive="true" id="_9" name="主要领导审核"/>
- <sequenceFlow id="_8" name="同意" sourceRef="_3" targetRef="_5">
- <conditionExpression xsi:type="tFormalExpression">
- <![CDATA[${agree=='yes'}]]>
- </conditionExpression>
- </sequenceFlow>
- <sequenceFlow id="_10" name="请假大于3天" sourceRef="_5" targetRef="_6">
- <conditionExpression xsi:type="tFormalExpression">
- <![CDATA[${(isExchangeOnly=='no') and (applyDay>3)}]]>
- </conditionExpression>
- </sequenceFlow>
- <sequenceFlow id="_11" name="同意" sourceRef="_6" targetRef="_7">
- <conditionExpression xsi:type="tFormalExpression">
- <![CDATA[${agree=='yes'}]]>
- </conditionExpression>
- </sequenceFlow>
- <sequenceFlow id="_12" name="同意" sourceRef="_7" targetRef="_9">
- <conditionExpression xsi:type="tFormalExpression">
- <![CDATA[${agree=='yes'}]]>
- </conditionExpression>
- </sequenceFlow>
- <sequenceFlow id="_13" name="同意" sourceRef="_9" targetRef="_26">
- <conditionExpression xsi:type="tFormalExpression">
- <![CDATA[${agree=='yes'}]]>
- </conditionExpression>
- </sequenceFlow>
- <sequenceFlow id="_14" name="不同意" sourceRef="_3" targetRef="_34">
- <conditionExpression xsi:type="tFormalExpression">
- <![CDATA[${agree=='no'}]]>
- </conditionExpression>
- </sequenceFlow>
- <sequenceFlow id="_15" name="不同意" sourceRef="_5" targetRef="_34">
- <conditionExpression xsi:type="tFormalExpression">
- <![CDATA[${agree=='no'}]]>
- </conditionExpression>
- </sequenceFlow>
- <sequenceFlow id="_16" name="不同意" sourceRef="_6" targetRef="_34">
- <conditionExpression xsi:type="tFormalExpression">
- <![CDATA[${agree=='no'}]]>
- </conditionExpression>
- </sequenceFlow>
- <sequenceFlow id="_17" name="不同意" sourceRef="_7" targetRef="_34">
- <conditionExpression xsi:type="tFormalExpression">
- <![CDATA[${agree=='no'}]]>
- </conditionExpression>
- </sequenceFlow>
- <sequenceFlow id="_19" name="不同意" sourceRef="_9" targetRef="_34">
- <conditionExpression xsi:type="tFormalExpression">
- <![CDATA[${agree=='no'}]]>
- </conditionExpression>
- </sequenceFlow>
- <sequenceFlow id="_20" name="只有调休或请假时间不大于3天" sourceRef="_5" targetRef="_26">
- <conditionExpression xsi:type="tFormalExpression">
- <![CDATA[${(isExchangeOnly=='yes') or (applyDay<=3)}]]>
- </conditionExpression>
- </sequenceFlow>
- </process>
- <bpmndi:BPMNDiagram documentation="background=#FFFFFF;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="apply_off_work">
- <bpmndi:BPMNShape bpmnElement="_2" id="Shape-_2">
- <omgdc:Bounds height="32.0" width="32.0" x="45.0" y="115.0"/>
- <bpmndi:BPMNLabel>
- <omgdc:Bounds height="32.0" width="32.0" x="0.0" y="0.0"/>
- </bpmndi:BPMNLabel>
- </bpmndi:BPMNShape>
- <bpmndi:BPMNShape bpmnElement="_26" id="Shape-_26">
- <omgdc:Bounds height="32.0" width="32.0" x="1180.0" y="510.0"/>
- <bpmndi:BPMNLabel>
- <omgdc:Bounds height="32.0" width="32.0" x="0.0" y="0.0"/>
- </bpmndi:BPMNLabel>
- </bpmndi:BPMNShape>
- <bpmndi:BPMNShape bpmnElement="_34" id="Shape-_34">
- <omgdc:Bounds height="55.0" width="85.0" x="135.0" y="245.0"/>
- <bpmndi:BPMNLabel>
- <omgdc:Bounds height="55.0" width="85.0" x="0.0" y="0.0"/>
- </bpmndi:BPMNLabel>
- </bpmndi:BPMNShape>
- <bpmndi:BPMNShape bpmnElement="_3" id="Shape-_3">
- <omgdc:Bounds height="55.0" width="85.0" x="330.0" y="245.0"/>
- <bpmndi:BPMNLabel>
- <omgdc:Bounds height="55.0" width="85.0" x="0.0" y="0.0"/>
- </bpmndi:BPMNLabel>
- </bpmndi:BPMNShape>
- <bpmndi:BPMNShape bpmnElement="_5" id="Shape-_5">
- <omgdc:Bounds height="55.0" width="95.0" x="520.0" y="245.0"/>
- <bpmndi:BPMNLabel>
- <omgdc:Bounds height="55.0" width="95.0" x="0.0" y="0.0"/>
- </bpmndi:BPMNLabel>
- </bpmndi:BPMNShape>
- <bpmndi:BPMNShape bpmnElement="_6" id="Shape-_6">
- <omgdc:Bounds height="55.0" width="100.0" x="730.0" y="245.0"/>
- <bpmndi:BPMNLabel>
- <omgdc:Bounds height="55.0" width="100.0" x="0.0" y="0.0"/>
- </bpmndi:BPMNLabel>
- </bpmndi:BPMNShape>
- <bpmndi:BPMNShape bpmnElement="_7" id="Shape-_7">
- <omgdc:Bounds height="55.0" width="110.0" x="930.0" y="245.0"/>
- <bpmndi:BPMNLabel>
- <omgdc:Bounds height="55.0" width="110.0" x="0.0" y="0.0"/>
- </bpmndi:BPMNLabel>
- </bpmndi:BPMNShape>
- <bpmndi:BPMNShape bpmnElement="_9" id="Shape-_9">
- <omgdc:Bounds height="55.0" width="110.0" x="1140.0" y="245.0"/>
- <bpmndi:BPMNLabel>
- <omgdc:Bounds height="55.0" width="110.0" x="0.0" y="0.0"/>
- </bpmndi:BPMNLabel>
- </bpmndi:BPMNShape>
- <bpmndi:BPMNEdge bpmnElement="_35" id="BPMNEdge__35" sourceElement="_2" targetElement="_34">
- <omgdi:waypoint x="63.0" y="146.87450786638755"/>
- <omgdi:waypoint x="63.0" y="219.0"/>
- <omgdi:waypoint x="135.0" y="272.5"/>
- <bpmndi:BPMNLabel>
- <omgdc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
- </bpmndi:BPMNLabel>
- </bpmndi:BPMNEdge>
- <bpmndi:BPMNEdge bpmnElement="_13" id="BPMNEdge__13" sourceElement="_9" targetElement="_26">
- <omgdi:waypoint x="1196.0" y="315.0"/>
- <omgdi:waypoint x="1196.0" y="510.0"/>
- <bpmndi:BPMNLabel>
- <omgdc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
- </bpmndi:BPMNLabel>
- </bpmndi:BPMNEdge>
- <bpmndi:BPMNEdge bpmnElement="_12" id="BPMNEdge__12" sourceElement="_7" targetElement="_9">
- <omgdi:waypoint x="1055.0" y="272.5"/>
- <omgdi:waypoint x="1140.0" y="272.5"/>
- <bpmndi:BPMNLabel>
- <omgdc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
- </bpmndi:BPMNLabel>
- </bpmndi:BPMNEdge>
- <bpmndi:BPMNEdge bpmnElement="_15" id="BPMNEdge__15" sourceElement="_5" targetElement="_34">
- <omgdi:waypoint x="567.5" y="230.0"/>
- <omgdi:waypoint x="375.0" y="195.0"/>
- <omgdi:waypoint x="177.5" y="245.0"/>
- <bpmndi:BPMNLabel>
- <omgdc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
- </bpmndi:BPMNLabel>
- </bpmndi:BPMNEdge>
- <bpmndi:BPMNEdge bpmnElement="_14" id="BPMNEdge__14" sourceElement="_3" targetElement="_34">
- <omgdi:waypoint x="372.5" y="230.0"/>
- <omgdi:waypoint x="285.0" y="225.0"/>
- <omgdi:waypoint x="177.5" y="245.0"/>
- <bpmndi:BPMNLabel>
- <omgdc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
- </bpmndi:BPMNLabel>
- </bpmndi:BPMNEdge>
- <bpmndi:BPMNEdge bpmnElement="_17" id="BPMNEdge__17" sourceElement="_7" targetElement="_34">
- <omgdi:waypoint x="985.0" y="230.0"/>
- <omgdi:waypoint x="600.0" y="135.0"/>
- <omgdi:waypoint x="177.5" y="245.0"/>
- <bpmndi:BPMNLabel>
- <omgdc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
- </bpmndi:BPMNLabel>
- </bpmndi:BPMNEdge>
- <bpmndi:BPMNEdge bpmnElement="_16" id="BPMNEdge__16" sourceElement="_6" targetElement="_34">
- <omgdi:waypoint x="780.0" y="230.0"/>
- <omgdi:waypoint x="475.0" y="165.0"/>
- <omgdi:waypoint x="177.5" y="245.0"/>
- <bpmndi:BPMNLabel>
- <omgdc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
- </bpmndi:BPMNLabel>
- </bpmndi:BPMNEdge>
- <bpmndi:BPMNEdge bpmnElement="_19" id="BPMNEdge__19" sourceElement="_9" targetElement="_34">
- <omgdi:waypoint x="1195.0" y="230.0"/>
- <omgdi:waypoint x="675.0" y="105.0"/>
- <omgdi:waypoint x="177.5" y="245.0"/>
- <bpmndi:BPMNLabel>
- <omgdc: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="_34" targetElement="_3">
- <omgdi:waypoint x="235.0" y="272.5"/>
- <omgdi:waypoint x="330.0" y="272.5"/>
- <bpmndi:BPMNLabel>
- <omgdc: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="_3" targetElement="_5">
- <omgdi:waypoint x="430.0" y="272.5"/>
- <omgdi:waypoint x="520.0" y="272.5"/>
- <bpmndi:BPMNLabel>
- <omgdc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
- </bpmndi:BPMNLabel>
- </bpmndi:BPMNEdge>
- <bpmndi:BPMNEdge bpmnElement="_20" id="BPMNEdge__20" sourceElement="_5" targetElement="_26">
- <omgdi:waypoint x="570.0" y="315.0"/>
- <omgdi:waypoint x="570.0" y="400.0"/>
- <omgdi:waypoint x="1180.0" y="526.0"/>
- <bpmndi:BPMNLabel>
- <omgdc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
- </bpmndi:BPMNLabel>
- </bpmndi:BPMNEdge>
- <bpmndi:BPMNEdge bpmnElement="_11" id="BPMNEdge__11" sourceElement="_6" targetElement="_7">
- <omgdi:waypoint x="845.0" y="272.5"/>
- <omgdi:waypoint x="930.0" y="272.5"/>
- <bpmndi:BPMNLabel>
- <omgdc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
- </bpmndi:BPMNLabel>
- </bpmndi:BPMNEdge>
- <bpmndi:BPMNEdge bpmnElement="_10" id="BPMNEdge__10" sourceElement="_5" targetElement="_6">
- <omgdi:waypoint x="630.0" y="272.5"/>
- <omgdi:waypoint x="730.0" y="272.5"/>
- <bpmndi:BPMNLabel>
- <omgdc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
- </bpmndi:BPMNLabel>
- </bpmndi:BPMNEdge>
- </bpmndi:BPMNPlane>
- </bpmndi:BPMNDiagram>
- </definitions>
|