123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- <?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.kafeitu.me/activiti/leave">
- <process id="leaveTest" name="测试普通表单" isExecutable="true">
- <documentation>请假流程演示</documentation>
- <userTask id="hrTask" name="人事审批" activiti:candidateGroups="117" activiti:formKey="leave_hr_form"></userTask>
- <exclusiveGateway id="exclusivegateway6" name="Exclusive Gateway"></exclusiveGateway>
- <sequenceFlow id="flow6" sourceRef="hrTask" targetRef="exclusivegateway6"></sequenceFlow>
- <startEvent id="startevent" name="Start" activiti:formKey="leave_start_form"></startEvent>
- <userTask id="boosTask" name="老板审批" activiti:candidateUsers="120" activiti:formKey="leave_boos_form"></userTask>
- <sequenceFlow id="flow18" sourceRef="startevent" targetRef="hrTask"></sequenceFlow>
- <sequenceFlow id="flow21" name="同意" sourceRef="exclusivegateway6" targetRef="boosTask">
- <conditionExpression xsi:type="tFormalExpression"><![CDATA[${hrStatus=="1"}]]></conditionExpression>
- </sequenceFlow>
- <endEvent id="endevent1" name="End"></endEvent>
- <sequenceFlow id="flow22" name="不同意" sourceRef="exclusivegateway6" targetRef="endevent1">
- <conditionExpression xsi:type="tFormalExpression"><![CDATA[${hrStatus=="0"}]]></conditionExpression>
- </sequenceFlow>
- <sequenceFlow id="flow23" sourceRef="boosTask" targetRef="endevent1"></sequenceFlow>
- </process>
- <bpmndi:BPMNDiagram id="BPMNDiagram_leaveTest">
- <bpmndi:BPMNPlane bpmnElement="leaveTest" id="BPMNPlane_leaveTest">
- <bpmndi:BPMNShape bpmnElement="hrTask" id="BPMNShape_hrTask">
- <omgdc:Bounds height="55.0" width="105.0" x="240.0" y="190.0"></omgdc:Bounds>
- </bpmndi:BPMNShape>
- <bpmndi:BPMNShape bpmnElement="exclusivegateway6" id="BPMNShape_exclusivegateway6">
- <omgdc:Bounds height="40.0" width="40.0" x="440.0" y="197.0"></omgdc:Bounds>
- </bpmndi:BPMNShape>
- <bpmndi:BPMNShape bpmnElement="startevent" id="BPMNShape_startevent">
- <omgdc:Bounds height="35.0" width="35.0" x="110.0" y="200.0"></omgdc:Bounds>
- </bpmndi:BPMNShape>
- <bpmndi:BPMNShape bpmnElement="boosTask" id="BPMNShape_boosTask">
- <omgdc:Bounds height="55.0" width="105.0" x="610.0" y="190.0"></omgdc:Bounds>
- </bpmndi:BPMNShape>
- <bpmndi:BPMNShape bpmnElement="endevent1" id="BPMNShape_endevent1">
- <omgdc:Bounds height="35.0" width="35.0" x="443.0" y="350.0"></omgdc:Bounds>
- </bpmndi:BPMNShape>
- <bpmndi:BPMNEdge bpmnElement="flow6" id="BPMNEdge_flow6">
- <omgdi:waypoint x="345.0" y="217.0"></omgdi:waypoint>
- <omgdi:waypoint x="440.0" y="217.0"></omgdi:waypoint>
- </bpmndi:BPMNEdge>
- <bpmndi:BPMNEdge bpmnElement="flow18" id="BPMNEdge_flow18">
- <omgdi:waypoint x="145.0" y="217.0"></omgdi:waypoint>
- <omgdi:waypoint x="240.0" y="217.0"></omgdi:waypoint>
- </bpmndi:BPMNEdge>
- <bpmndi:BPMNEdge bpmnElement="flow21" id="BPMNEdge_flow21">
- <omgdi:waypoint x="480.0" y="217.0"></omgdi:waypoint>
- <omgdi:waypoint x="610.0" y="217.0"></omgdi:waypoint>
- <bpmndi:BPMNLabel>
- <omgdc:Bounds height="14.0" width="24.0" x="489.0" y="197.0"></omgdc:Bounds>
- </bpmndi:BPMNLabel>
- </bpmndi:BPMNEdge>
- <bpmndi:BPMNEdge bpmnElement="flow22" id="BPMNEdge_flow22">
- <omgdi:waypoint x="460.0" y="237.0"></omgdi:waypoint>
- <omgdi:waypoint x="460.0" y="350.0"></omgdi:waypoint>
- <bpmndi:BPMNLabel>
- <omgdc:Bounds height="14.0" width="36.0" x="460.0" y="279.0"></omgdc:Bounds>
- </bpmndi:BPMNLabel>
- </bpmndi:BPMNEdge>
- <bpmndi:BPMNEdge bpmnElement="flow23" id="BPMNEdge_flow23">
- <omgdi:waypoint x="662.0" y="245.0"></omgdi:waypoint>
- <omgdi:waypoint x="662.0" y="367.0"></omgdi:waypoint>
- <omgdi:waypoint x="478.0" y="367.0"></omgdi:waypoint>
- </bpmndi:BPMNEdge>
- </bpmndi:BPMNPlane>
- </bpmndi:BPMNDiagram>
- </definitions>
|