parent
0ffa1863c6
commit
978d67737c
@ -0,0 +1,128 @@
|
|||||||
|
<?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" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.kafeitu.me/activiti/leave">
|
||||||
|
<process id="leave" name="请假流程-普通表单" isExecutable="true">
|
||||||
|
<documentation>请假流程演示</documentation>
|
||||||
|
<startEvent id="startevent1" name="Start" />
|
||||||
|
<userTask id="deptLeaderVerify" name="部门领导审批" activiti:formKey="deptLeaderVerify" activiti:candidateUsers="${deptLeader}">
|
||||||
|
<extensionElements>
|
||||||
|
<activiti:formProperty id="FormProperty_3qipis2--__!!radio--__!!审批意见--__!!i--__!!同意--__--不同意" type="string" />
|
||||||
|
<activiti:formProperty id="FormProperty_0lffpcm--__!!textarea--__!!批注--__!!f__!!null" type="string" />
|
||||||
|
</extensionElements>
|
||||||
|
</userTask>
|
||||||
|
<exclusiveGateway id="exclusivegateway5">
|
||||||
|
<outgoing>Flow_0q3bbjl</outgoing>
|
||||||
|
</exclusiveGateway>
|
||||||
|
<userTask id="hrVerify" name="人事审批" activiti:formKey="hrVerify" activiti:candidateGroups="hr">
|
||||||
|
<extensionElements>
|
||||||
|
<activiti:formProperty id="FormProperty_23u95jb--__!!radio--__!!审批意见--__!!i--__!!同意--__--不同意" type="string" />
|
||||||
|
<activiti:formProperty id="FormProperty_3t7tfkv--__!!textarea--__!!批注--__!!f--__!!null" type="string" />
|
||||||
|
</extensionElements>
|
||||||
|
</userTask>
|
||||||
|
<exclusiveGateway id="exclusivegateway6">
|
||||||
|
<outgoing>Flow_0p85954</outgoing>
|
||||||
|
<outgoing>Flow_0ji7qcv</outgoing>
|
||||||
|
</exclusiveGateway>
|
||||||
|
<endEvent id="endevent1" name="End">
|
||||||
|
<incoming>Flow_0p85954</incoming>
|
||||||
|
<incoming>Flow_0ji7qcv</incoming>
|
||||||
|
<incoming>Flow_0q3bbjl</incoming>
|
||||||
|
</endEvent>
|
||||||
|
<sequenceFlow id="flow2" sourceRef="startevent1" targetRef="deptLeaderVerify" />
|
||||||
|
<sequenceFlow id="flow3" sourceRef="deptLeaderVerify" targetRef="exclusivegateway5" />
|
||||||
|
<sequenceFlow id="flow5" name="同意" sourceRef="exclusivegateway5" targetRef="hrVerify">
|
||||||
|
<conditionExpression xsi:type="tFormalExpression">${FormProperty_3qipis2==0}</conditionExpression>
|
||||||
|
</sequenceFlow>
|
||||||
|
<sequenceFlow id="flow6" sourceRef="hrVerify" targetRef="exclusivegateway6" />
|
||||||
|
<sequenceFlow id="Flow_0p85954" sourceRef="exclusivegateway6" targetRef="endevent1">
|
||||||
|
<extensionElements>
|
||||||
|
<activiti:executionListener class="com.xjs.workflow.leave.instener.LeaveEndStateListener" event="take">
|
||||||
|
<activiti:field name="state">
|
||||||
|
<activiti:string>1</activiti:string>
|
||||||
|
</activiti:field>
|
||||||
|
</activiti:executionListener>
|
||||||
|
</extensionElements>
|
||||||
|
<conditionExpression xsi:type="tFormalExpression">${FormProperty_23u95jb==0}</conditionExpression>
|
||||||
|
</sequenceFlow>
|
||||||
|
<sequenceFlow id="Flow_0ji7qcv" sourceRef="exclusivegateway6" targetRef="endevent1">
|
||||||
|
<extensionElements>
|
||||||
|
<activiti:executionListener class="com.xjs.workflow.leave.instener.LeaveEndStateListener" event="take">
|
||||||
|
<activiti:field name="state">
|
||||||
|
<activiti:string>2</activiti:string>
|
||||||
|
</activiti:field>
|
||||||
|
</activiti:executionListener>
|
||||||
|
</extensionElements>
|
||||||
|
</sequenceFlow>
|
||||||
|
<sequenceFlow id="Flow_0q3bbjl" sourceRef="exclusivegateway5" targetRef="endevent1">
|
||||||
|
<extensionElements>
|
||||||
|
<activiti:executionListener class="com.xjs.workflow.leave.instener.LeaveEndStateListener" event="take">
|
||||||
|
<activiti:field name="state">
|
||||||
|
<activiti:string>2</activiti:string>
|
||||||
|
</activiti:field>
|
||||||
|
</activiti:executionListener>
|
||||||
|
</extensionElements>
|
||||||
|
</sequenceFlow>
|
||||||
|
</process>
|
||||||
|
<bpmndi:BPMNDiagram id="BPMNDiagram_leave">
|
||||||
|
<bpmndi:BPMNPlane id="BPMNPlane_leave" bpmnElement="leave">
|
||||||
|
<bpmndi:BPMNEdge id="Flow_0q3bbjl_di" bpmnElement="Flow_0q3bbjl">
|
||||||
|
<omgdi:waypoint x="260" y="83" />
|
||||||
|
<omgdi:waypoint x="260" y="320" />
|
||||||
|
<omgdi:waypoint x="600" y="320" />
|
||||||
|
<omgdi:waypoint x="600" y="157" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_0ji7qcv_di" bpmnElement="Flow_0ji7qcv">
|
||||||
|
<omgdi:waypoint x="505" y="83" />
|
||||||
|
<omgdi:waypoint x="505" y="140" />
|
||||||
|
<omgdi:waypoint x="582" y="140" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_0p85954_di" bpmnElement="Flow_0p85954">
|
||||||
|
<omgdi:waypoint x="525" y="63" />
|
||||||
|
<omgdi:waypoint x="600" y="63" />
|
||||||
|
<omgdi:waypoint x="600" y="122" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="BPMNEdge_flow6" bpmnElement="flow6">
|
||||||
|
<omgdi:waypoint x="453" y="63" />
|
||||||
|
<omgdi:waypoint x="485" y="63" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="BPMNEdge_flow5" bpmnElement="flow5">
|
||||||
|
<omgdi:waypoint x="280" y="63" />
|
||||||
|
<omgdi:waypoint x="348" y="63" />
|
||||||
|
<bpmndi:BPMNLabel>
|
||||||
|
<omgdc:Bounds x="300" y="46" width="22" height="11" />
|
||||||
|
</bpmndi:BPMNLabel>
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="BPMNEdge_flow3" bpmnElement="flow3">
|
||||||
|
<omgdi:waypoint x="185" y="63" />
|
||||||
|
<omgdi:waypoint x="240" y="63" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="BPMNEdge_flow2" bpmnElement="flow2">
|
||||||
|
<omgdi:waypoint x="35" y="63" />
|
||||||
|
<omgdi:waypoint x="80" y="63" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNShape id="BPMNShape_startevent1" bpmnElement="startevent1">
|
||||||
|
<omgdc:Bounds x="0" y="46" width="35" height="35" />
|
||||||
|
<bpmndi:BPMNLabel>
|
||||||
|
<omgdc:Bounds x="5" y="81" width="25" height="14" />
|
||||||
|
</bpmndi:BPMNLabel>
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="BPMNShape_deptLeaderVerify" bpmnElement="deptLeaderVerify">
|
||||||
|
<omgdc:Bounds x="80" y="36" width="105" height="55" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="BPMNShape_exclusivegateway5" bpmnElement="exclusivegateway5" isMarkerVisible="true">
|
||||||
|
<omgdc:Bounds x="240" y="43" width="40" height="40" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="BPMNShape_hrVerify" bpmnElement="hrVerify">
|
||||||
|
<omgdc:Bounds x="348" y="36" width="105" height="55" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="BPMNShape_exclusivegateway6" bpmnElement="exclusivegateway6" isMarkerVisible="true">
|
||||||
|
<omgdc:Bounds x="485" y="43" width="40" height="40" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="BPMNShape_endevent1" bpmnElement="endevent1">
|
||||||
|
<omgdc:Bounds x="582" y="122" width="35" height="35" />
|
||||||
|
<bpmndi:BPMNLabel>
|
||||||
|
<omgdc:Bounds x="627" y="133" width="20" height="14" />
|
||||||
|
</bpmndi:BPMNLabel>
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
</bpmndi:BPMNPlane>
|
||||||
|
</bpmndi:BPMNDiagram>
|
||||||
|
</definitions>
|
Loading…
Reference in new issue