eoegLock.bpmn 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  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="eoegLock" name="EOEG锁开锁关申请流程" isExecutable="true">
  4. <startEvent id="startevent1" name="Start"></startEvent>
  5. <userTask id="applyTask" name="申请人提交申请" activiti:assignee="#{applyuser}"></userTask>
  6. <sequenceFlow id="flow1" sourceRef="startevent1" targetRef="applyTask"></sequenceFlow>
  7. <userTask id="pgrtask" name="评估人" activiti:assignee="#{safaer}"></userTask>
  8. <sequenceFlow id="flow2" sourceRef="applyTask" targetRef="pgrtask">
  9. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${condition == 1}]]></conditionExpression>
  10. </sequenceFlow>
  11. <sequenceFlow id="flow3" name="驳回" sourceRef="pgrtask" targetRef="applyTask">
  12. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${condition == 2}]]></conditionExpression>
  13. </sequenceFlow>
  14. <exclusiveGateway id="exclusivegateway" name="判断等级"></exclusiveGateway>
  15. <sequenceFlow id="flow4" sourceRef="pgrtask" targetRef="exclusivegateway">
  16. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${condition == 1}]]></conditionExpression>
  17. </sequenceFlow>
  18. <userTask id="pzrtask" name="批准人" activiti:candidateUsers="#{approver}"></userTask>
  19. <sequenceFlow id="flow6" name="B 级风险" sourceRef="exclusivegateway" targetRef="pzrtask">
  20. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${lockLevel == 2}]]></conditionExpression>
  21. </sequenceFlow>
  22. <sequenceFlow id="flow8" name="驳回" sourceRef="pzrtask" targetRef="pgrtask">
  23. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${condition == 2}]]></conditionExpression>
  24. </sequenceFlow>
  25. <userTask id="pgrtask2" name="评估人2" activiti:assignee="#{safaer}"></userTask>
  26. <sequenceFlow id="flow9" name="C/D 级风险" sourceRef="exclusivegateway" targetRef="pgrtask2">
  27. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${lockLevel == 1}]]></conditionExpression>
  28. </sequenceFlow>
  29. <userTask id="csqrrtask" name="措施确认人" activiti:assignee="#{safaer}"></userTask>
  30. <sequenceFlow id="flow10" sourceRef="pgrtask2" targetRef="csqrrtask">
  31. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${condition == 1}]]></conditionExpression>
  32. </sequenceFlow>
  33. <sequenceFlow id="flow11" sourceRef="pzrtask" targetRef="csqrrtask">
  34. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${condition == 1}]]></conditionExpression>
  35. </sequenceFlow>
  36. <userTask id="bgqrrtask" name="变更确认人" activiti:assignee="#{changeConfirmer}"></userTask>
  37. <sequenceFlow id="flow12" sourceRef="csqrrtask" targetRef="bgqrrtask">
  38. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${condition == 1}]]></conditionExpression>
  39. </sequenceFlow>
  40. <userTask id="bztask" name="班长" activiti:candidateUsers="#{monitor}"></userTask>
  41. <sequenceFlow id="flow13" sourceRef="bgqrrtask" targetRef="bztask">
  42. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${condition == 1}]]></conditionExpression>
  43. </sequenceFlow>
  44. <endEvent id="endevent1" name="End"></endEvent>
  45. <sequenceFlow id="flow14" sourceRef="bztask" targetRef="endevent1">
  46. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${condition == 1}]]></conditionExpression>
  47. </sequenceFlow>
  48. <endEvent id="endevent2" name="End"></endEvent>
  49. <sequenceFlow id="flow15" name="拒绝" sourceRef="pgrtask" targetRef="endevent2">
  50. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${condition == 0}]]></conditionExpression>
  51. </sequenceFlow>
  52. <sequenceFlow id="flow16" name="拒绝" sourceRef="pzrtask" targetRef="endevent2">
  53. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${condition == 0}]]></conditionExpression>
  54. </sequenceFlow>
  55. <sequenceFlow id="flow17" name="拒绝" sourceRef="pgrtask2" targetRef="endevent2">
  56. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${condition == 0}]]></conditionExpression>
  57. </sequenceFlow>
  58. <sequenceFlow id="flow18" name="驳回" sourceRef="pgrtask2" targetRef="pgrtask">
  59. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${condition == 2}]]></conditionExpression>
  60. </sequenceFlow>
  61. </process>
  62. <bpmndi:BPMNDiagram id="BPMNDiagram_eoegLock">
  63. <bpmndi:BPMNPlane bpmnElement="eoegLock" id="BPMNPlane_eoegLock">
  64. <bpmndi:BPMNShape bpmnElement="startevent1" id="BPMNShape_startevent1">
  65. <omgdc:Bounds height="35.0" width="35.0" x="270.0" y="50.0"></omgdc:Bounds>
  66. </bpmndi:BPMNShape>
  67. <bpmndi:BPMNShape bpmnElement="applyTask" id="BPMNShape_applyTask">
  68. <omgdc:Bounds height="55.0" width="105.0" x="235.0" y="120.0"></omgdc:Bounds>
  69. </bpmndi:BPMNShape>
  70. <bpmndi:BPMNShape bpmnElement="pgrtask" id="BPMNShape_pgrtask">
  71. <omgdc:Bounds height="55.0" width="105.0" x="235.0" y="210.0"></omgdc:Bounds>
  72. </bpmndi:BPMNShape>
  73. <bpmndi:BPMNShape bpmnElement="exclusivegateway" id="BPMNShape_exclusivegateway">
  74. <omgdc:Bounds height="40.0" width="40.0" x="267.0" y="310.0"></omgdc:Bounds>
  75. </bpmndi:BPMNShape>
  76. <bpmndi:BPMNShape bpmnElement="pzrtask" id="BPMNShape_pzrtask">
  77. <omgdc:Bounds height="55.0" width="105.0" x="380.0" y="303.0"></omgdc:Bounds>
  78. </bpmndi:BPMNShape>
  79. <bpmndi:BPMNShape bpmnElement="pgrtask2" id="BPMNShape_pgrtask2">
  80. <omgdc:Bounds height="55.0" width="105.0" x="90.0" y="303.0"></omgdc:Bounds>
  81. </bpmndi:BPMNShape>
  82. <bpmndi:BPMNShape bpmnElement="csqrrtask" id="BPMNShape_csqrrtask">
  83. <omgdc:Bounds height="55.0" width="105.0" x="235.0" y="400.0"></omgdc:Bounds>
  84. </bpmndi:BPMNShape>
  85. <bpmndi:BPMNShape bpmnElement="bgqrrtask" id="BPMNShape_bgqrrtask">
  86. <omgdc:Bounds height="55.0" width="105.0" x="235.0" y="500.0"></omgdc:Bounds>
  87. </bpmndi:BPMNShape>
  88. <bpmndi:BPMNShape bpmnElement="bztask" id="BPMNShape_bztask">
  89. <omgdc:Bounds height="55.0" width="105.0" x="235.0" y="600.0"></omgdc:Bounds>
  90. </bpmndi:BPMNShape>
  91. <bpmndi:BPMNShape bpmnElement="endevent1" id="BPMNShape_endevent1">
  92. <omgdc:Bounds height="35.0" width="35.0" x="270.0" y="690.0"></omgdc:Bounds>
  93. </bpmndi:BPMNShape>
  94. <bpmndi:BPMNShape bpmnElement="endevent2" id="BPMNShape_endevent2">
  95. <omgdc:Bounds height="35.0" width="35.0" x="580.0" y="220.0"></omgdc:Bounds>
  96. </bpmndi:BPMNShape>
  97. <bpmndi:BPMNEdge bpmnElement="flow1" id="BPMNEdge_flow1">
  98. <omgdi:waypoint x="287.0" y="85.0"></omgdi:waypoint>
  99. <omgdi:waypoint x="287.0" y="120.0"></omgdi:waypoint>
  100. </bpmndi:BPMNEdge>
  101. <bpmndi:BPMNEdge bpmnElement="flow2" id="BPMNEdge_flow2">
  102. <omgdi:waypoint x="287.0" y="175.0"></omgdi:waypoint>
  103. <omgdi:waypoint x="287.0" y="210.0"></omgdi:waypoint>
  104. </bpmndi:BPMNEdge>
  105. <bpmndi:BPMNEdge bpmnElement="flow3" id="BPMNEdge_flow3">
  106. <omgdi:waypoint x="340.0" y="237.0"></omgdi:waypoint>
  107. <omgdi:waypoint x="407.0" y="237.0"></omgdi:waypoint>
  108. <omgdi:waypoint x="407.0" y="206.0"></omgdi:waypoint>
  109. <omgdi:waypoint x="407.0" y="147.0"></omgdi:waypoint>
  110. <omgdi:waypoint x="340.0" y="147.0"></omgdi:waypoint>
  111. <bpmndi:BPMNLabel>
  112. <omgdc:Bounds height="16.0" width="22.0" x="409.0" y="180.0"></omgdc:Bounds>
  113. </bpmndi:BPMNLabel>
  114. </bpmndi:BPMNEdge>
  115. <bpmndi:BPMNEdge bpmnElement="flow4" id="BPMNEdge_flow4">
  116. <omgdi:waypoint x="287.0" y="265.0"></omgdi:waypoint>
  117. <omgdi:waypoint x="287.0" y="310.0"></omgdi:waypoint>
  118. </bpmndi:BPMNEdge>
  119. <bpmndi:BPMNEdge bpmnElement="flow6" id="BPMNEdge_flow6">
  120. <omgdi:waypoint x="307.0" y="330.0"></omgdi:waypoint>
  121. <omgdi:waypoint x="380.0" y="330.0"></omgdi:waypoint>
  122. <bpmndi:BPMNLabel>
  123. <omgdc:Bounds height="16.0" width="44.0" x="307.0" y="330.0"></omgdc:Bounds>
  124. </bpmndi:BPMNLabel>
  125. </bpmndi:BPMNEdge>
  126. <bpmndi:BPMNEdge bpmnElement="flow8" id="BPMNEdge_flow8">
  127. <omgdi:waypoint x="432.0" y="303.0"></omgdi:waypoint>
  128. <omgdi:waypoint x="432.0" y="243.0"></omgdi:waypoint>
  129. <omgdi:waypoint x="420.0" y="237.0"></omgdi:waypoint>
  130. <omgdi:waypoint x="340.0" y="237.0"></omgdi:waypoint>
  131. <bpmndi:BPMNLabel>
  132. <omgdc:Bounds height="16.0" width="22.0" x="432.0" y="267.0"></omgdc:Bounds>
  133. </bpmndi:BPMNLabel>
  134. </bpmndi:BPMNEdge>
  135. <bpmndi:BPMNEdge bpmnElement="flow9" id="BPMNEdge_flow9">
  136. <omgdi:waypoint x="267.0" y="330.0"></omgdi:waypoint>
  137. <omgdi:waypoint x="195.0" y="330.0"></omgdi:waypoint>
  138. <bpmndi:BPMNLabel>
  139. <omgdc:Bounds height="16.0" width="55.0" x="210.0" y="330.0"></omgdc:Bounds>
  140. </bpmndi:BPMNLabel>
  141. </bpmndi:BPMNEdge>
  142. <bpmndi:BPMNEdge bpmnElement="flow10" id="BPMNEdge_flow10">
  143. <omgdi:waypoint x="142.0" y="358.0"></omgdi:waypoint>
  144. <omgdi:waypoint x="142.0" y="427.0"></omgdi:waypoint>
  145. <omgdi:waypoint x="235.0" y="427.0"></omgdi:waypoint>
  146. </bpmndi:BPMNEdge>
  147. <bpmndi:BPMNEdge bpmnElement="flow11" id="BPMNEdge_flow11">
  148. <omgdi:waypoint x="432.0" y="358.0"></omgdi:waypoint>
  149. <omgdi:waypoint x="432.0" y="427.0"></omgdi:waypoint>
  150. <omgdi:waypoint x="340.0" y="427.0"></omgdi:waypoint>
  151. </bpmndi:BPMNEdge>
  152. <bpmndi:BPMNEdge bpmnElement="flow12" id="BPMNEdge_flow12">
  153. <omgdi:waypoint x="287.0" y="455.0"></omgdi:waypoint>
  154. <omgdi:waypoint x="287.0" y="500.0"></omgdi:waypoint>
  155. </bpmndi:BPMNEdge>
  156. <bpmndi:BPMNEdge bpmnElement="flow13" id="BPMNEdge_flow13">
  157. <omgdi:waypoint x="287.0" y="555.0"></omgdi:waypoint>
  158. <omgdi:waypoint x="287.0" y="600.0"></omgdi:waypoint>
  159. </bpmndi:BPMNEdge>
  160. <bpmndi:BPMNEdge bpmnElement="flow14" id="BPMNEdge_flow14">
  161. <omgdi:waypoint x="287.0" y="655.0"></omgdi:waypoint>
  162. <omgdi:waypoint x="287.0" y="690.0"></omgdi:waypoint>
  163. </bpmndi:BPMNEdge>
  164. <bpmndi:BPMNEdge bpmnElement="flow15" id="BPMNEdge_flow15">
  165. <omgdi:waypoint x="340.0" y="237.0"></omgdi:waypoint>
  166. <omgdi:waypoint x="580.0" y="237.0"></omgdi:waypoint>
  167. <bpmndi:BPMNLabel>
  168. <omgdc:Bounds height="16.0" width="22.0" x="449.0" y="220.0"></omgdc:Bounds>
  169. </bpmndi:BPMNLabel>
  170. </bpmndi:BPMNEdge>
  171. <bpmndi:BPMNEdge bpmnElement="flow16" id="BPMNEdge_flow16">
  172. <omgdi:waypoint x="485.0" y="330.0"></omgdi:waypoint>
  173. <omgdi:waypoint x="597.0" y="330.0"></omgdi:waypoint>
  174. <omgdi:waypoint x="597.0" y="255.0"></omgdi:waypoint>
  175. <bpmndi:BPMNLabel>
  176. <omgdc:Bounds height="16.0" width="22.0" x="529.0" y="315.0"></omgdc:Bounds>
  177. </bpmndi:BPMNLabel>
  178. </bpmndi:BPMNEdge>
  179. <bpmndi:BPMNEdge bpmnElement="flow17" id="BPMNEdge_flow17">
  180. <omgdi:waypoint x="142.0" y="303.0"></omgdi:waypoint>
  181. <omgdi:waypoint x="142.0" y="28.0"></omgdi:waypoint>
  182. <omgdi:waypoint x="597.0" y="28.0"></omgdi:waypoint>
  183. <omgdi:waypoint x="597.0" y="220.0"></omgdi:waypoint>
  184. <bpmndi:BPMNLabel>
  185. <omgdc:Bounds height="16.0" width="100.0" x="332.0" y="31.0"></omgdc:Bounds>
  186. </bpmndi:BPMNLabel>
  187. </bpmndi:BPMNEdge>
  188. <bpmndi:BPMNEdge bpmnElement="flow18" id="BPMNEdge_flow18">
  189. <omgdi:waypoint x="142.0" y="303.0"></omgdi:waypoint>
  190. <omgdi:waypoint x="142.0" y="237.0"></omgdi:waypoint>
  191. <omgdi:waypoint x="235.0" y="237.0"></omgdi:waypoint>
  192. <bpmndi:BPMNLabel>
  193. <omgdc:Bounds height="16.0" width="100.0" x="168.0" y="236.0"></omgdc:Bounds>
  194. </bpmndi:BPMNLabel>
  195. </bpmndi:BPMNEdge>
  196. </bpmndi:BPMNPlane>
  197. </bpmndi:BPMNDiagram>
  198. </definitions>