ApplyPayOut.bpmn 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276
  1. <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  2. <definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" 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" xmlns:tns="http://www.activiti.org/test" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" expressionLanguage="http://www.w3.org/1999/XPath" id="m1610247356111" name="" targetNamespace="http://www.activiti.org/test" typeLanguage="http://www.w3.org/2001/XMLSchema">
  3. <process id="apply_pay_out" isClosed="false" isExecutable="true" name="付款申请" processType="None">
  4. <startEvent id="_2" name="发起申请"/>
  5. <endEvent id="_26" name="结束"/>
  6. <userTask activiti:candidateGroups="curr_user" activiti:exclusive="true" id="_34" name="申请人发起"/>
  7. <sequenceFlow id="_35" sourceRef="_2" targetRef="_34"/>
  8. <userTask activiti:assignee="${userId}" activiti:candidateGroups="dept_superior_1_0_1" activiti:exclusive="true" id="_3" name="直接上级审核"/>
  9. <sequenceFlow id="_4" name="申请" sourceRef="_34" targetRef="_3">
  10. <conditionExpression xsi:type="tFormalExpression">
  11. <![CDATA[${agree=='yes'}]]>
  12. </conditionExpression>
  13. </sequenceFlow>
  14. <userTask activiti:assignee="${userId}" activiti:candidateGroups="dept_head_1_0_1" activiti:exclusive="true" id="_5" name="部门负责人审核"/>
  15. <userTask activiti:assignee="${userId}" activiti:candidateGroups="flow_fgld_1_0_1" activiti:exclusive="true" id="_6" name="分管领导审核"/>
  16. <userTask activiti:assignee="${userId}" activiti:candidateGroups="flow_sjfgld_1_0_1" activiti:exclusive="true" id="_7" name="上级分管领导审核"/>
  17. <userTask activiti:assignee="${userId}" activiti:candidateGroups="flow_zyld_1_0_1" activiti:exclusive="true" id="_9" name="主要领导审核"/>
  18. <sequenceFlow id="_8" name="同意" sourceRef="_3" targetRef="_5">
  19. <conditionExpression xsi:type="tFormalExpression">
  20. <![CDATA[${agree=='yes'}]]>
  21. </conditionExpression>
  22. </sequenceFlow>
  23. <sequenceFlow id="_10" name="同意" sourceRef="_5" targetRef="_6">
  24. <conditionExpression xsi:type="tFormalExpression">
  25. <![CDATA[${agree=='yes'}]]>
  26. </conditionExpression>
  27. </sequenceFlow>
  28. <sequenceFlow id="_11" name="同意" sourceRef="_6" targetRef="_7">
  29. <conditionExpression xsi:type="tFormalExpression">
  30. <![CDATA[${agree=='yes'}]]>
  31. </conditionExpression>
  32. </sequenceFlow>
  33. <sequenceFlow id="_12" name="同意" sourceRef="_7" targetRef="_9">
  34. <conditionExpression xsi:type="tFormalExpression">
  35. <![CDATA[${agree=='yes'}]]>
  36. </conditionExpression>
  37. </sequenceFlow>
  38. <sequenceFlow id="_14" name="不同意" sourceRef="_3" targetRef="_34">
  39. <conditionExpression xsi:type="tFormalExpression">
  40. <![CDATA[${agree=='no'}]]>
  41. </conditionExpression>
  42. </sequenceFlow>
  43. <sequenceFlow id="_15" name="不同意" sourceRef="_5" targetRef="_34">
  44. <conditionExpression xsi:type="tFormalExpression">
  45. <![CDATA[${agree=='no'}]]>
  46. </conditionExpression>
  47. </sequenceFlow>
  48. <sequenceFlow id="_16" name="不同意" sourceRef="_6" targetRef="_34">
  49. <conditionExpression xsi:type="tFormalExpression">
  50. <![CDATA[${agree=='no'}]]>
  51. </conditionExpression>
  52. </sequenceFlow>
  53. <sequenceFlow id="_17" name="不同意" sourceRef="_7" targetRef="_34">
  54. <conditionExpression xsi:type="tFormalExpression">
  55. <![CDATA[${agree=='no'}]]>
  56. </conditionExpression>
  57. </sequenceFlow>
  58. <sequenceFlow id="_19" name="不同意" sourceRef="_9" targetRef="_34">
  59. <conditionExpression xsi:type="tFormalExpression">
  60. <![CDATA[${agree=='no'}]]>
  61. </conditionExpression>
  62. </sequenceFlow>
  63. <userTask activiti:assignee="${userId}" activiti:candidateGroups="flow_cnzf_0_0_1" activiti:exclusive="true" id="_13" name="出纳支付"/>
  64. <userTask activiti:assignee="${userId}" activiti:candidateGroups="flow_zffh_0_0_1" activiti:exclusive="true" id="_18" name="支付复核"/>
  65. <sequenceFlow id="_20" name="同意" sourceRef="_9" targetRef="_13">
  66. <conditionExpression xsi:type="tFormalExpression">
  67. <![CDATA[${agree=='yes'}]]>
  68. </conditionExpression>
  69. </sequenceFlow>
  70. <sequenceFlow id="_21" name="同意" sourceRef="_13" targetRef="_18">
  71. <conditionExpression xsi:type="tFormalExpression">
  72. <![CDATA[${agree=='yes'}]]>
  73. </conditionExpression>
  74. </sequenceFlow>
  75. <sequenceFlow id="_22" name="同意" sourceRef="_18" targetRef="_26">
  76. <conditionExpression xsi:type="tFormalExpression">
  77. <![CDATA[${agree=='yes'}]]>
  78. </conditionExpression>
  79. </sequenceFlow>
  80. <sequenceFlow id="_23" name="返回上一步" sourceRef="_18" targetRef="_13">
  81. <conditionExpression xsi:type="tFormalExpression">
  82. <![CDATA[${agree=='back'}]]>
  83. </conditionExpression>
  84. </sequenceFlow>
  85. <sequenceFlow id="_24" name="不同意" sourceRef="_13" targetRef="_34">
  86. <conditionExpression xsi:type="tFormalExpression">
  87. <![CDATA[${agree=='no'}]]>
  88. </conditionExpression>
  89. </sequenceFlow>
  90. </process>
  91. <bpmndi:BPMNDiagram documentation="background=#FFFFFF;count=1;horizontalcount=1;orientation=0;width=842.4;height=1195.2;imageableWidth=832.4;imageableHeight=1185.2;imageableX=5.0;imageableY=5.0" id="Diagram-_1" name="New Diagram">
  92. <bpmndi:BPMNPlane bpmnElement="apply_pay_out">
  93. <bpmndi:BPMNShape bpmnElement="_2" id="Shape-_2">
  94. <omgdc:Bounds height="32.0" width="32.0" x="45.0" y="115.0"/>
  95. <bpmndi:BPMNLabel>
  96. <omgdc:Bounds height="32.0" width="32.0" x="0.0" y="0.0"/>
  97. </bpmndi:BPMNLabel>
  98. </bpmndi:BPMNShape>
  99. <bpmndi:BPMNShape bpmnElement="_26" id="Shape-_26">
  100. <omgdc:Bounds height="32.0" width="32.0" x="1180.0" y="575.0"/>
  101. <bpmndi:BPMNLabel>
  102. <omgdc:Bounds height="32.0" width="32.0" x="0.0" y="0.0"/>
  103. </bpmndi:BPMNLabel>
  104. </bpmndi:BPMNShape>
  105. <bpmndi:BPMNShape bpmnElement="_34" id="Shape-_34">
  106. <omgdc:Bounds height="55.0" width="85.0" x="135.0" y="245.0"/>
  107. <bpmndi:BPMNLabel>
  108. <omgdc:Bounds height="55.0" width="85.0" x="0.0" y="0.0"/>
  109. </bpmndi:BPMNLabel>
  110. </bpmndi:BPMNShape>
  111. <bpmndi:BPMNShape bpmnElement="_3" id="Shape-_3">
  112. <omgdc:Bounds height="55.0" width="85.0" x="330.0" y="245.0"/>
  113. <bpmndi:BPMNLabel>
  114. <omgdc:Bounds height="55.0" width="85.0" x="0.0" y="0.0"/>
  115. </bpmndi:BPMNLabel>
  116. </bpmndi:BPMNShape>
  117. <bpmndi:BPMNShape bpmnElement="_5" id="Shape-_5">
  118. <omgdc:Bounds height="55.0" width="95.0" x="520.0" y="245.0"/>
  119. <bpmndi:BPMNLabel>
  120. <omgdc:Bounds height="55.0" width="95.0" x="0.0" y="0.0"/>
  121. </bpmndi:BPMNLabel>
  122. </bpmndi:BPMNShape>
  123. <bpmndi:BPMNShape bpmnElement="_6" id="Shape-_6">
  124. <omgdc:Bounds height="55.0" width="100.0" x="730.0" y="245.0"/>
  125. <bpmndi:BPMNLabel>
  126. <omgdc:Bounds height="55.0" width="100.0" x="0.0" y="0.0"/>
  127. </bpmndi:BPMNLabel>
  128. </bpmndi:BPMNShape>
  129. <bpmndi:BPMNShape bpmnElement="_7" id="Shape-_7">
  130. <omgdc:Bounds height="55.0" width="110.0" x="930.0" y="245.0"/>
  131. <bpmndi:BPMNLabel>
  132. <omgdc:Bounds height="55.0" width="110.0" x="0.0" y="0.0"/>
  133. </bpmndi:BPMNLabel>
  134. </bpmndi:BPMNShape>
  135. <bpmndi:BPMNShape bpmnElement="_9" id="Shape-_9">
  136. <omgdc:Bounds height="55.0" width="110.0" x="1140.0" y="245.0"/>
  137. <bpmndi:BPMNLabel>
  138. <omgdc:Bounds height="55.0" width="110.0" x="0.0" y="0.0"/>
  139. </bpmndi:BPMNLabel>
  140. </bpmndi:BPMNShape>
  141. <bpmndi:BPMNShape bpmnElement="_13" id="Shape-_13">
  142. <omgdc:Bounds height="55.0" width="110.0" x="1140.0" y="345.0"/>
  143. <bpmndi:BPMNLabel>
  144. <omgdc:Bounds height="55.0" width="110.0" x="0.0" y="0.0"/>
  145. </bpmndi:BPMNLabel>
  146. </bpmndi:BPMNShape>
  147. <bpmndi:BPMNShape bpmnElement="_18" id="Shape-_18">
  148. <omgdc:Bounds height="55.0" width="110.0" x="1140.0" y="450.0"/>
  149. <bpmndi:BPMNLabel>
  150. <omgdc:Bounds height="55.0" width="110.0" x="0.0" y="0.0"/>
  151. </bpmndi:BPMNLabel>
  152. </bpmndi:BPMNShape>
  153. <bpmndi:BPMNEdge bpmnElement="_35" id="BPMNEdge__35" sourceElement="_2" targetElement="_34">
  154. <omgdi:waypoint x="63.0" y="146.87450786638755"/>
  155. <omgdi:waypoint x="63.0" y="219.0"/>
  156. <omgdi:waypoint x="135.0" y="272.5"/>
  157. <bpmndi:BPMNLabel>
  158. <omgdc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
  159. </bpmndi:BPMNLabel>
  160. </bpmndi:BPMNEdge>
  161. <bpmndi:BPMNEdge bpmnElement="_12" id="BPMNEdge__12" sourceElement="_7" targetElement="_9">
  162. <omgdi:waypoint x="1040.0" y="272.5"/>
  163. <omgdi:waypoint x="1140.0" y="272.5"/>
  164. <bpmndi:BPMNLabel>
  165. <omgdc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
  166. </bpmndi:BPMNLabel>
  167. </bpmndi:BPMNEdge>
  168. <bpmndi:BPMNEdge bpmnElement="_15" id="BPMNEdge__15" sourceElement="_5" targetElement="_34">
  169. <omgdi:waypoint x="567.5" y="245.0"/>
  170. <omgdi:waypoint x="375.0" y="195.0"/>
  171. <omgdi:waypoint x="177.5" y="245.0"/>
  172. <bpmndi:BPMNLabel>
  173. <omgdc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
  174. </bpmndi:BPMNLabel>
  175. </bpmndi:BPMNEdge>
  176. <bpmndi:BPMNEdge bpmnElement="_14" id="BPMNEdge__14" sourceElement="_3" targetElement="_34">
  177. <omgdi:waypoint x="372.5" y="245.0"/>
  178. <omgdi:waypoint x="285.0" y="225.0"/>
  179. <omgdi:waypoint x="177.5" y="245.0"/>
  180. <bpmndi:BPMNLabel>
  181. <omgdc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
  182. </bpmndi:BPMNLabel>
  183. </bpmndi:BPMNEdge>
  184. <bpmndi:BPMNEdge bpmnElement="_17" id="BPMNEdge__17" sourceElement="_7" targetElement="_34">
  185. <omgdi:waypoint x="985.0" y="245.0"/>
  186. <omgdi:waypoint x="600.0" y="135.0"/>
  187. <omgdi:waypoint x="177.5" y="245.0"/>
  188. <bpmndi:BPMNLabel>
  189. <omgdc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
  190. </bpmndi:BPMNLabel>
  191. </bpmndi:BPMNEdge>
  192. <bpmndi:BPMNEdge bpmnElement="_16" id="BPMNEdge__16" sourceElement="_6" targetElement="_34">
  193. <omgdi:waypoint x="780.0" y="245.0"/>
  194. <omgdi:waypoint x="475.0" y="165.0"/>
  195. <omgdi:waypoint x="177.5" y="245.0"/>
  196. <bpmndi:BPMNLabel>
  197. <omgdc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
  198. </bpmndi:BPMNLabel>
  199. </bpmndi:BPMNEdge>
  200. <bpmndi:BPMNEdge bpmnElement="_19" id="BPMNEdge__19" sourceElement="_9" targetElement="_34">
  201. <omgdi:waypoint x="1195.0" y="245.0"/>
  202. <omgdi:waypoint x="675.0" y="105.0"/>
  203. <omgdi:waypoint x="177.5" y="245.0"/>
  204. <bpmndi:BPMNLabel>
  205. <omgdc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
  206. </bpmndi:BPMNLabel>
  207. </bpmndi:BPMNEdge>
  208. <bpmndi:BPMNEdge bpmnElement="_20" id="BPMNEdge__20" sourceElement="_9" targetElement="_13">
  209. <omgdi:waypoint x="1195.0" y="300.0"/>
  210. <omgdi:waypoint x="1195.0" y="345.0"/>
  211. <bpmndi:BPMNLabel>
  212. <omgdc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
  213. </bpmndi:BPMNLabel>
  214. </bpmndi:BPMNEdge>
  215. <bpmndi:BPMNEdge bpmnElement="_22" id="BPMNEdge__22" sourceElement="_18" targetElement="_26">
  216. <omgdi:waypoint x="1196.0" y="505.0"/>
  217. <omgdi:waypoint x="1196.0" y="575.0"/>
  218. <bpmndi:BPMNLabel>
  219. <omgdc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
  220. </bpmndi:BPMNLabel>
  221. </bpmndi:BPMNEdge>
  222. <bpmndi:BPMNEdge bpmnElement="_21" id="BPMNEdge__21" sourceElement="_13" targetElement="_18">
  223. <omgdi:waypoint x="1195.0" y="400.0"/>
  224. <omgdi:waypoint x="1195.0" y="450.0"/>
  225. <bpmndi:BPMNLabel>
  226. <omgdc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
  227. </bpmndi:BPMNLabel>
  228. </bpmndi:BPMNEdge>
  229. <bpmndi:BPMNEdge bpmnElement="_24" id="BPMNEdge__24" sourceElement="_13" targetElement="_34">
  230. <omgdi:waypoint x="1140.0" y="375.0"/>
  231. <omgdi:waypoint x="180.0" y="375.0"/>
  232. <omgdi:waypoint x="180.0" y="300.0"/>
  233. <bpmndi:BPMNLabel>
  234. <omgdc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
  235. </bpmndi:BPMNLabel>
  236. </bpmndi:BPMNEdge>
  237. <bpmndi:BPMNEdge bpmnElement="_23" id="BPMNEdge__23" sourceElement="_18" targetElement="_13">
  238. <omgdi:waypoint x="1250.0" y="477.5"/>
  239. <omgdi:waypoint x="1275.0" y="425.0"/>
  240. <omgdi:waypoint x="1250.0" y="372.5"/>
  241. <bpmndi:BPMNLabel>
  242. <omgdc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
  243. </bpmndi:BPMNLabel>
  244. </bpmndi:BPMNEdge>
  245. <bpmndi:BPMNEdge bpmnElement="_4" id="BPMNEdge__4" sourceElement="_34" targetElement="_3">
  246. <omgdi:waypoint x="220.0" y="272.5"/>
  247. <omgdi:waypoint x="330.0" y="272.5"/>
  248. <bpmndi:BPMNLabel>
  249. <omgdc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
  250. </bpmndi:BPMNLabel>
  251. </bpmndi:BPMNEdge>
  252. <bpmndi:BPMNEdge bpmnElement="_8" id="BPMNEdge__8" sourceElement="_3" targetElement="_5">
  253. <omgdi:waypoint x="415.0" y="272.5"/>
  254. <omgdi:waypoint x="520.0" y="272.5"/>
  255. <bpmndi:BPMNLabel>
  256. <omgdc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
  257. </bpmndi:BPMNLabel>
  258. </bpmndi:BPMNEdge>
  259. <bpmndi:BPMNEdge bpmnElement="_11" id="BPMNEdge__11" sourceElement="_6" targetElement="_7">
  260. <omgdi:waypoint x="830.0" y="272.5"/>
  261. <omgdi:waypoint x="930.0" y="272.5"/>
  262. <bpmndi:BPMNLabel>
  263. <omgdc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
  264. </bpmndi:BPMNLabel>
  265. </bpmndi:BPMNEdge>
  266. <bpmndi:BPMNEdge bpmnElement="_10" id="BPMNEdge__10" sourceElement="_5" targetElement="_6">
  267. <omgdi:waypoint x="615.0" y="272.5"/>
  268. <omgdi:waypoint x="730.0" y="272.5"/>
  269. <bpmndi:BPMNLabel>
  270. <omgdc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
  271. </bpmndi:BPMNLabel>
  272. </bpmndi:BPMNEdge>
  273. </bpmndi:BPMNPlane>
  274. </bpmndi:BPMNDiagram>
  275. </definitions>