whzyfzsq-city.bpmn 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228
  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.yjpt.jtgh.com/workflow">
  3. <process id="whzyfzsq-city" name="whzyfzsq.name" isExecutable="true">
  4. <startEvent id="start" name="Start" activiti:initiator="applyUserId"></startEvent>
  5. <userTask id="tb" name="wf.tb" activiti:assignee="${applyUserId}">
  6. <extensionElements>
  7. <activiti:taskListener event="create" delegateExpression="${taskVarBean}">
  8. <activiti:field name="varName">
  9. <activiti:string>var_autoComplete</activiti:string>
  10. </activiti:field>
  11. <activiti:field name="varValue">
  12. <activiti:string>true</activiti:string>
  13. </activiti:field>
  14. </activiti:taskListener>
  15. </extensionElements>
  16. </userTask>
  17. <sequenceFlow id="flow1" sourceRef="start" targetRef="tb"></sequenceFlow>
  18. <userTask id="xssc" name="wf.xssc" activiti:candidateGroups="${role_xssc}"></userTask>
  19. <sequenceFlow id="flow2" sourceRef="tb" targetRef="xssc"></sequenceFlow>
  20. <exclusiveGateway id="exclusivegateway1" name="Exclusive Gateway"></exclusiveGateway>
  21. <sequenceFlow id="flow3" sourceRef="xssc" targetRef="exclusivegateway1"></sequenceFlow>
  22. <sequenceFlow id="flow4" name="不通过" sourceRef="exclusivegateway1" targetRef="tb">
  23. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${!auditPass_xssc}]]></conditionExpression>
  24. </sequenceFlow>
  25. <userTask id="sc" name="wf.sc" activiti:candidateGroups="${role_sc}"></userTask>
  26. <sequenceFlow id="flow5" name="通过" sourceRef="exclusivegateway1" targetRef="sc">
  27. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${auditPass_xssc}]]></conditionExpression>
  28. </sequenceFlow>
  29. <exclusiveGateway id="exclusivegateway2" name="Exclusive Gateway"></exclusiveGateway>
  30. <sequenceFlow id="flow6" sourceRef="sc" targetRef="exclusivegateway2"></sequenceFlow>
  31. <sequenceFlow id="flow7" name="不通过" sourceRef="exclusivegateway2" targetRef="xssc">
  32. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${!auditPass_sc}]]></conditionExpression>
  33. </sequenceFlow>
  34. <userTask id="sh" name="wf.sh" activiti:candidateGroups="${role_sh}"></userTask>
  35. <sequenceFlow id="flow8" name="通过" sourceRef="exclusivegateway2" targetRef="sh">
  36. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${auditPass_sc&&!auditPass_hq}]]></conditionExpression>
  37. </sequenceFlow>
  38. <exclusiveGateway id="exclusivegateway3" name="Exclusive Gateway"></exclusiveGateway>
  39. <sequenceFlow id="flow9" sourceRef="sh" targetRef="exclusivegateway3"></sequenceFlow>
  40. <sequenceFlow id="flow10" name="不通过" sourceRef="exclusivegateway3" targetRef="sc">
  41. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${!auditPass_sh}]]></conditionExpression>
  42. </sequenceFlow>
  43. <userTask id="pz" name="wf.pz" activiti:candidateGroups="${role_pz}"></userTask>
  44. <sequenceFlow id="flow12" name="通过" sourceRef="exclusivegateway3" targetRef="pz">
  45. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${auditPass_sh&&!auditPass_fz}]]></conditionExpression>
  46. </sequenceFlow>
  47. <endEvent id="endevent2" name="End"></endEvent>
  48. <exclusiveGateway id="exclusivegateway4" name="Exclusive Gateway"></exclusiveGateway>
  49. <sequenceFlow id="flow14" sourceRef="pz" targetRef="exclusivegateway4"></sequenceFlow>
  50. <sequenceFlow id="flow15" name="不通过" sourceRef="exclusivegateway4" targetRef="sh">
  51. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${!auditPass_pz}]]></conditionExpression>
  52. </sequenceFlow>
  53. <sequenceFlow id="flow16" name="通过" sourceRef="exclusivegateway4" targetRef="endevent2">
  54. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${auditPass_pz}]]></conditionExpression>
  55. </sequenceFlow>
  56. <userTask id="schq" name="wf.schq" activiti:assignee="${schqr}">
  57. <multiInstanceLoopCharacteristics isSequential="false" activiti:collection="${schqrs}" activiti:elementVariable="schqr">
  58. <completionCondition>${nrOfCompletedInstances==nrOfInstances||!auditPass_schq}</completionCondition>
  59. </multiInstanceLoopCharacteristics>
  60. </userTask>
  61. <sequenceFlow id="flow17" sourceRef="exclusivegateway2" targetRef="schq">
  62. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${auditPass_sc&&auditPass_hq}]]></conditionExpression>
  63. </sequenceFlow>
  64. <exclusiveGateway id="exclusivegateway5" name="Exclusive Gateway"></exclusiveGateway>
  65. <sequenceFlow id="flow18" sourceRef="schq" targetRef="exclusivegateway5"></sequenceFlow>
  66. <sequenceFlow id="flow19" sourceRef="exclusivegateway5" targetRef="xssc">
  67. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${!auditPass_schq}]]></conditionExpression>
  68. </sequenceFlow>
  69. <sequenceFlow id="flow20" sourceRef="exclusivegateway5" targetRef="sh">
  70. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${auditPass_schq}]]></conditionExpression>
  71. </sequenceFlow>
  72. <sequenceFlow id="flow21" sourceRef="exclusivegateway3" targetRef="endevent2">
  73. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${auditPass_sh&&auditPass_fz}]]></conditionExpression>
  74. </sequenceFlow>
  75. </process>
  76. <bpmndi:BPMNDiagram id="BPMNDiagram_whzyfzsq-city">
  77. <bpmndi:BPMNPlane bpmnElement="whzyfzsq-city" id="BPMNPlane_whzyfzsq-city">
  78. <bpmndi:BPMNShape bpmnElement="start" id="BPMNShape_start">
  79. <omgdc:Bounds height="35.0" width="35.0" x="10.0" y="170.0"></omgdc:Bounds>
  80. </bpmndi:BPMNShape>
  81. <bpmndi:BPMNShape bpmnElement="tb" id="BPMNShape_tb">
  82. <omgdc:Bounds height="55.0" width="105.0" x="70.0" y="160.0"></omgdc:Bounds>
  83. </bpmndi:BPMNShape>
  84. <bpmndi:BPMNShape bpmnElement="xssc" id="BPMNShape_xssc">
  85. <omgdc:Bounds height="55.0" width="105.0" x="198.0" y="160.0"></omgdc:Bounds>
  86. </bpmndi:BPMNShape>
  87. <bpmndi:BPMNShape bpmnElement="exclusivegateway1" id="BPMNShape_exclusivegateway1">
  88. <omgdc:Bounds height="40.0" width="40.0" x="230.0" y="90.0"></omgdc:Bounds>
  89. </bpmndi:BPMNShape>
  90. <bpmndi:BPMNShape bpmnElement="sc" id="BPMNShape_sc">
  91. <omgdc:Bounds height="55.0" width="105.0" x="327.0" y="83.0"></omgdc:Bounds>
  92. </bpmndi:BPMNShape>
  93. <bpmndi:BPMNShape bpmnElement="exclusivegateway2" id="BPMNShape_exclusivegateway2">
  94. <omgdc:Bounds height="40.0" width="40.0" x="359.0" y="167.0"></omgdc:Bounds>
  95. </bpmndi:BPMNShape>
  96. <bpmndi:BPMNShape bpmnElement="sh" id="BPMNShape_sh">
  97. <omgdc:Bounds height="55.0" width="105.0" x="440.0" y="160.0"></omgdc:Bounds>
  98. </bpmndi:BPMNShape>
  99. <bpmndi:BPMNShape bpmnElement="exclusivegateway3" id="BPMNShape_exclusivegateway3">
  100. <omgdc:Bounds height="40.0" width="40.0" x="472.0" y="90.0"></omgdc:Bounds>
  101. </bpmndi:BPMNShape>
  102. <bpmndi:BPMNShape bpmnElement="pz" id="BPMNShape_pz">
  103. <omgdc:Bounds height="55.0" width="105.0" x="570.0" y="160.0"></omgdc:Bounds>
  104. </bpmndi:BPMNShape>
  105. <bpmndi:BPMNShape bpmnElement="endevent2" id="BPMNShape_endevent2">
  106. <omgdc:Bounds height="35.0" width="35.0" x="700.0" y="170.0"></omgdc:Bounds>
  107. </bpmndi:BPMNShape>
  108. <bpmndi:BPMNShape bpmnElement="exclusivegateway4" id="BPMNShape_exclusivegateway4">
  109. <omgdc:Bounds height="40.0" width="40.0" x="602.0" y="290.0"></omgdc:Bounds>
  110. </bpmndi:BPMNShape>
  111. <bpmndi:BPMNShape bpmnElement="schq" id="BPMNShape_schq">
  112. <omgdc:Bounds height="55.0" width="105.0" x="327.0" y="251.0"></omgdc:Bounds>
  113. </bpmndi:BPMNShape>
  114. <bpmndi:BPMNShape bpmnElement="exclusivegateway5" id="BPMNShape_exclusivegateway5">
  115. <omgdc:Bounds height="40.0" width="40.0" x="359.0" y="341.0"></omgdc:Bounds>
  116. </bpmndi:BPMNShape>
  117. <bpmndi:BPMNEdge bpmnElement="flow1" id="BPMNEdge_flow1">
  118. <omgdi:waypoint x="45.0" y="187.0"></omgdi:waypoint>
  119. <omgdi:waypoint x="70.0" y="187.0"></omgdi:waypoint>
  120. </bpmndi:BPMNEdge>
  121. <bpmndi:BPMNEdge bpmnElement="flow2" id="BPMNEdge_flow2">
  122. <omgdi:waypoint x="175.0" y="187.0"></omgdi:waypoint>
  123. <omgdi:waypoint x="198.0" y="187.0"></omgdi:waypoint>
  124. </bpmndi:BPMNEdge>
  125. <bpmndi:BPMNEdge bpmnElement="flow3" id="BPMNEdge_flow3">
  126. <omgdi:waypoint x="250.0" y="160.0"></omgdi:waypoint>
  127. <omgdi:waypoint x="250.0" y="130.0"></omgdi:waypoint>
  128. </bpmndi:BPMNEdge>
  129. <bpmndi:BPMNEdge bpmnElement="flow4" id="BPMNEdge_flow4">
  130. <omgdi:waypoint x="230.0" y="110.0"></omgdi:waypoint>
  131. <omgdi:waypoint x="122.0" y="110.0"></omgdi:waypoint>
  132. <omgdi:waypoint x="122.0" y="160.0"></omgdi:waypoint>
  133. <bpmndi:BPMNLabel>
  134. <omgdc:Bounds height="14.0" width="36.0" x="20.0" y="-20.0"></omgdc:Bounds>
  135. </bpmndi:BPMNLabel>
  136. </bpmndi:BPMNEdge>
  137. <bpmndi:BPMNEdge bpmnElement="flow5" id="BPMNEdge_flow5">
  138. <omgdi:waypoint x="270.0" y="110.0"></omgdi:waypoint>
  139. <omgdi:waypoint x="327.0" y="110.0"></omgdi:waypoint>
  140. <bpmndi:BPMNLabel>
  141. <omgdc:Bounds height="14.0" width="24.0" x="252.0" y="90.0"></omgdc:Bounds>
  142. </bpmndi:BPMNLabel>
  143. </bpmndi:BPMNEdge>
  144. <bpmndi:BPMNEdge bpmnElement="flow6" id="BPMNEdge_flow6">
  145. <omgdi:waypoint x="379.0" y="138.0"></omgdi:waypoint>
  146. <omgdi:waypoint x="379.0" y="167.0"></omgdi:waypoint>
  147. </bpmndi:BPMNEdge>
  148. <bpmndi:BPMNEdge bpmnElement="flow7" id="BPMNEdge_flow7">
  149. <omgdi:waypoint x="359.0" y="187.0"></omgdi:waypoint>
  150. <omgdi:waypoint x="303.0" y="187.0"></omgdi:waypoint>
  151. <bpmndi:BPMNLabel>
  152. <omgdc:Bounds height="14.0" width="36.0" x="338.0" y="194.0"></omgdc:Bounds>
  153. </bpmndi:BPMNLabel>
  154. </bpmndi:BPMNEdge>
  155. <bpmndi:BPMNEdge bpmnElement="flow8" id="BPMNEdge_flow8">
  156. <omgdi:waypoint x="399.0" y="187.0"></omgdi:waypoint>
  157. <omgdi:waypoint x="440.0" y="187.0"></omgdi:waypoint>
  158. <bpmndi:BPMNLabel>
  159. <omgdc:Bounds height="14.0" width="24.0" x="379.0" y="194.0"></omgdc:Bounds>
  160. </bpmndi:BPMNLabel>
  161. </bpmndi:BPMNEdge>
  162. <bpmndi:BPMNEdge bpmnElement="flow9" id="BPMNEdge_flow9">
  163. <omgdi:waypoint x="492.0" y="160.0"></omgdi:waypoint>
  164. <omgdi:waypoint x="492.0" y="130.0"></omgdi:waypoint>
  165. </bpmndi:BPMNEdge>
  166. <bpmndi:BPMNEdge bpmnElement="flow10" id="BPMNEdge_flow10">
  167. <omgdi:waypoint x="472.0" y="110.0"></omgdi:waypoint>
  168. <omgdi:waypoint x="432.0" y="110.0"></omgdi:waypoint>
  169. <bpmndi:BPMNLabel>
  170. <omgdc:Bounds height="14.0" width="36.0" x="463.0" y="90.0"></omgdc:Bounds>
  171. </bpmndi:BPMNLabel>
  172. </bpmndi:BPMNEdge>
  173. <bpmndi:BPMNEdge bpmnElement="flow12" id="BPMNEdge_flow12">
  174. <omgdi:waypoint x="512.0" y="110.0"></omgdi:waypoint>
  175. <omgdi:waypoint x="622.0" y="110.0"></omgdi:waypoint>
  176. <omgdi:waypoint x="622.0" y="160.0"></omgdi:waypoint>
  177. <bpmndi:BPMNLabel>
  178. <omgdc:Bounds height="14.0" width="24.0" x="483.0" y="90.0"></omgdc:Bounds>
  179. </bpmndi:BPMNLabel>
  180. </bpmndi:BPMNEdge>
  181. <bpmndi:BPMNEdge bpmnElement="flow14" id="BPMNEdge_flow14">
  182. <omgdi:waypoint x="622.0" y="215.0"></omgdi:waypoint>
  183. <omgdi:waypoint x="622.0" y="250.0"></omgdi:waypoint>
  184. <omgdi:waypoint x="622.0" y="290.0"></omgdi:waypoint>
  185. </bpmndi:BPMNEdge>
  186. <bpmndi:BPMNEdge bpmnElement="flow15" id="BPMNEdge_flow15">
  187. <omgdi:waypoint x="602.0" y="310.0"></omgdi:waypoint>
  188. <omgdi:waypoint x="492.0" y="310.0"></omgdi:waypoint>
  189. <omgdi:waypoint x="492.0" y="215.0"></omgdi:waypoint>
  190. <bpmndi:BPMNLabel>
  191. <omgdc:Bounds height="14.0" width="36.0" x="508.0" y="290.0"></omgdc:Bounds>
  192. </bpmndi:BPMNLabel>
  193. </bpmndi:BPMNEdge>
  194. <bpmndi:BPMNEdge bpmnElement="flow16" id="BPMNEdge_flow16">
  195. <omgdi:waypoint x="642.0" y="310.0"></omgdi:waypoint>
  196. <omgdi:waypoint x="717.0" y="309.0"></omgdi:waypoint>
  197. <omgdi:waypoint x="717.0" y="205.0"></omgdi:waypoint>
  198. <bpmndi:BPMNLabel>
  199. <omgdc:Bounds height="14.0" width="24.0" x="652.0" y="310.0"></omgdc:Bounds>
  200. </bpmndi:BPMNLabel>
  201. </bpmndi:BPMNEdge>
  202. <bpmndi:BPMNEdge bpmnElement="flow17" id="BPMNEdge_flow17">
  203. <omgdi:waypoint x="379.0" y="207.0"></omgdi:waypoint>
  204. <omgdi:waypoint x="379.0" y="251.0"></omgdi:waypoint>
  205. </bpmndi:BPMNEdge>
  206. <bpmndi:BPMNEdge bpmnElement="flow18" id="BPMNEdge_flow18">
  207. <omgdi:waypoint x="379.0" y="306.0"></omgdi:waypoint>
  208. <omgdi:waypoint x="379.0" y="341.0"></omgdi:waypoint>
  209. </bpmndi:BPMNEdge>
  210. <bpmndi:BPMNEdge bpmnElement="flow19" id="BPMNEdge_flow19">
  211. <omgdi:waypoint x="359.0" y="361.0"></omgdi:waypoint>
  212. <omgdi:waypoint x="250.0" y="361.0"></omgdi:waypoint>
  213. <omgdi:waypoint x="250.0" y="215.0"></omgdi:waypoint>
  214. </bpmndi:BPMNEdge>
  215. <bpmndi:BPMNEdge bpmnElement="flow20" id="BPMNEdge_flow20">
  216. <omgdi:waypoint x="399.0" y="361.0"></omgdi:waypoint>
  217. <omgdi:waypoint x="492.0" y="360.0"></omgdi:waypoint>
  218. <omgdi:waypoint x="492.0" y="215.0"></omgdi:waypoint>
  219. </bpmndi:BPMNEdge>
  220. <bpmndi:BPMNEdge bpmnElement="flow21" id="BPMNEdge_flow21">
  221. <omgdi:waypoint x="492.0" y="90.0"></omgdi:waypoint>
  222. <omgdi:waypoint x="491.0" y="10.0"></omgdi:waypoint>
  223. <omgdi:waypoint x="717.0" y="10.0"></omgdi:waypoint>
  224. <omgdi:waypoint x="717.0" y="170.0"></omgdi:waypoint>
  225. </bpmndi:BPMNEdge>
  226. </bpmndi:BPMNPlane>
  227. </bpmndi:BPMNDiagram>
  228. </definitions>