lh.bpmn 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234
  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: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="lh" name="理货" isExecutable="true">
  4. <startEvent id="startevent1" name="Start"></startEvent>
  5. <userTask id="ldsl" name="领导受理" activiti:assignee="${applyUserId}">
  6. <extensionElements>
  7. <activiti:taskListener event="create" delegateExpression="${taskVarBean}">
  8. <activiti:field name="varName">
  9. <activiti:string><![CDATA[var_autoComplete]]></activiti:string>
  10. </activiti:field>
  11. <activiti:field name="varValue">
  12. <activiti:string><![CDATA[true]]></activiti:string>
  13. </activiti:field>
  14. </activiti:taskListener>
  15. </extensionElements>
  16. </userTask>
  17. <sequenceFlow id="flow1" sourceRef="startevent1" targetRef="ldsl"></sequenceFlow>
  18. <userTask id="fgldsl" name="分管领导受理" activiti:assignee="${fgld}"></userTask>
  19. <sequenceFlow id="flow2" sourceRef="ldsl" targetRef="fgldsl"></sequenceFlow>
  20. <userTask id="kshq" name="科室会签" activiti:candidateUsers="${assignee}">
  21. <multiInstanceLoopCharacteristics isSequential="false" activiti:collection="assigneeList" activiti:elementVariable="assignee">
  22. <completionCondition>${nrOfInstances==nrOfCompletedInstances}</completionCondition>
  23. </multiInstanceLoopCharacteristics>
  24. </userTask>
  25. <sequenceFlow id="flow3" name="通过" sourceRef="exclusivegateway4" targetRef="kshq">
  26. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${auditPass_fgldsl}]]></conditionExpression>
  27. </sequenceFlow>
  28. <exclusiveGateway id="exclusivegateway1" name="Exclusive Gateway"></exclusiveGateway>
  29. <sequenceFlow id="flow4" sourceRef="kshq" targetRef="exclusivegateway1"></sequenceFlow>
  30. <sequenceFlow id="flow5" name="不通过" sourceRef="exclusivegateway1" targetRef="fgldsl">
  31. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${!countersign}]]></conditionExpression>
  32. </sequenceFlow>
  33. <userTask id="fgldqr" name="分管领导确认" activiti:assignee="${fgld}"></userTask>
  34. <sequenceFlow id="flow6" name="通过" sourceRef="exclusivegateway1" targetRef="kybl">
  35. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${countersign}]]></conditionExpression>
  36. </sequenceFlow>
  37. <exclusiveGateway id="exclusivegateway2" name="Exclusive Gateway"></exclusiveGateway>
  38. <sequenceFlow id="flow7" sourceRef="fgldqr" targetRef="exclusivegateway2"></sequenceFlow>
  39. <sequenceFlow id="flow8" name="不通过" sourceRef="exclusivegateway2" targetRef="kshq2">
  40. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${!auditPass_fgldqr}]]></conditionExpression>
  41. </sequenceFlow>
  42. <userTask id="ldqr" name="领导确认" activiti:assignee="${applyUserId}"></userTask>
  43. <sequenceFlow id="flow9" name="通过" sourceRef="exclusivegateway2" targetRef="ldqr">
  44. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${auditPass_fgldqr}]]></conditionExpression>
  45. </sequenceFlow>
  46. <exclusiveGateway id="exclusivegateway3" name="Exclusive Gateway"></exclusiveGateway>
  47. <sequenceFlow id="flow10" sourceRef="ldqr" targetRef="exclusivegateway3"></sequenceFlow>
  48. <sequenceFlow id="flow11" name="不通过" sourceRef="exclusivegateway3" targetRef="fgldqr">
  49. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${!auditPass_ldqr}]]></conditionExpression>
  50. </sequenceFlow>
  51. <endEvent id="endevent1" name="End"></endEvent>
  52. <sequenceFlow id="flow12" name="通过" sourceRef="exclusivegateway3" targetRef="endevent1">
  53. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${auditPass_ldqr}]]></conditionExpression>
  54. </sequenceFlow>
  55. <exclusiveGateway id="exclusivegateway4" name="Exclusive Gateway"></exclusiveGateway>
  56. <sequenceFlow id="flow13" sourceRef="fgldsl" targetRef="exclusivegateway4"></sequenceFlow>
  57. <sequenceFlow id="flow14" name="不通过" sourceRef="exclusivegateway4" targetRef="ldsl">
  58. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${!auditPass_fgldsl}]]></conditionExpression>
  59. </sequenceFlow>
  60. <userTask id="kybl" name="科员办理" activiti:assignee="${ky}"></userTask>
  61. <sequenceFlow id="flow15" name="通过" sourceRef="exclusivegateway5" targetRef="fgldqr">
  62. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${countersign}]]></conditionExpression>
  63. </sequenceFlow>
  64. <userTask id="kshq2" name="科室会签2" activiti:candidateUsers="${assignee}">
  65. <multiInstanceLoopCharacteristics isSequential="false" activiti:collection="assigneeList" activiti:elementVariable="assignee">
  66. <completionCondition>${nrOfInstances==nrOfCompletedInstances}</completionCondition>
  67. </multiInstanceLoopCharacteristics>
  68. </userTask>
  69. <sequenceFlow id="flow16" sourceRef="kybl" targetRef="kshq2"></sequenceFlow>
  70. <exclusiveGateway id="exclusivegateway5" name="Exclusive Gateway"></exclusiveGateway>
  71. <sequenceFlow id="flow17" sourceRef="kshq2" targetRef="exclusivegateway5"></sequenceFlow>
  72. <sequenceFlow id="flow18" name="不通过" sourceRef="exclusivegateway5" targetRef="kybl">
  73. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${!countersign}]]></conditionExpression>
  74. </sequenceFlow>
  75. </process>
  76. <bpmndi:BPMNDiagram id="BPMNDiagram_lh">
  77. <bpmndi:BPMNPlane bpmnElement="lh" id="BPMNPlane_lh">
  78. <bpmndi:BPMNShape bpmnElement="startevent1" id="BPMNShape_startevent1">
  79. <omgdc:Bounds height="35.0" width="35.0" x="30.0" y="270.0"></omgdc:Bounds>
  80. </bpmndi:BPMNShape>
  81. <bpmndi:BPMNShape bpmnElement="ldsl" id="BPMNShape_ldsl">
  82. <omgdc:Bounds height="55.0" width="105.0" x="90.0" y="260.0"></omgdc:Bounds>
  83. </bpmndi:BPMNShape>
  84. <bpmndi:BPMNShape bpmnElement="fgldsl" id="BPMNShape_fgldsl">
  85. <omgdc:Bounds height="55.0" width="105.0" x="220.0" y="260.0"></omgdc:Bounds>
  86. </bpmndi:BPMNShape>
  87. <bpmndi:BPMNShape bpmnElement="kshq" id="BPMNShape_kshq">
  88. <omgdc:Bounds height="55.0" width="105.0" x="413.0" y="260.0"></omgdc:Bounds>
  89. </bpmndi:BPMNShape>
  90. <bpmndi:BPMNShape bpmnElement="exclusivegateway1" id="BPMNShape_exclusivegateway1">
  91. <omgdc:Bounds height="40.0" width="40.0" x="540.0" y="267.0"></omgdc:Bounds>
  92. </bpmndi:BPMNShape>
  93. <bpmndi:BPMNShape bpmnElement="fgldqr" id="BPMNShape_fgldqr">
  94. <omgdc:Bounds height="55.0" width="105.0" x="910.0" y="261.0"></omgdc:Bounds>
  95. </bpmndi:BPMNShape>
  96. <bpmndi:BPMNShape bpmnElement="exclusivegateway2" id="BPMNShape_exclusivegateway2">
  97. <omgdc:Bounds height="40.0" width="40.0" x="1040.0" y="268.0"></omgdc:Bounds>
  98. </bpmndi:BPMNShape>
  99. <bpmndi:BPMNShape bpmnElement="ldqr" id="BPMNShape_ldqr">
  100. <omgdc:Bounds height="55.0" width="105.0" x="1100.0" y="263.0"></omgdc:Bounds>
  101. </bpmndi:BPMNShape>
  102. <bpmndi:BPMNShape bpmnElement="exclusivegateway3" id="BPMNShape_exclusivegateway3">
  103. <omgdc:Bounds height="40.0" width="40.0" x="1220.0" y="271.0"></omgdc:Bounds>
  104. </bpmndi:BPMNShape>
  105. <bpmndi:BPMNShape bpmnElement="endevent1" id="BPMNShape_endevent1">
  106. <omgdc:Bounds height="35.0" width="35.0" x="1305.0" y="274.0"></omgdc:Bounds>
  107. </bpmndi:BPMNShape>
  108. <bpmndi:BPMNShape bpmnElement="exclusivegateway4" id="BPMNShape_exclusivegateway4">
  109. <omgdc:Bounds height="40.0" width="40.0" x="350.0" y="267.0"></omgdc:Bounds>
  110. </bpmndi:BPMNShape>
  111. <bpmndi:BPMNShape bpmnElement="kybl" id="BPMNShape_kybl">
  112. <omgdc:Bounds height="55.0" width="105.0" x="594.0" y="260.0"></omgdc:Bounds>
  113. </bpmndi:BPMNShape>
  114. <bpmndi:BPMNShape bpmnElement="kshq2" id="BPMNShape_kshq2">
  115. <omgdc:Bounds height="55.0" width="105.0" x="720.0" y="260.0"></omgdc:Bounds>
  116. </bpmndi:BPMNShape>
  117. <bpmndi:BPMNShape bpmnElement="exclusivegateway5" id="BPMNShape_exclusivegateway5">
  118. <omgdc:Bounds height="40.0" width="40.0" x="840.0" y="267.0"></omgdc:Bounds>
  119. </bpmndi:BPMNShape>
  120. <bpmndi:BPMNEdge bpmnElement="flow1" id="BPMNEdge_flow1">
  121. <omgdi:waypoint x="65.0" y="287.0"></omgdi:waypoint>
  122. <omgdi:waypoint x="90.0" y="287.0"></omgdi:waypoint>
  123. </bpmndi:BPMNEdge>
  124. <bpmndi:BPMNEdge bpmnElement="flow2" id="BPMNEdge_flow2">
  125. <omgdi:waypoint x="195.0" y="287.0"></omgdi:waypoint>
  126. <omgdi:waypoint x="220.0" y="287.0"></omgdi:waypoint>
  127. </bpmndi:BPMNEdge>
  128. <bpmndi:BPMNEdge bpmnElement="flow3" id="BPMNEdge_flow3">
  129. <omgdi:waypoint x="390.0" y="287.0"></omgdi:waypoint>
  130. <omgdi:waypoint x="413.0" y="287.0"></omgdi:waypoint>
  131. <bpmndi:BPMNLabel>
  132. <omgdc:Bounds height="14.0" width="24.0" x="389.0" y="297.0"></omgdc:Bounds>
  133. </bpmndi:BPMNLabel>
  134. </bpmndi:BPMNEdge>
  135. <bpmndi:BPMNEdge bpmnElement="flow4" id="BPMNEdge_flow4">
  136. <omgdi:waypoint x="518.0" y="287.0"></omgdi:waypoint>
  137. <omgdi:waypoint x="540.0" y="287.0"></omgdi:waypoint>
  138. </bpmndi:BPMNEdge>
  139. <bpmndi:BPMNEdge bpmnElement="flow5" id="BPMNEdge_flow5">
  140. <omgdi:waypoint x="560.0" y="267.0"></omgdi:waypoint>
  141. <omgdi:waypoint x="560.0" y="219.0"></omgdi:waypoint>
  142. <omgdi:waypoint x="272.0" y="219.0"></omgdi:waypoint>
  143. <omgdi:waypoint x="272.0" y="260.0"></omgdi:waypoint>
  144. <bpmndi:BPMNLabel>
  145. <omgdc:Bounds height="14.0" width="36.0" x="394.0" y="193.0"></omgdc:Bounds>
  146. </bpmndi:BPMNLabel>
  147. </bpmndi:BPMNEdge>
  148. <bpmndi:BPMNEdge bpmnElement="flow6" id="BPMNEdge_flow6">
  149. <omgdi:waypoint x="580.0" y="287.0"></omgdi:waypoint>
  150. <omgdi:waypoint x="594.0" y="287.0"></omgdi:waypoint>
  151. <bpmndi:BPMNLabel>
  152. <omgdc:Bounds height="14.0" width="24.0" x="570.0" y="262.0"></omgdc:Bounds>
  153. </bpmndi:BPMNLabel>
  154. </bpmndi:BPMNEdge>
  155. <bpmndi:BPMNEdge bpmnElement="flow7" id="BPMNEdge_flow7">
  156. <omgdi:waypoint x="1015.0" y="288.0"></omgdi:waypoint>
  157. <omgdi:waypoint x="1040.0" y="288.0"></omgdi:waypoint>
  158. </bpmndi:BPMNEdge>
  159. <bpmndi:BPMNEdge bpmnElement="flow8" id="BPMNEdge_flow8">
  160. <omgdi:waypoint x="1060.0" y="308.0"></omgdi:waypoint>
  161. <omgdi:waypoint x="1059.0" y="343.0"></omgdi:waypoint>
  162. <omgdi:waypoint x="772.0" y="343.0"></omgdi:waypoint>
  163. <omgdi:waypoint x="772.0" y="315.0"></omgdi:waypoint>
  164. <bpmndi:BPMNLabel>
  165. <omgdc:Bounds height="14.0" width="36.0" x="835.0" y="348.0"></omgdc:Bounds>
  166. </bpmndi:BPMNLabel>
  167. </bpmndi:BPMNEdge>
  168. <bpmndi:BPMNEdge bpmnElement="flow9" id="BPMNEdge_flow9">
  169. <omgdi:waypoint x="1080.0" y="288.0"></omgdi:waypoint>
  170. <omgdi:waypoint x="1100.0" y="290.0"></omgdi:waypoint>
  171. <bpmndi:BPMNLabel>
  172. <omgdc:Bounds height="14.0" width="24.0" x="1079.0" y="296.0"></omgdc:Bounds>
  173. </bpmndi:BPMNLabel>
  174. </bpmndi:BPMNEdge>
  175. <bpmndi:BPMNEdge bpmnElement="flow10" id="BPMNEdge_flow10">
  176. <omgdi:waypoint x="1205.0" y="290.0"></omgdi:waypoint>
  177. <omgdi:waypoint x="1220.0" y="291.0"></omgdi:waypoint>
  178. </bpmndi:BPMNEdge>
  179. <bpmndi:BPMNEdge bpmnElement="flow11" id="BPMNEdge_flow11">
  180. <omgdi:waypoint x="1240.0" y="271.0"></omgdi:waypoint>
  181. <omgdi:waypoint x="1239.0" y="221.0"></omgdi:waypoint>
  182. <omgdi:waypoint x="961.0" y="221.0"></omgdi:waypoint>
  183. <omgdi:waypoint x="962.0" y="261.0"></omgdi:waypoint>
  184. <bpmndi:BPMNLabel>
  185. <omgdc:Bounds height="14.0" width="36.0" x="1031.0" y="195.0"></omgdc:Bounds>
  186. </bpmndi:BPMNLabel>
  187. </bpmndi:BPMNEdge>
  188. <bpmndi:BPMNEdge bpmnElement="flow12" id="BPMNEdge_flow12">
  189. <omgdi:waypoint x="1260.0" y="291.0"></omgdi:waypoint>
  190. <omgdi:waypoint x="1305.0" y="291.0"></omgdi:waypoint>
  191. <bpmndi:BPMNLabel>
  192. <omgdc:Bounds height="14.0" width="24.0" x="1259.0" y="298.0"></omgdc:Bounds>
  193. </bpmndi:BPMNLabel>
  194. </bpmndi:BPMNEdge>
  195. <bpmndi:BPMNEdge bpmnElement="flow13" id="BPMNEdge_flow13">
  196. <omgdi:waypoint x="325.0" y="287.0"></omgdi:waypoint>
  197. <omgdi:waypoint x="350.0" y="287.0"></omgdi:waypoint>
  198. </bpmndi:BPMNEdge>
  199. <bpmndi:BPMNEdge bpmnElement="flow14" id="BPMNEdge_flow14">
  200. <omgdi:waypoint x="370.0" y="307.0"></omgdi:waypoint>
  201. <omgdi:waypoint x="370.0" y="349.0"></omgdi:waypoint>
  202. <omgdi:waypoint x="142.0" y="349.0"></omgdi:waypoint>
  203. <omgdi:waypoint x="142.0" y="315.0"></omgdi:waypoint>
  204. <bpmndi:BPMNLabel>
  205. <omgdc:Bounds height="14.0" width="36.0" x="196.0" y="349.0"></omgdc:Bounds>
  206. </bpmndi:BPMNLabel>
  207. </bpmndi:BPMNEdge>
  208. <bpmndi:BPMNEdge bpmnElement="flow15" id="BPMNEdge_flow15">
  209. <omgdi:waypoint x="880.0" y="287.0"></omgdi:waypoint>
  210. <omgdi:waypoint x="910.0" y="288.0"></omgdi:waypoint>
  211. <bpmndi:BPMNLabel>
  212. <omgdc:Bounds height="14.0" width="100.0" x="879.0" y="296.0"></omgdc:Bounds>
  213. </bpmndi:BPMNLabel>
  214. </bpmndi:BPMNEdge>
  215. <bpmndi:BPMNEdge bpmnElement="flow16" id="BPMNEdge_flow16">
  216. <omgdi:waypoint x="699.0" y="287.0"></omgdi:waypoint>
  217. <omgdi:waypoint x="720.0" y="287.0"></omgdi:waypoint>
  218. </bpmndi:BPMNEdge>
  219. <bpmndi:BPMNEdge bpmnElement="flow17" id="BPMNEdge_flow17">
  220. <omgdi:waypoint x="825.0" y="287.0"></omgdi:waypoint>
  221. <omgdi:waypoint x="840.0" y="287.0"></omgdi:waypoint>
  222. </bpmndi:BPMNEdge>
  223. <bpmndi:BPMNEdge bpmnElement="flow18" id="BPMNEdge_flow18">
  224. <omgdi:waypoint x="860.0" y="267.0"></omgdi:waypoint>
  225. <omgdi:waypoint x="859.0" y="222.0"></omgdi:waypoint>
  226. <omgdi:waypoint x="645.0" y="222.0"></omgdi:waypoint>
  227. <omgdi:waypoint x="646.0" y="260.0"></omgdi:waypoint>
  228. <bpmndi:BPMNLabel>
  229. <omgdc:Bounds height="14.0" width="100.0" x="710.0" y="195.0"></omgdc:Bounds>
  230. </bpmndi:BPMNLabel>
  231. </bpmndi:BPMNEdge>
  232. </bpmndi:BPMNPlane>
  233. </bpmndi:BPMNDiagram>
  234. </definitions>