applyPayment.bpmn 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246
  1. <?xml version="1.0" encoding="UTF-8"?>
  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:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="http://www.activiti.org/test" xmlns:xsd="http://www.w3.org/2001/XMLSchema" id="m1610247356111" name="" targetNamespace="http://www.activiti.org/test">
  3. <process id="applyPayment" name="付款申请" processType="None" isClosed="false" isExecutable="true">
  4. <startEvent id="_2" name="发起申请" />
  5. <endEvent id="_26" name="结束" />
  6. <userTask id="_34" name="经办人" activiti:candidateGroups="curr_user">
  7. <incoming>Flow_1u7oj37</incoming>
  8. </userTask>
  9. <sequenceFlow id="_35" sourceRef="_2" targetRef="_34" />
  10. <userTask id="_3" name="部门负责人" activiti:assignee="${userId}" activiti:candidateGroups="dept_head_1_0_1">
  11. <incoming>Flow_0tf77t6</incoming>
  12. <outgoing>Flow_1u7oj37</outgoing>
  13. </userTask>
  14. <sequenceFlow id="_4" name="申请" sourceRef="_34" targetRef="_3">
  15. <conditionExpression xsi:type="tFormalExpression">${agree=='yes'}</conditionExpression>
  16. </sequenceFlow>
  17. <userTask id="_5" name="财务负责人" activiti:assignee="${userId}" activiti:candidateGroups="flow_cwld_1_0_1">
  18. <incoming>Flow_0sq564u</incoming>
  19. <outgoing>Flow_0tf77t6</outgoing>
  20. </userTask>
  21. <userTask id="_6" name="分管领导" activiti:assignee="${userId}" activiti:candidateGroups="flow_fgld_1_0_1">
  22. <incoming>Flow_1yk6pxs</incoming>
  23. <outgoing>Flow_0sq564u</outgoing>
  24. </userTask>
  25. <userTask id="_7" name="总经理" activiti:assignee="${userId}" activiti:candidateGroups="flow_sjfgld_1_0_1">
  26. <incoming>Flow_0huyir4</incoming>
  27. <outgoing>Flow_1yk6pxs</outgoing>
  28. </userTask>
  29. <userTask id="_9" name="董事长" activiti:assignee="${userId}" activiti:candidateGroups="flow_zyld_1_0_1">
  30. <outgoing>Flow_0huyir4</outgoing>
  31. </userTask>
  32. <sequenceFlow id="_8" name="同意" sourceRef="_3" targetRef="_5">
  33. <conditionExpression xsi:type="tFormalExpression">${agree=='yes'}</conditionExpression>
  34. </sequenceFlow>
  35. <sequenceFlow id="_10" name="同意" sourceRef="_5" targetRef="_6">
  36. <conditionExpression xsi:type="tFormalExpression">${agree=='yes'}</conditionExpression>
  37. </sequenceFlow>
  38. <sequenceFlow id="_11" name="同意" sourceRef="_6" targetRef="_7">
  39. <conditionExpression xsi:type="tFormalExpression">${agree=='yes'}</conditionExpression>
  40. </sequenceFlow>
  41. <sequenceFlow id="_12" name="同意" sourceRef="_7" targetRef="_9">
  42. <conditionExpression xsi:type="tFormalExpression">${agree=='yes'}</conditionExpression>
  43. </sequenceFlow>
  44. <sequenceFlow id="_13" name="同意" sourceRef="_9" targetRef="_26">
  45. <conditionExpression xsi:type="tFormalExpression">${agree=='yes'}</conditionExpression>
  46. </sequenceFlow>
  47. <sequenceFlow id="_14" name="不同意" sourceRef="_3" targetRef="_34">
  48. <conditionExpression xsi:type="tFormalExpression">${agree=='no'}</conditionExpression>
  49. </sequenceFlow>
  50. <sequenceFlow id="_15" name="不同意" sourceRef="_5" targetRef="_34">
  51. <conditionExpression xsi:type="tFormalExpression">${agree=='no'}</conditionExpression>
  52. </sequenceFlow>
  53. <sequenceFlow id="_16" name="不同意" sourceRef="_6" targetRef="_34">
  54. <conditionExpression xsi:type="tFormalExpression">${agree=='no'}</conditionExpression>
  55. </sequenceFlow>
  56. <sequenceFlow id="_17" name="不同意" sourceRef="_7" targetRef="_34">
  57. <conditionExpression xsi:type="tFormalExpression">${agree=='no'}</conditionExpression>
  58. </sequenceFlow>
  59. <sequenceFlow id="_19" name="不同意" sourceRef="_9" targetRef="_34">
  60. <conditionExpression xsi:type="tFormalExpression">${agree=='no'}</conditionExpression>
  61. </sequenceFlow>
  62. <sequenceFlow id="Flow_0tf77t6" sourceRef="_5" targetRef="_3">
  63. <conditionExpression xsi:type="tFormalExpression">${agree=='back'}</conditionExpression>
  64. </sequenceFlow>
  65. <sequenceFlow id="Flow_0sq564u" sourceRef="_6" targetRef="_5">
  66. <conditionExpression xsi:type="tFormalExpression">${agree=='back'}</conditionExpression>
  67. </sequenceFlow>
  68. <sequenceFlow id="Flow_1yk6pxs" sourceRef="_7" targetRef="_6">
  69. <conditionExpression xsi:type="tFormalExpression">${agree=='back'}</conditionExpression>
  70. </sequenceFlow>
  71. <sequenceFlow id="Flow_0huyir4" sourceRef="_9" targetRef="_7">
  72. <conditionExpression xsi:type="tFormalExpression">${agree=='back'}</conditionExpression>
  73. </sequenceFlow>
  74. <sequenceFlow id="Flow_1u7oj37" sourceRef="_3" targetRef="_34">
  75. <conditionExpression xsi:type="tFormalExpression">${agree=='back'}</conditionExpression>
  76. </sequenceFlow>
  77. </process>
  78. <bpmndi:BPMNDiagram id="Diagram-_1" name="New Diagram" 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">
  79. <bpmndi:BPMNPlane bpmnElement="applyPayment">
  80. <bpmndi:BPMNShape id="Shape-_2" bpmnElement="_2">
  81. <omgdc:Bounds x="45" y="115" width="32" height="32" />
  82. <bpmndi:BPMNLabel>
  83. <omgdc:Bounds x="0" y="0" width="32" height="32" />
  84. </bpmndi:BPMNLabel>
  85. </bpmndi:BPMNShape>
  86. <bpmndi:BPMNShape id="Shape-_26" bpmnElement="_26">
  87. <omgdc:Bounds x="1180" y="510" width="32" height="32" />
  88. <bpmndi:BPMNLabel>
  89. <omgdc:Bounds x="0" y="0" width="32" height="32" />
  90. </bpmndi:BPMNLabel>
  91. </bpmndi:BPMNShape>
  92. <bpmndi:BPMNShape id="Shape-_34" bpmnElement="_34">
  93. <omgdc:Bounds x="135" y="245" width="85" height="55" />
  94. <bpmndi:BPMNLabel>
  95. <omgdc:Bounds x="0" y="0" width="85" height="55" />
  96. </bpmndi:BPMNLabel>
  97. </bpmndi:BPMNShape>
  98. <bpmndi:BPMNShape id="Shape-_3" bpmnElement="_3">
  99. <omgdc:Bounds x="330" y="245" width="85" height="55" />
  100. <bpmndi:BPMNLabel>
  101. <omgdc:Bounds x="0" y="0" width="85" height="55" />
  102. </bpmndi:BPMNLabel>
  103. </bpmndi:BPMNShape>
  104. <bpmndi:BPMNShape id="Shape-_5" bpmnElement="_5">
  105. <omgdc:Bounds x="520" y="245" width="95" height="55" />
  106. <bpmndi:BPMNLabel>
  107. <omgdc:Bounds x="0" y="0" width="95" height="55" />
  108. </bpmndi:BPMNLabel>
  109. </bpmndi:BPMNShape>
  110. <bpmndi:BPMNShape id="Shape-_6" bpmnElement="_6">
  111. <omgdc:Bounds x="730" y="245" width="100" height="55" />
  112. <bpmndi:BPMNLabel>
  113. <omgdc:Bounds x="0" y="0" width="100" height="55" />
  114. </bpmndi:BPMNLabel>
  115. </bpmndi:BPMNShape>
  116. <bpmndi:BPMNShape id="Shape-_7" bpmnElement="_7">
  117. <omgdc:Bounds x="930" y="245" width="110" height="55" />
  118. <bpmndi:BPMNLabel>
  119. <omgdc:Bounds x="0" y="0" width="110" height="55" />
  120. </bpmndi:BPMNLabel>
  121. </bpmndi:BPMNShape>
  122. <bpmndi:BPMNShape id="Shape-_9" bpmnElement="_9">
  123. <omgdc:Bounds x="1140" y="245" width="110" height="55" />
  124. <bpmndi:BPMNLabel>
  125. <omgdc:Bounds x="0" y="0" width="110" height="55" />
  126. </bpmndi:BPMNLabel>
  127. </bpmndi:BPMNShape>
  128. <bpmndi:BPMNEdge id="BPMNEdge__35" bpmnElement="_35" sourceElement="_2" targetElement="_34">
  129. <omgdi:waypoint x="63" y="146.87450786638755" />
  130. <omgdi:waypoint x="63" y="219" />
  131. <omgdi:waypoint x="135" y="272.5" />
  132. <bpmndi:BPMNLabel>
  133. <omgdc:Bounds x="0" y="0" width="0" height="0" />
  134. </bpmndi:BPMNLabel>
  135. </bpmndi:BPMNEdge>
  136. <bpmndi:BPMNEdge id="BPMNEdge__4" bpmnElement="_4" sourceElement="_34" targetElement="_3">
  137. <omgdi:waypoint x="220" y="272.5" />
  138. <omgdi:waypoint x="330" y="272.5" />
  139. <bpmndi:BPMNLabel>
  140. <omgdc:Bounds x="0" y="0" width="0" height="0" />
  141. </bpmndi:BPMNLabel>
  142. </bpmndi:BPMNEdge>
  143. <bpmndi:BPMNEdge id="BPMNEdge__8" bpmnElement="_8" sourceElement="_3" targetElement="_5">
  144. <omgdi:waypoint x="415" y="272.5" />
  145. <omgdi:waypoint x="520" y="272.5" />
  146. <bpmndi:BPMNLabel>
  147. <omgdc:Bounds x="0" y="0" width="0" height="0" />
  148. </bpmndi:BPMNLabel>
  149. </bpmndi:BPMNEdge>
  150. <bpmndi:BPMNEdge id="BPMNEdge__10" bpmnElement="_10" sourceElement="_5" targetElement="_6">
  151. <omgdi:waypoint x="615" y="272.5" />
  152. <omgdi:waypoint x="730" y="272.5" />
  153. <bpmndi:BPMNLabel>
  154. <omgdc:Bounds x="0" y="0" width="0" height="0" />
  155. </bpmndi:BPMNLabel>
  156. </bpmndi:BPMNEdge>
  157. <bpmndi:BPMNEdge id="BPMNEdge__11" bpmnElement="_11" sourceElement="_6" targetElement="_7">
  158. <omgdi:waypoint x="830" y="272.5" />
  159. <omgdi:waypoint x="930" y="272.5" />
  160. <bpmndi:BPMNLabel>
  161. <omgdc:Bounds x="0" y="0" width="0" height="0" />
  162. </bpmndi:BPMNLabel>
  163. </bpmndi:BPMNEdge>
  164. <bpmndi:BPMNEdge id="BPMNEdge__12" bpmnElement="_12" sourceElement="_7" targetElement="_9">
  165. <omgdi:waypoint x="1040" y="272.5" />
  166. <omgdi:waypoint x="1140" y="272.5" />
  167. <bpmndi:BPMNLabel>
  168. <omgdc:Bounds x="-11" y="0" width="23" height="14" />
  169. </bpmndi:BPMNLabel>
  170. </bpmndi:BPMNEdge>
  171. <bpmndi:BPMNEdge id="BPMNEdge__13" bpmnElement="_13" sourceElement="_9" targetElement="_26">
  172. <omgdi:waypoint x="1196" y="300" />
  173. <omgdi:waypoint x="1196" y="510" />
  174. <bpmndi:BPMNLabel>
  175. <omgdc:Bounds x="0" y="0" width="0" height="0" />
  176. </bpmndi:BPMNLabel>
  177. </bpmndi:BPMNEdge>
  178. <bpmndi:BPMNEdge id="BPMNEdge__14" bpmnElement="_14" sourceElement="_3" targetElement="_34">
  179. <omgdi:waypoint x="372.5" y="245" />
  180. <omgdi:waypoint x="285" y="225" />
  181. <omgdi:waypoint x="177.5" y="245" />
  182. <bpmndi:BPMNLabel>
  183. <omgdc:Bounds x="0" y="0" width="0" height="0" />
  184. </bpmndi:BPMNLabel>
  185. </bpmndi:BPMNEdge>
  186. <bpmndi:BPMNEdge id="BPMNEdge__15" bpmnElement="_15" sourceElement="_5" targetElement="_34">
  187. <omgdi:waypoint x="567.5" y="245" />
  188. <omgdi:waypoint x="375" y="195" />
  189. <omgdi:waypoint x="177.5" y="245" />
  190. <bpmndi:BPMNLabel>
  191. <omgdc:Bounds x="0" y="0" width="0" height="0" />
  192. </bpmndi:BPMNLabel>
  193. </bpmndi:BPMNEdge>
  194. <bpmndi:BPMNEdge id="BPMNEdge__16" bpmnElement="_16" sourceElement="_6" targetElement="_34">
  195. <omgdi:waypoint x="780" y="245" />
  196. <omgdi:waypoint x="475" y="165" />
  197. <omgdi:waypoint x="177.5" y="245" />
  198. <bpmndi:BPMNLabel>
  199. <omgdc:Bounds x="0" y="0" width="0" height="0" />
  200. </bpmndi:BPMNLabel>
  201. </bpmndi:BPMNEdge>
  202. <bpmndi:BPMNEdge id="BPMNEdge__17" bpmnElement="_17" sourceElement="_7" targetElement="_34">
  203. <omgdi:waypoint x="985" y="245" />
  204. <omgdi:waypoint x="600" y="135" />
  205. <omgdi:waypoint x="177.5" y="245" />
  206. <bpmndi:BPMNLabel>
  207. <omgdc:Bounds x="0" y="0" width="0" height="0" />
  208. </bpmndi:BPMNLabel>
  209. </bpmndi:BPMNEdge>
  210. <bpmndi:BPMNEdge id="BPMNEdge__19" bpmnElement="_19" sourceElement="_9" targetElement="_34">
  211. <omgdi:waypoint x="1195" y="245" />
  212. <omgdi:waypoint x="675" y="105" />
  213. <omgdi:waypoint x="177.5" y="245" />
  214. <bpmndi:BPMNLabel>
  215. <omgdc:Bounds x="0" y="0" width="0" height="0" />
  216. </bpmndi:BPMNLabel>
  217. </bpmndi:BPMNEdge>
  218. <bpmndi:BPMNEdge id="Flow_0tf77t6_di" bpmnElement="Flow_0tf77t6">
  219. <omgdi:waypoint x="521" y="295" />
  220. <omgdi:waypoint x="468" y="320" />
  221. <omgdi:waypoint x="413" y="295" />
  222. </bpmndi:BPMNEdge>
  223. <bpmndi:BPMNEdge id="Flow_0sq564u_di" bpmnElement="Flow_0sq564u">
  224. <omgdi:waypoint x="731" y="294" />
  225. <omgdi:waypoint x="673" y="320" />
  226. <omgdi:waypoint x="613" y="295" />
  227. </bpmndi:BPMNEdge>
  228. <bpmndi:BPMNEdge id="Flow_1yk6pxs_di" bpmnElement="Flow_1yk6pxs">
  229. <omgdi:waypoint x="931" y="292" />
  230. <omgdi:waypoint x="880" y="310" />
  231. <omgdi:waypoint x="824" y="299" />
  232. </bpmndi:BPMNEdge>
  233. <bpmndi:BPMNEdge id="Flow_0huyir4_di" bpmnElement="Flow_0huyir4">
  234. <omgdi:waypoint x="1143" y="296" />
  235. <omgdi:waypoint x="1090" y="320" />
  236. <omgdi:waypoint x="1020" y="300" />
  237. </bpmndi:BPMNEdge>
  238. <bpmndi:BPMNEdge id="Flow_1u7oj37_di" bpmnElement="Flow_1u7oj37">
  239. <omgdi:waypoint x="331" y="293" />
  240. <omgdi:waypoint x="275" y="320" />
  241. <omgdi:waypoint x="217" y="297" />
  242. </bpmndi:BPMNEdge>
  243. </bpmndi:BPMNPlane>
  244. </bpmndi:BPMNDiagram>
  245. </definitions>