leave.bpmn 3.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <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">
  3. <process id="leave" name="请假流程-普通表单" isExecutable="true">
  4. <documentation>请假流程演示</documentation>
  5. <userTask id="hrVerify" name="人事审批" activiti:candidateGroups="117"></userTask>
  6. <exclusiveGateway id="exclusivegateway6" name="Exclusive Gateway"></exclusiveGateway>
  7. <endEvent id="endevent1" name="End"></endEvent>
  8. <sequenceFlow id="flow6" sourceRef="hrVerify" targetRef="exclusivegateway6"></sequenceFlow>
  9. <sequenceFlow id="flow13" name="同意" sourceRef="exclusivegateway6" targetRef="endevent1">
  10. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${hrStatus=="1"}]]></conditionExpression>
  11. </sequenceFlow>
  12. <startEvent id="startevent1" name="Start" activiti:initiator="applyUserId"></startEvent>
  13. <sequenceFlow id="flow14" name="不同意" sourceRef="exclusivegateway6" targetRef="hrVerify">
  14. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${hrStatus=="0"}]]></conditionExpression>
  15. </sequenceFlow>
  16. <sequenceFlow id="flow15" sourceRef="startevent1" targetRef="hrVerify"></sequenceFlow>
  17. </process>
  18. <bpmndi:BPMNDiagram id="BPMNDiagram_leave">
  19. <bpmndi:BPMNPlane bpmnElement="leave" id="BPMNPlane_leave">
  20. <bpmndi:BPMNShape bpmnElement="hrVerify" id="BPMNShape_hrVerify">
  21. <omgdc:Bounds height="55.0" width="105.0" x="260.0" y="100.0"></omgdc:Bounds>
  22. </bpmndi:BPMNShape>
  23. <bpmndi:BPMNShape bpmnElement="exclusivegateway6" id="BPMNShape_exclusivegateway6">
  24. <omgdc:Bounds height="40.0" width="40.0" x="448.0" y="107.0"></omgdc:Bounds>
  25. </bpmndi:BPMNShape>
  26. <bpmndi:BPMNShape bpmnElement="endevent1" id="BPMNShape_endevent1">
  27. <omgdc:Bounds height="35.0" width="35.0" x="550.0" y="280.0"></omgdc:Bounds>
  28. </bpmndi:BPMNShape>
  29. <bpmndi:BPMNShape bpmnElement="startevent1" id="BPMNShape_startevent1">
  30. <omgdc:Bounds height="35.0" width="35.0" x="70.0" y="110.0"></omgdc:Bounds>
  31. </bpmndi:BPMNShape>
  32. <bpmndi:BPMNEdge bpmnElement="flow6" id="BPMNEdge_flow6">
  33. <omgdi:waypoint x="365.0" y="127.0"></omgdi:waypoint>
  34. <omgdi:waypoint x="448.0" y="127.0"></omgdi:waypoint>
  35. </bpmndi:BPMNEdge>
  36. <bpmndi:BPMNEdge bpmnElement="flow13" id="BPMNEdge_flow13">
  37. <omgdi:waypoint x="488.0" y="127.0"></omgdi:waypoint>
  38. <omgdi:waypoint x="567.0" y="127.0"></omgdi:waypoint>
  39. <omgdi:waypoint x="567.0" y="280.0"></omgdi:waypoint>
  40. <bpmndi:BPMNLabel>
  41. <omgdc:Bounds height="14.0" width="24.0" x="488.0" y="127.0"></omgdc:Bounds>
  42. </bpmndi:BPMNLabel>
  43. </bpmndi:BPMNEdge>
  44. <bpmndi:BPMNEdge bpmnElement="flow14" id="BPMNEdge_flow14">
  45. <omgdi:waypoint x="468.0" y="147.0"></omgdi:waypoint>
  46. <omgdi:waypoint x="468.0" y="344.0"></omgdi:waypoint>
  47. <omgdi:waypoint x="312.0" y="344.0"></omgdi:waypoint>
  48. <omgdi:waypoint x="312.0" y="155.0"></omgdi:waypoint>
  49. <bpmndi:BPMNLabel>
  50. <omgdc:Bounds height="14.0" width="36.0" x="349.0" y="313.0"></omgdc:Bounds>
  51. </bpmndi:BPMNLabel>
  52. </bpmndi:BPMNEdge>
  53. <bpmndi:BPMNEdge bpmnElement="flow15" id="BPMNEdge_flow15">
  54. <omgdi:waypoint x="105.0" y="127.0"></omgdi:waypoint>
  55. <omgdi:waypoint x="260.0" y="127.0"></omgdi:waypoint>
  56. </bpmndi:BPMNEdge>
  57. </bpmndi:BPMNPlane>
  58. </bpmndi:BPMNDiagram>
  59. </definitions>