apply.bpmn 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  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.activiti.org/test">
  3. <process id="myProcess" name="My process" isExecutable="true">
  4. <startEvent id="startevent" name="开始"></startEvent>
  5. <endEvent id="endevent" name="结束"></endEvent>
  6. <userTask id="dzzpz" name="党总支批准"></userTask>
  7. <sequenceFlow id="flow1" name="提交申请" sourceRef="startevent" targetRef="dzzpz"></sequenceFlow>
  8. <serviceTask id="bgdzz" name="报告党总支" activiti:type="mail"></serviceTask>
  9. <serviceTask id="gs" name="公示" activiti:type="mail"></serviceTask>
  10. <parallelGateway id="parallelgateway1" name="Parallel Gateway"></parallelGateway>
  11. <exclusiveGateway id="exclusivegateway2" name="Exclusive Gateway"></exclusiveGateway>
  12. <sequenceFlow id="flow3" name="是" sourceRef="exclusivegateway2" targetRef="parallelgateway1">
  13. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${condition == 1}]]></conditionExpression>
  14. </sequenceFlow>
  15. <sequenceFlow id="flow2" sourceRef="dzzpz" targetRef="exclusivegateway2"></sequenceFlow>
  16. <sequenceFlow id="flow4" name="否" sourceRef="exclusivegateway2" targetRef="endevent">
  17. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${condition == 0}]]></conditionExpression>
  18. </sequenceFlow>
  19. <parallelGateway id="parallelgateway2" name="Parallel Gateway"></parallelGateway>
  20. <sequenceFlow id="flow9" sourceRef="parallelgateway2" targetRef="endevent"></sequenceFlow>
  21. <sequenceFlow id="flow5" sourceRef="parallelgateway1" targetRef="bgdzz"></sequenceFlow>
  22. <sequenceFlow id="flow6" sourceRef="parallelgateway1" targetRef="gs"></sequenceFlow>
  23. <sequenceFlow id="flow7" sourceRef="bgdzz" targetRef="parallelgateway2"></sequenceFlow>
  24. <sequenceFlow id="flow8" sourceRef="gs" targetRef="parallelgateway2"></sequenceFlow>
  25. </process>
  26. <bpmndi:BPMNDiagram id="BPMNDiagram_myProcess">
  27. <bpmndi:BPMNPlane bpmnElement="myProcess" id="BPMNPlane_myProcess">
  28. <bpmndi:BPMNShape bpmnElement="startevent" id="BPMNShape_startevent">
  29. <omgdc:Bounds height="35.0" width="35.0" x="120.0" y="250.0"></omgdc:Bounds>
  30. </bpmndi:BPMNShape>
  31. <bpmndi:BPMNShape bpmnElement="endevent" id="BPMNShape_endevent">
  32. <omgdc:Bounds height="35.0" width="35.0" x="810.0" y="253.0"></omgdc:Bounds>
  33. </bpmndi:BPMNShape>
  34. <bpmndi:BPMNShape bpmnElement="dzzpz" id="BPMNShape_dzzpz">
  35. <omgdc:Bounds height="72.0" width="105.0" x="230.0" y="231.0"></omgdc:Bounds>
  36. </bpmndi:BPMNShape>
  37. <bpmndi:BPMNShape bpmnElement="bgdzz" id="BPMNShape_bgdzz">
  38. <omgdc:Bounds height="55.0" width="105.0" x="562.0" y="199.0"></omgdc:Bounds>
  39. </bpmndi:BPMNShape>
  40. <bpmndi:BPMNShape bpmnElement="gs" id="BPMNShape_gs">
  41. <omgdc:Bounds height="55.0" width="105.0" x="562.0" y="284.0"></omgdc:Bounds>
  42. </bpmndi:BPMNShape>
  43. <bpmndi:BPMNShape bpmnElement="parallelgateway1" id="BPMNShape_parallelgateway1">
  44. <omgdc:Bounds height="40.0" width="40.0" x="470.0" y="246.0"></omgdc:Bounds>
  45. </bpmndi:BPMNShape>
  46. <bpmndi:BPMNShape bpmnElement="exclusivegateway2" id="BPMNShape_exclusivegateway2">
  47. <omgdc:Bounds height="40.0" width="40.0" x="380.0" y="247.0"></omgdc:Bounds>
  48. </bpmndi:BPMNShape>
  49. <bpmndi:BPMNShape bpmnElement="parallelgateway2" id="BPMNShape_parallelgateway2">
  50. <omgdc:Bounds height="40.0" width="40.0" x="710.0" y="250.0"></omgdc:Bounds>
  51. </bpmndi:BPMNShape>
  52. <bpmndi:BPMNEdge bpmnElement="flow1" id="BPMNEdge_flow1">
  53. <omgdi:waypoint x="155.0" y="267.0"></omgdi:waypoint>
  54. <omgdi:waypoint x="230.0" y="267.0"></omgdi:waypoint>
  55. <bpmndi:BPMNLabel>
  56. <omgdc:Bounds height="16.0" width="100.0" x="159.0" y="250.0"></omgdc:Bounds>
  57. </bpmndi:BPMNLabel>
  58. </bpmndi:BPMNEdge>
  59. <bpmndi:BPMNEdge bpmnElement="flow3" id="BPMNEdge_flow3">
  60. <omgdi:waypoint x="420.0" y="267.0"></omgdi:waypoint>
  61. <omgdi:waypoint x="470.0" y="266.0"></omgdi:waypoint>
  62. <bpmndi:BPMNLabel>
  63. <omgdc:Bounds height="16.0" width="100.0" x="419.0" y="251.0"></omgdc:Bounds>
  64. </bpmndi:BPMNLabel>
  65. </bpmndi:BPMNEdge>
  66. <bpmndi:BPMNEdge bpmnElement="flow2" id="BPMNEdge_flow2">
  67. <omgdi:waypoint x="335.0" y="267.0"></omgdi:waypoint>
  68. <omgdi:waypoint x="380.0" y="267.0"></omgdi:waypoint>
  69. </bpmndi:BPMNEdge>
  70. <bpmndi:BPMNEdge bpmnElement="flow4" id="BPMNEdge_flow4">
  71. <omgdi:waypoint x="400.0" y="287.0"></omgdi:waypoint>
  72. <omgdi:waypoint x="400.0" y="374.0"></omgdi:waypoint>
  73. <omgdi:waypoint x="611.0" y="374.0"></omgdi:waypoint>
  74. <omgdi:waypoint x="827.0" y="374.0"></omgdi:waypoint>
  75. <omgdi:waypoint x="827.0" y="288.0"></omgdi:waypoint>
  76. <bpmndi:BPMNLabel>
  77. <omgdc:Bounds height="16.0" width="100.0" x="420.0" y="337.0"></omgdc:Bounds>
  78. </bpmndi:BPMNLabel>
  79. </bpmndi:BPMNEdge>
  80. <bpmndi:BPMNEdge bpmnElement="flow9" id="BPMNEdge_flow9">
  81. <omgdi:waypoint x="750.0" y="270.0"></omgdi:waypoint>
  82. <omgdi:waypoint x="810.0" y="270.0"></omgdi:waypoint>
  83. </bpmndi:BPMNEdge>
  84. <bpmndi:BPMNEdge bpmnElement="flow5" id="BPMNEdge_flow5">
  85. <omgdi:waypoint x="490.0" y="246.0"></omgdi:waypoint>
  86. <omgdi:waypoint x="490.0" y="226.0"></omgdi:waypoint>
  87. <omgdi:waypoint x="562.0" y="226.0"></omgdi:waypoint>
  88. </bpmndi:BPMNEdge>
  89. <bpmndi:BPMNEdge bpmnElement="flow6" id="BPMNEdge_flow6">
  90. <omgdi:waypoint x="490.0" y="286.0"></omgdi:waypoint>
  91. <omgdi:waypoint x="490.0" y="311.0"></omgdi:waypoint>
  92. <omgdi:waypoint x="562.0" y="311.0"></omgdi:waypoint>
  93. </bpmndi:BPMNEdge>
  94. <bpmndi:BPMNEdge bpmnElement="flow7" id="BPMNEdge_flow7">
  95. <omgdi:waypoint x="667.0" y="226.0"></omgdi:waypoint>
  96. <omgdi:waypoint x="730.0" y="226.0"></omgdi:waypoint>
  97. <omgdi:waypoint x="730.0" y="250.0"></omgdi:waypoint>
  98. </bpmndi:BPMNEdge>
  99. <bpmndi:BPMNEdge bpmnElement="flow8" id="BPMNEdge_flow8">
  100. <omgdi:waypoint x="667.0" y="311.0"></omgdi:waypoint>
  101. <omgdi:waypoint x="730.0" y="311.0"></omgdi:waypoint>
  102. <omgdi:waypoint x="730.0" y="290.0"></omgdi:waypoint>
  103. </bpmndi:BPMNEdge>
  104. </bpmndi:BPMNPlane>
  105. </bpmndi:BPMNDiagram>
  106. </definitions>