jdjc.bpmn 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278
  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="jdjc" name="监督检查" isExecutable="true">
  4. <startEvent id="startevent" 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. <userTask id="kzsc" name="wf.kzsc" activiti:candidateGroups="007"></userTask>
  18. <sequenceFlow id="flow5" sourceRef="tb" targetRef="exclusivegateway5"></sequenceFlow>
  19. <sequenceFlow id="flow9" sourceRef="startevent" targetRef="tb"></sequenceFlow>
  20. <userTask id="sh" name="wf.sh" activiti:candidateGroups="005"></userTask>
  21. <sequenceFlow id="flow10" name="上级审批" sourceRef="exclusivegateway1" targetRef="sh">
  22. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${auditPass_kzsc && audit_sjsh}]]></conditionExpression>
  23. </sequenceFlow>
  24. <userTask id="pz" name="wf.pz" activiti:candidateGroups="006"></userTask>
  25. <sequenceFlow id="flow11" name="上级审批" sourceRef="exclusivegateway2" targetRef="pz">
  26. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${auditPass_sh && audit_sjsh}]]></conditionExpression>
  27. </sequenceFlow>
  28. <userTask id="xf" name="wf.xf" activiti:assignee="${applyUserId}"></userTask>
  29. <sequenceFlow id="flow12" name="审批通过" sourceRef="exclusivegateway3" targetRef="xf">
  30. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${auditPass_pz}]]></conditionExpression>
  31. </sequenceFlow>
  32. <userTask id="qytj" name="wf.qytj" activiti:candidateGroups="${role_jyr}"></userTask>
  33. <sequenceFlow id="flow13" sourceRef="xf" targetRef="qytj"></sequenceFlow>
  34. <exclusiveGateway id="exclusivegateway1" name="Exclusive Gateway"></exclusiveGateway>
  35. <sequenceFlow id="flow15" sourceRef="kzsc" targetRef="exclusivegateway1"></sequenceFlow>
  36. <sequenceFlow id="flow16" name="审批通过" sourceRef="exclusivegateway1" targetRef="xf">
  37. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${auditPass_kzsc&& !audit_sjsh}]]></conditionExpression>
  38. </sequenceFlow>
  39. <exclusiveGateway id="exclusivegateway2" name="Exclusive Gateway"></exclusiveGateway>
  40. <sequenceFlow id="flow17" sourceRef="sh" targetRef="exclusivegateway2"></sequenceFlow>
  41. <sequenceFlow id="flow18" name="审批通过" sourceRef="exclusivegateway2" targetRef="xf">
  42. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${auditPass_sh && !audit_sjsh}]]></conditionExpression>
  43. </sequenceFlow>
  44. <sequenceFlow id="flow19" name="审批不通过" sourceRef="exclusivegateway1" targetRef="tb">
  45. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${!auditPass_kzsc}]]></conditionExpression>
  46. </sequenceFlow>
  47. <sequenceFlow id="flow20" name="审批不通过" sourceRef="exclusivegateway2" targetRef="tb">
  48. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${!auditPass_sh}]]></conditionExpression>
  49. </sequenceFlow>
  50. <exclusiveGateway id="exclusivegateway3" name="Exclusive Gateway"></exclusiveGateway>
  51. <sequenceFlow id="flow21" sourceRef="pz" targetRef="exclusivegateway3"></sequenceFlow>
  52. <sequenceFlow id="flow22" name="审批不通过" sourceRef="exclusivegateway3" targetRef="tb">
  53. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${!auditPass_pz}]]></conditionExpression>
  54. </sequenceFlow>
  55. <exclusiveGateway id="exclusivegateway4" name="Exclusive Gateway"></exclusiveGateway>
  56. <endEvent id="endevent1" name="End"></endEvent>
  57. <sequenceFlow id="flow25" name="审查通过" sourceRef="exclusivegateway4" targetRef="endevent1">
  58. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${auditPass_sc}]]></conditionExpression>
  59. </sequenceFlow>
  60. <sequenceFlow id="flow26" name="审查不通过,经营人重填" sourceRef="exclusivegateway4" targetRef="qytj">
  61. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${!auditPass_sc && !thtb}]]></conditionExpression>
  62. </sequenceFlow>
  63. <sequenceFlow id="flow27" name="审查不通过,港口局重填" sourceRef="exclusivegateway4" targetRef="tb">
  64. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${!auditPass_sc && thtb}]]></conditionExpression>
  65. </sequenceFlow>
  66. <exclusiveGateway id="exclusivegateway5" name="Exclusive Gateway"></exclusiveGateway>
  67. <sequenceFlow id="flow28" sourceRef="exclusivegateway5" targetRef="kzsc">
  68. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${auditPass_tb}]]></conditionExpression>
  69. </sequenceFlow>
  70. <sequenceFlow id="flow29" sourceRef="exclusivegateway5" targetRef="qytj">
  71. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${!auditPass_tb}]]></conditionExpression>
  72. </sequenceFlow>
  73. <exclusiveGateway id="exclusivegateway8" name="Exclusive Gateway"></exclusiveGateway>
  74. <sequenceFlow id="flow35" sourceRef="qytj" targetRef="exclusivegateway8"></sequenceFlow>
  75. <userTask id="yqsc" name="wf.yqsc" activiti:candidateGroups="004"></userTask>
  76. <sequenceFlow id="flow40" sourceRef="exclusivegateway8" targetRef="yqsc">
  77. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${auditPass_qytj}]]></conditionExpression>
  78. </sequenceFlow>
  79. <sequenceFlow id="flow41" sourceRef="yqsc" targetRef="qytj"></sequenceFlow>
  80. <userTask id="sc" name="wf.sc" activiti:candidateGroups="004"></userTask>
  81. <sequenceFlow id="flow42" sourceRef="exclusivegateway8" targetRef="sc">
  82. <conditionExpression xsi:type="tFormalExpression"><![CDATA[${!auditPass_qytj}]]></conditionExpression>
  83. </sequenceFlow>
  84. <sequenceFlow id="flow43" sourceRef="sc" targetRef="exclusivegateway4"></sequenceFlow>
  85. </process>
  86. <bpmndi:BPMNDiagram id="BPMNDiagram_jdjc">
  87. <bpmndi:BPMNPlane bpmnElement="jdjc" id="BPMNPlane_jdjc">
  88. <bpmndi:BPMNShape bpmnElement="startevent" id="BPMNShape_startevent">
  89. <omgdc:Bounds height="35.0" width="35.0" x="120.0" y="230.0"></omgdc:Bounds>
  90. </bpmndi:BPMNShape>
  91. <bpmndi:BPMNShape bpmnElement="tb" id="BPMNShape_tb">
  92. <omgdc:Bounds height="55.0" width="105.0" x="210.0" y="220.0"></omgdc:Bounds>
  93. </bpmndi:BPMNShape>
  94. <bpmndi:BPMNShape bpmnElement="kzsc" id="BPMNShape_kzsc">
  95. <omgdc:Bounds height="55.0" width="105.0" x="361.0" y="220.0"></omgdc:Bounds>
  96. </bpmndi:BPMNShape>
  97. <bpmndi:BPMNShape bpmnElement="sh" id="BPMNShape_sh">
  98. <omgdc:Bounds height="55.0" width="105.0" x="600.0" y="220.0"></omgdc:Bounds>
  99. </bpmndi:BPMNShape>
  100. <bpmndi:BPMNShape bpmnElement="pz" id="BPMNShape_pz">
  101. <omgdc:Bounds height="55.0" width="105.0" x="850.0" y="220.0"></omgdc:Bounds>
  102. </bpmndi:BPMNShape>
  103. <bpmndi:BPMNShape bpmnElement="xf" id="BPMNShape_xf">
  104. <omgdc:Bounds height="55.0" width="105.0" x="465.0" y="350.0"></omgdc:Bounds>
  105. </bpmndi:BPMNShape>
  106. <bpmndi:BPMNShape bpmnElement="qytj" id="BPMNShape_qytj">
  107. <omgdc:Bounds height="55.0" width="105.0" x="465.0" y="481.0"></omgdc:Bounds>
  108. </bpmndi:BPMNShape>
  109. <bpmndi:BPMNShape bpmnElement="exclusivegateway1" id="BPMNShape_exclusivegateway1">
  110. <omgdc:Bounds height="40.0" width="40.0" x="497.0" y="227.0"></omgdc:Bounds>
  111. </bpmndi:BPMNShape>
  112. <bpmndi:BPMNShape bpmnElement="exclusivegateway2" id="BPMNShape_exclusivegateway2">
  113. <omgdc:Bounds height="40.0" width="40.0" x="740.0" y="227.0"></omgdc:Bounds>
  114. </bpmndi:BPMNShape>
  115. <bpmndi:BPMNShape bpmnElement="exclusivegateway3" id="BPMNShape_exclusivegateway3">
  116. <omgdc:Bounds height="40.0" width="40.0" x="987.0" y="227.0"></omgdc:Bounds>
  117. </bpmndi:BPMNShape>
  118. <bpmndi:BPMNShape bpmnElement="exclusivegateway4" id="BPMNShape_exclusivegateway4">
  119. <omgdc:Bounds height="40.0" width="40.0" x="732.0" y="590.0"></omgdc:Bounds>
  120. </bpmndi:BPMNShape>
  121. <bpmndi:BPMNShape bpmnElement="endevent1" id="BPMNShape_endevent1">
  122. <omgdc:Bounds height="35.0" width="35.0" x="840.0" y="593.0"></omgdc:Bounds>
  123. </bpmndi:BPMNShape>
  124. <bpmndi:BPMNShape bpmnElement="exclusivegateway5" id="BPMNShape_exclusivegateway5">
  125. <omgdc:Bounds height="40.0" width="40.0" x="326.0" y="310.0"></omgdc:Bounds>
  126. </bpmndi:BPMNShape>
  127. <bpmndi:BPMNShape bpmnElement="exclusivegateway8" id="BPMNShape_exclusivegateway8">
  128. <omgdc:Bounds height="40.0" width="40.0" x="615.0" y="488.0"></omgdc:Bounds>
  129. </bpmndi:BPMNShape>
  130. <bpmndi:BPMNShape bpmnElement="sc" id="BPMNShape_sc">
  131. <omgdc:Bounds height="55.0" width="105.0" x="700.0" y="481.0"></omgdc:Bounds>
  132. </bpmndi:BPMNShape>
  133. <bpmndi:BPMNShape bpmnElement="yqsc" id="BPMNShape_yqsc">
  134. <omgdc:Bounds height="55.0" width="105.0" x="583.0" y="396.0"></omgdc:Bounds>
  135. </bpmndi:BPMNShape>
  136. <bpmndi:BPMNEdge bpmnElement="flow5" id="BPMNEdge_flow5">
  137. <omgdi:waypoint x="262.0" y="275.0"></omgdi:waypoint>
  138. <omgdi:waypoint x="346.0" y="310.0"></omgdi:waypoint>
  139. </bpmndi:BPMNEdge>
  140. <bpmndi:BPMNEdge bpmnElement="flow9" id="BPMNEdge_flow9">
  141. <omgdi:waypoint x="155.0" y="247.0"></omgdi:waypoint>
  142. <omgdi:waypoint x="210.0" y="247.0"></omgdi:waypoint>
  143. </bpmndi:BPMNEdge>
  144. <bpmndi:BPMNEdge bpmnElement="flow10" id="BPMNEdge_flow10">
  145. <omgdi:waypoint x="537.0" y="247.0"></omgdi:waypoint>
  146. <omgdi:waypoint x="600.0" y="247.0"></omgdi:waypoint>
  147. <bpmndi:BPMNLabel>
  148. <omgdc:Bounds height="14.0" width="48.0" x="499.0" y="227.0"></omgdc:Bounds>
  149. </bpmndi:BPMNLabel>
  150. </bpmndi:BPMNEdge>
  151. <bpmndi:BPMNEdge bpmnElement="flow11" id="BPMNEdge_flow11">
  152. <omgdi:waypoint x="780.0" y="247.0"></omgdi:waypoint>
  153. <omgdi:waypoint x="850.0" y="247.0"></omgdi:waypoint>
  154. <bpmndi:BPMNLabel>
  155. <omgdc:Bounds height="14.0" width="48.0" x="753.0" y="227.0"></omgdc:Bounds>
  156. </bpmndi:BPMNLabel>
  157. </bpmndi:BPMNEdge>
  158. <bpmndi:BPMNEdge bpmnElement="flow12" id="BPMNEdge_flow12">
  159. <omgdi:waypoint x="1007.0" y="267.0"></omgdi:waypoint>
  160. <omgdi:waypoint x="1007.0" y="376.0"></omgdi:waypoint>
  161. <omgdi:waypoint x="570.0" y="377.0"></omgdi:waypoint>
  162. <bpmndi:BPMNLabel>
  163. <omgdc:Bounds height="14.0" width="48.0" x="1017.0" y="267.0"></omgdc:Bounds>
  164. </bpmndi:BPMNLabel>
  165. </bpmndi:BPMNEdge>
  166. <bpmndi:BPMNEdge bpmnElement="flow13" id="BPMNEdge_flow13">
  167. <omgdi:waypoint x="517.0" y="405.0"></omgdi:waypoint>
  168. <omgdi:waypoint x="517.0" y="481.0"></omgdi:waypoint>
  169. </bpmndi:BPMNEdge>
  170. <bpmndi:BPMNEdge bpmnElement="flow15" id="BPMNEdge_flow15">
  171. <omgdi:waypoint x="466.0" y="247.0"></omgdi:waypoint>
  172. <omgdi:waypoint x="497.0" y="247.0"></omgdi:waypoint>
  173. </bpmndi:BPMNEdge>
  174. <bpmndi:BPMNEdge bpmnElement="flow16" id="BPMNEdge_flow16">
  175. <omgdi:waypoint x="517.0" y="267.0"></omgdi:waypoint>
  176. <omgdi:waypoint x="517.0" y="350.0"></omgdi:waypoint>
  177. <bpmndi:BPMNLabel>
  178. <omgdc:Bounds height="14.0" width="48.0" x="468.0" y="248.0"></omgdc:Bounds>
  179. </bpmndi:BPMNLabel>
  180. </bpmndi:BPMNEdge>
  181. <bpmndi:BPMNEdge bpmnElement="flow17" id="BPMNEdge_flow17">
  182. <omgdi:waypoint x="705.0" y="247.0"></omgdi:waypoint>
  183. <omgdi:waypoint x="740.0" y="247.0"></omgdi:waypoint>
  184. </bpmndi:BPMNEdge>
  185. <bpmndi:BPMNEdge bpmnElement="flow18" id="BPMNEdge_flow18">
  186. <omgdi:waypoint x="760.0" y="267.0"></omgdi:waypoint>
  187. <omgdi:waypoint x="759.0" y="356.0"></omgdi:waypoint>
  188. <omgdi:waypoint x="570.0" y="377.0"></omgdi:waypoint>
  189. <bpmndi:BPMNLabel>
  190. <omgdc:Bounds height="14.0" width="48.0" x="756.0" y="250.0"></omgdc:Bounds>
  191. </bpmndi:BPMNLabel>
  192. </bpmndi:BPMNEdge>
  193. <bpmndi:BPMNEdge bpmnElement="flow19" id="BPMNEdge_flow19">
  194. <omgdi:waypoint x="517.0" y="227.0"></omgdi:waypoint>
  195. <omgdi:waypoint x="513.0" y="204.0"></omgdi:waypoint>
  196. <omgdi:waypoint x="264.0" y="204.0"></omgdi:waypoint>
  197. <omgdi:waypoint x="262.0" y="220.0"></omgdi:waypoint>
  198. <bpmndi:BPMNLabel>
  199. <omgdc:Bounds height="14.0" width="60.0" x="501.0" y="213.0"></omgdc:Bounds>
  200. </bpmndi:BPMNLabel>
  201. </bpmndi:BPMNEdge>
  202. <bpmndi:BPMNEdge bpmnElement="flow20" id="BPMNEdge_flow20">
  203. <omgdi:waypoint x="760.0" y="227.0"></omgdi:waypoint>
  204. <omgdi:waypoint x="760.0" y="159.0"></omgdi:waypoint>
  205. <omgdi:waypoint x="262.0" y="159.0"></omgdi:waypoint>
  206. <omgdi:waypoint x="262.0" y="220.0"></omgdi:waypoint>
  207. <bpmndi:BPMNLabel>
  208. <omgdc:Bounds height="14.0" width="60.0" x="770.0" y="227.0"></omgdc:Bounds>
  209. </bpmndi:BPMNLabel>
  210. </bpmndi:BPMNEdge>
  211. <bpmndi:BPMNEdge bpmnElement="flow21" id="BPMNEdge_flow21">
  212. <omgdi:waypoint x="955.0" y="247.0"></omgdi:waypoint>
  213. <omgdi:waypoint x="987.0" y="247.0"></omgdi:waypoint>
  214. </bpmndi:BPMNEdge>
  215. <bpmndi:BPMNEdge bpmnElement="flow22" id="BPMNEdge_flow22">
  216. <omgdi:waypoint x="1007.0" y="227.0"></omgdi:waypoint>
  217. <omgdi:waypoint x="1007.0" y="125.0"></omgdi:waypoint>
  218. <omgdi:waypoint x="259.0" y="125.0"></omgdi:waypoint>
  219. <omgdi:waypoint x="262.0" y="220.0"></omgdi:waypoint>
  220. <bpmndi:BPMNLabel>
  221. <omgdc:Bounds height="14.0" width="60.0" x="1017.0" y="227.0"></omgdc:Bounds>
  222. </bpmndi:BPMNLabel>
  223. </bpmndi:BPMNEdge>
  224. <bpmndi:BPMNEdge bpmnElement="flow25" id="BPMNEdge_flow25">
  225. <omgdi:waypoint x="772.0" y="610.0"></omgdi:waypoint>
  226. <omgdi:waypoint x="840.0" y="610.0"></omgdi:waypoint>
  227. <bpmndi:BPMNLabel>
  228. <omgdc:Bounds height="14.0" width="48.0" x="665.0" y="593.0"></omgdc:Bounds>
  229. </bpmndi:BPMNLabel>
  230. </bpmndi:BPMNEdge>
  231. <bpmndi:BPMNEdge bpmnElement="flow26" id="BPMNEdge_flow26">
  232. <omgdi:waypoint x="752.0" y="590.0"></omgdi:waypoint>
  233. <omgdi:waypoint x="517.0" y="536.0"></omgdi:waypoint>
  234. <bpmndi:BPMNLabel>
  235. <omgdc:Bounds height="42.0" width="100.0" x="646.0" y="566.0"></omgdc:Bounds>
  236. </bpmndi:BPMNLabel>
  237. </bpmndi:BPMNEdge>
  238. <bpmndi:BPMNEdge bpmnElement="flow27" id="BPMNEdge_flow27">
  239. <omgdi:waypoint x="732.0" y="610.0"></omgdi:waypoint>
  240. <omgdi:waypoint x="262.0" y="610.0"></omgdi:waypoint>
  241. <omgdi:waypoint x="262.0" y="275.0"></omgdi:waypoint>
  242. <bpmndi:BPMNLabel>
  243. <omgdc:Bounds height="42.0" width="100.0" x="157.0" y="-47.0"></omgdc:Bounds>
  244. </bpmndi:BPMNLabel>
  245. </bpmndi:BPMNEdge>
  246. <bpmndi:BPMNEdge bpmnElement="flow28" id="BPMNEdge_flow28">
  247. <omgdi:waypoint x="346.0" y="310.0"></omgdi:waypoint>
  248. <omgdi:waypoint x="346.0" y="247.0"></omgdi:waypoint>
  249. <omgdi:waypoint x="361.0" y="247.0"></omgdi:waypoint>
  250. </bpmndi:BPMNEdge>
  251. <bpmndi:BPMNEdge bpmnElement="flow29" id="BPMNEdge_flow29">
  252. <omgdi:waypoint x="346.0" y="350.0"></omgdi:waypoint>
  253. <omgdi:waypoint x="346.0" y="508.0"></omgdi:waypoint>
  254. <omgdi:waypoint x="465.0" y="508.0"></omgdi:waypoint>
  255. </bpmndi:BPMNEdge>
  256. <bpmndi:BPMNEdge bpmnElement="flow35" id="BPMNEdge_flow35">
  257. <omgdi:waypoint x="570.0" y="508.0"></omgdi:waypoint>
  258. <omgdi:waypoint x="615.0" y="508.0"></omgdi:waypoint>
  259. </bpmndi:BPMNEdge>
  260. <bpmndi:BPMNEdge bpmnElement="flow40" id="BPMNEdge_flow40">
  261. <omgdi:waypoint x="635.0" y="488.0"></omgdi:waypoint>
  262. <omgdi:waypoint x="635.0" y="451.0"></omgdi:waypoint>
  263. </bpmndi:BPMNEdge>
  264. <bpmndi:BPMNEdge bpmnElement="flow41" id="BPMNEdge_flow41">
  265. <omgdi:waypoint x="635.0" y="451.0"></omgdi:waypoint>
  266. <omgdi:waypoint x="517.0" y="481.0"></omgdi:waypoint>
  267. </bpmndi:BPMNEdge>
  268. <bpmndi:BPMNEdge bpmnElement="flow42" id="BPMNEdge_flow42">
  269. <omgdi:waypoint x="655.0" y="508.0"></omgdi:waypoint>
  270. <omgdi:waypoint x="700.0" y="508.0"></omgdi:waypoint>
  271. </bpmndi:BPMNEdge>
  272. <bpmndi:BPMNEdge bpmnElement="flow43" id="BPMNEdge_flow43">
  273. <omgdi:waypoint x="752.0" y="536.0"></omgdi:waypoint>
  274. <omgdi:waypoint x="752.0" y="590.0"></omgdi:waypoint>
  275. </bpmndi:BPMNEdge>
  276. </bpmndi:BPMNPlane>
  277. </bpmndi:BPMNDiagram>
  278. </definitions>