立项流程.bpmn 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <bpmn2:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" id="sample-diagram" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="5.22.0" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd">
  3. <bpmn2:process id="ProcessProjectApprove" name="立项审批流程" isExecutable="true" camunda:versionTag="1.0">
  4. <bpmn2:startEvent id="event_start">
  5. <bpmn2:extensionElements>
  6. <camunda:properties>
  7. <camunda:property name="test" value="test111" />
  8. </camunda:properties>
  9. </bpmn2:extensionElements>
  10. <bpmn2:outgoing>Flow_15zn1tu</bpmn2:outgoing>
  11. </bpmn2:startEvent>
  12. <bpmn2:userTask id="task_request" name="申请立项" camunda:formKey="prj_create_req" camunda:assignee="owner">
  13. <bpmn2:extensionElements>
  14. <camunda:inputOutput>
  15. <camunda:inputParameter name="show_in_my_works">${false}</camunda:inputParameter>
  16. <camunda:inputParameter name="process_type">${1}</camunda:inputParameter>
  17. </camunda:inputOutput>
  18. <camunda:executionListener event="end">
  19. <camunda:script scriptFormat="JavaScript">
  20. (async function () {
  21. try {
  22. let owner = await this.environment.services.owner(); // 获取任务责任人
  23. if (!owner) {
  24. await this.environment.services.gen_warn_task('admin', '提交立项审核时未找到负责人',
  25. `提交立项审核时未找到负责人,流程出错。case id: ${this.environment.variables.id}`);
  26. }
  27. // 获取项目审核人列表       
  28. let checkers = await this.environment.services.get_handlers('project_checker');
  29. if (!checkers || checkers.length === 0) return;
  30. let checkers_str = "";
  31. for (var i = 0; i &lt; checkers.length; i++) {
  32. if (i &gt; 0) checkers_str += '、';
  33. checkers_str += `${checkers[i].name}`;
  34. }
  35. await this.environment.services.gen_remind_task(owner.id, '立项申请已提交', `&lt;b&gt;${owner.name}&lt;/b&gt;已于 &lt;b&gt;` +
  36. this.environment.services.get_datetime() + `&lt;/b&gt; 提交了立项申请,将由: &lt;br&gt; &lt;b&gt;${checkers_str}&lt;/b&gt; 进行立项审核。`);
  37. await this.environment.services.logger(owner.id, owner.name, `提交了立项申请,将由: &lt;br&gt; &lt;b&gt;${checkers_str}&lt;/b&gt; &lt;br&gt;进行立项审核。`);
  38. } catch (e) {
  39. this.environment.Logger('work').error(e);
  40. }
  41. })();
  42. </camunda:script>
  43. </camunda:executionListener>
  44. <camunda:executionListener event="start">
  45. <camunda:script scriptFormat="JavaScript">
  46. (async function () {
  47. try {
  48. let checkers = await this.environment.services.get_handlers('project_checker');
  49. this.environment.Logger('work').error(checkers);
  50. let result = checkers.length &gt; 0 ? true: false;
  51. if (!result) {
  52. return {
  53. result: false,
  54. message: '立项申请前,请先配置审核组成员,否则无法执行立项审核任务。'
  55. }
  56. } else {
  57. return {
  58. result: true,
  59. message: 'OK'
  60. }
  61. }
  62. } catch (e) {
  63. this.environment.Logger('work').error(e);
  64. return {
  65. result: false,
  66. message: 'fail'
  67. }
  68. }
  69. })();
  70. </camunda:script>
  71. </camunda:executionListener>
  72. </bpmn2:extensionElements>
  73. <bpmn2:incoming>Flow_1t45qnv</bpmn2:incoming>
  74. <bpmn2:incoming>Flow_0gyvyyo</bpmn2:incoming>
  75. <bpmn2:outgoing>Flow_1rg4oob</bpmn2:outgoing>
  76. </bpmn2:userTask>
  77. <bpmn2:sequenceFlow id="Flow_15zn1tu" sourceRef="event_start" targetRef="task_create" />
  78. <bpmn2:sequenceFlow id="Flow_1rg4oob" sourceRef="task_request" targetRef="Activity_16s6waw">
  79. <bpmn2:extensionElements />
  80. </bpmn2:sequenceFlow>
  81. <bpmn2:userTask id="task_approve" name="审核立项" camunda:formKey="prj_approve" camunda:assignee="project_checker">
  82. <bpmn2:documentation>content.output.*来自于signal</bpmn2:documentation>
  83. <bpmn2:extensionElements>
  84. <camunda:inputOutput>
  85. <camunda:inputParameter name="show_in_my_works">${true}</camunda:inputParameter>
  86. <camunda:inputParameter name="process_type">${1}</camunda:inputParameter>
  87. <camunda:inputParameter name="target_type">project-detail</camunda:inputParameter>
  88. <camunda:inputParameter name="prj_id">${environment.variables.prj_id}</camunda:inputParameter>
  89. </camunda:inputOutput>
  90. <camunda:executionListener event="end">
  91. <camunda:script scriptFormat="JavaScript">
  92. (async function () {
  93. try {
  94. let owner = await this.environment.services.owner(); // 获取任务责任人
  95. if (!owner) {
  96. await this.environment.services.gen_warn_task('admin', '立项申请时未找到负责人',
  97. `立项申请时未找到负责人,流程出错。case id: ${this.environment.variables.id}`);
  98. }
  99. this.environment.Logger('work').debug(this.content);
  100. let checker = this.content.handlers[this.content.index]; // 获取当前审核人,这个是循环任务,有多个审核人依次审核
  101. let result = this.content.output[this.content.index]; // 来自于审核人表单结果
  102. if (result.pass) { // 如果审核通过
  103. await this.environment.services.gen_remind_task(owner.id, `${checker.name}已批准立项`,
  104. '&lt;b&gt;' + checker.name + '&lt;/b&gt;已于 &lt;b&gt;' + this.environment.services.get_datetime() + '&lt;/b&gt; 批准立项。审核意见如下:&lt;br&gt;' + result.opinion);
  105. await this.environment.services.logger(checker.id, checker.name, '批准立项,审核意见:' + result.opinion);
  106. } else {
  107. await this.environment.services.gen_remind_task(owner.id, `${checker.name}已驳回立项`,
  108. '&lt;b&gt;' + checker.name + '&lt;/b&gt;已于 &lt;b&gt;' + this.environment.services.get_datetime() + '&lt;/b&gt; 驳回立项。审核意见如下:&lt;br&gt;' + result.opinion);
  109. await this.environment.services.logger(checker.id, checker.name, '驳回立项,审核意见:&lt;span style="color: red;"&gt;' + result.opinion + '&lt;/span&gt;');
  110. }
  111. } catch (e) {
  112. this.environment.Logger('work').error(e);
  113. }
  114. })();
  115. </camunda:script>
  116. </camunda:executionListener>
  117. </bpmn2:extensionElements>
  118. <bpmn2:incoming>Flow_0jpbzcr</bpmn2:incoming>
  119. <bpmn2:outgoing>Flow_193tusd</bpmn2:outgoing>
  120. <bpmn2:multiInstanceLoopCharacteristics isSequential="true" camunda:collection="${content.handlers}" camunda:elementVariable="handler">
  121. <bpmn2:loopCardinality xsi:type="bpmn2:tFormalExpression">${content.handlers.length}</bpmn2:loopCardinality>
  122. <bpmn2:completionCondition xsi:type="bpmn2:tFormalExpression">${!content.output.pass}</bpmn2:completionCondition>
  123. </bpmn2:multiInstanceLoopCharacteristics>
  124. </bpmn2:userTask>
  125. <bpmn2:exclusiveGateway id="gateway_approved" default="Flow_0nwaga3">
  126. <bpmn2:incoming>Flow_193tusd</bpmn2:incoming>
  127. <bpmn2:outgoing>Flow_0zubkyw</bpmn2:outgoing>
  128. <bpmn2:outgoing>Flow_0nwaga3</bpmn2:outgoing>
  129. </bpmn2:exclusiveGateway>
  130. <bpmn2:sequenceFlow id="Flow_193tusd" sourceRef="task_approve" targetRef="gateway_approved" />
  131. <bpmn2:sequenceFlow id="Flow_0zubkyw" name="通过" sourceRef="gateway_approved" targetRef="event_throw_approved">
  132. <bpmn2:extensionElements>
  133. <camunda:properties>
  134. <camunda:property name="prj_phase" value="created" />
  135. <camunda:property name="prj_phase_name" value="审核通过" />
  136. </camunda:properties>
  137. </bpmn2:extensionElements>
  138. <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression" language="JavaScript">next(null, this.environment.variables.pass===true);</bpmn2:conditionExpression>
  139. </bpmn2:sequenceFlow>
  140. <bpmn2:sequenceFlow id="Flow_0nwaga3" name="驳回" sourceRef="gateway_approved" targetRef="event_throw_approved_back">
  141. <bpmn2:extensionElements>
  142. <camunda:properties>
  143. <camunda:property name="prj_phase" value="reject_create" />
  144. <camunda:property name="prj_phase_name" value="立项审请被驳回" />
  145. </camunda:properties>
  146. </bpmn2:extensionElements>
  147. </bpmn2:sequenceFlow>
  148. <bpmn2:userTask id="task_with_draw" name="撤回立项" camunda:assignee="owner">
  149. <bpmn2:extensionElements>
  150. <camunda:inputOutput>
  151. <camunda:inputParameter name="process_type">${1}</camunda:inputParameter>
  152. </camunda:inputOutput>
  153. <camunda:executionListener event="end">
  154. <camunda:script scriptFormat="JavaScript">
  155. (async function() {
  156. try{
  157. let owner = await this.environment.services.owner(); // 获取任务责任人
  158. if (!owner) {
  159. await this.environment.services.gen_warn_task('admin', '立项申请被撤回时未找到负责人',
  160. `立项申请被撤回时未找到负责人,流程出错。case id: ${this.environment.variables.id}`);
  161. }
  162. await this.environment.services.gen_remind_task(owner.id, '立项申请已被撤回',
  163. owner.name+'已于 ' + this.environment.services.get_datetime() + ' 撤回立项申请。');
  164. await this.environment.services.logger(owner.id, owner.name, `撤回了立项申请。`);
  165. } catch(e){
  166. this.environment.Logger('work').error(e);
  167. }
  168. })();
  169. </camunda:script>
  170. </camunda:executionListener>
  171. </bpmn2:extensionElements>
  172. <bpmn2:incoming>Flow_12nug8s</bpmn2:incoming>
  173. <bpmn2:outgoing>Flow_0tj9nd6</bpmn2:outgoing>
  174. </bpmn2:userTask>
  175. <bpmn2:sequenceFlow id="Flow_0tj9nd6" sourceRef="task_with_draw" targetRef="Event_throw_withdraw">
  176. <bpmn2:extensionElements />
  177. </bpmn2:sequenceFlow>
  178. <bpmn2:boundaryEvent id="Event_catch_withdraw" name="撤回" attachedToRef="task_approve">
  179. <bpmn2:outgoing>Flow_0nzbvpg</bpmn2:outgoing>
  180. <bpmn2:signalEventDefinition id="SignalEventDefinition_111s194" signalRef="Signal_0hhmd7l" />
  181. </bpmn2:boundaryEvent>
  182. <bpmn2:intermediateThrowEvent id="Event_throw_withdraw" name="撤回事件">
  183. <bpmn2:incoming>Flow_0tj9nd6</bpmn2:incoming>
  184. <bpmn2:signalEventDefinition id="SignalEventDefinition_1tt7p06" signalRef="Signal_0hhmd7l" />
  185. </bpmn2:intermediateThrowEvent>
  186. <bpmn2:sequenceFlow id="Flow_02taytj" sourceRef="event_throw_approved" targetRef="Activity_10dmh6u">
  187. <bpmn2:extensionElements />
  188. </bpmn2:sequenceFlow>
  189. <bpmn2:intermediateThrowEvent id="event_throw_approved">
  190. <bpmn2:incoming>Flow_0zubkyw</bpmn2:incoming>
  191. <bpmn2:outgoing>Flow_02taytj</bpmn2:outgoing>
  192. <bpmn2:signalEventDefinition id="SignalEventDefinition_07jfo4t" signalRef="Signal_0828f9d" />
  193. </bpmn2:intermediateThrowEvent>
  194. <bpmn2:sequenceFlow id="Flow_1ucg773" sourceRef="event_catch_approved" targetRef="Event_end" />
  195. <bpmn2:boundaryEvent id="event_catch_approved" name="已审核" attachedToRef="task_with_draw">
  196. <bpmn2:outgoing>Flow_1ucg773</bpmn2:outgoing>
  197. <bpmn2:signalEventDefinition id="SignalEventDefinition_02ri5rf" signalRef="Signal_0828f9d" />
  198. </bpmn2:boundaryEvent>
  199. <bpmn2:intermediateThrowEvent id="event_throw_approved_back" name="已审核事件">
  200. <bpmn2:incoming>Flow_0nwaga3</bpmn2:incoming>
  201. <bpmn2:outgoing>Flow_06cxzjx</bpmn2:outgoing>
  202. <bpmn2:signalEventDefinition id="SignalEventDefinition_0y27jk5" signalRef="Signal_0828f9d" />
  203. </bpmn2:intermediateThrowEvent>
  204. <bpmn2:sequenceFlow id="Flow_1t45qnv" sourceRef="task_modify" targetRef="task_request" />
  205. <bpmn2:sequenceFlow id="Flow_0nzbvpg" sourceRef="Event_catch_withdraw" targetRef="task_modify">
  206. <bpmn2:extensionElements>
  207. <camunda:properties>
  208. <camunda:property name="prj_phase" value="reject_create" />
  209. <camunda:property name="prj_phase_name" value="立项申请已撤回" />
  210. </camunda:properties>
  211. </bpmn2:extensionElements>
  212. </bpmn2:sequenceFlow>
  213. <bpmn2:sequenceFlow id="Flow_06cxzjx" sourceRef="event_throw_approved_back" targetRef="task_place_on_file_reject" />
  214. <bpmn2:manualTask id="task_create" name="创建项目">
  215. <bpmn2:incoming>Flow_15zn1tu</bpmn2:incoming>
  216. <bpmn2:outgoing>Flow_0gyvyyo</bpmn2:outgoing>
  217. </bpmn2:manualTask>
  218. <bpmn2:sequenceFlow id="Flow_0gyvyyo" sourceRef="task_create" targetRef="task_request">
  219. <bpmn2:extensionElements />
  220. </bpmn2:sequenceFlow>
  221. <bpmn2:manualTask id="task_modify" name="修改项目信息">
  222. <bpmn2:extensionElements>
  223. <camunda:executionListener event="start">
  224. <camunda:script scriptFormat="JavaScript">console.log("test");</camunda:script>
  225. </camunda:executionListener>
  226. </bpmn2:extensionElements>
  227. <bpmn2:incoming>Flow_0nzbvpg</bpmn2:incoming>
  228. <bpmn2:incoming>Flow_01n3edp</bpmn2:incoming>
  229. <bpmn2:incoming>Flow_0sb2avy</bpmn2:incoming>
  230. <bpmn2:outgoing>Flow_1t45qnv</bpmn2:outgoing>
  231. </bpmn2:manualTask>
  232. <bpmn2:endEvent id="Event_end">
  233. <bpmn2:incoming>Flow_1ucg773</bpmn2:incoming>
  234. <bpmn2:incoming>Flow_0if8for</bpmn2:incoming>
  235. </bpmn2:endEvent>
  236. <bpmn2:sequenceFlow id="Flow_01ekshh" sourceRef="Activity_16s6waw" targetRef="Gateway_00icdjr" />
  237. <bpmn2:scriptTask id="Activity_16s6waw" name="检查审核人是否存在" scriptFormat="JavaScript">
  238. <bpmn2:incoming>Flow_1rg4oob</bpmn2:incoming>
  239. <bpmn2:outgoing>Flow_01ekshh</bpmn2:outgoing>
  240. <bpmn2:script>
  241. this.environment.services.get_handlers('project_checker').then((handlers) =&gt; {
  242. this.environment.variables.checkers_ok = handlers.length &gt; 0 ? true: false;
  243. next();
  244. });</bpmn2:script>
  245. </bpmn2:scriptTask>
  246. <bpmn2:exclusiveGateway id="Gateway_00icdjr" default="Flow_10qwx33">
  247. <bpmn2:incoming>Flow_01ekshh</bpmn2:incoming>
  248. <bpmn2:outgoing>Flow_0a0l2t3</bpmn2:outgoing>
  249. <bpmn2:outgoing>Flow_10qwx33</bpmn2:outgoing>
  250. </bpmn2:exclusiveGateway>
  251. <bpmn2:sequenceFlow id="Flow_0a0l2t3" name="已设置审核组成员" sourceRef="Gateway_00icdjr" targetRef="Gateway_1hhlhsh">
  252. <bpmn2:extensionElements>
  253. <camunda:properties>
  254. <camunda:property name="prj_phase" value="apply_create" />
  255. <camunda:property name="prj_phase_name" value="申请立项中" />
  256. </camunda:properties>
  257. </bpmn2:extensionElements>
  258. <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression" language="JavaScript">next(null, this.environment.variables.checkers_ok===true);</bpmn2:conditionExpression>
  259. </bpmn2:sequenceFlow>
  260. <bpmn2:sequenceFlow id="Flow_10qwx33" sourceRef="Gateway_00icdjr" targetRef="Activity_0zp61jx" />
  261. <bpmn2:sequenceFlow id="Flow_01n3edp" sourceRef="Activity_0zp61jx" targetRef="task_modify" />
  262. <bpmn2:scriptTask id="Activity_0zp61jx" name="提醒设置审核组成员" scriptFormat="JavaScript">
  263. <bpmn2:incoming>Flow_10qwx33</bpmn2:incoming>
  264. <bpmn2:outgoing>Flow_01n3edp</bpmn2:outgoing>
  265. <bpmn2:script>try{
  266. this.environment.services.get_handlers('owner').then((handlers) =&gt; {
  267. for (var i = 0; i &lt; handlers.length; i++) {
  268. this.environment.services.gen_remind_task(handlers[i].id, '提醒:没有配置审核组成员', '立项申请前,请先配置审核组成员,否则无法执行立项审核任务。');
  269. }
  270. next();
  271. });
  272. }catch(e){
  273. console.log(e);
  274. }</bpmn2:script>
  275. </bpmn2:scriptTask>
  276. <bpmn2:inclusiveGateway id="Gateway_1hhlhsh">
  277. <bpmn2:incoming>Flow_0a0l2t3</bpmn2:incoming>
  278. <bpmn2:outgoing>Flow_12nug8s</bpmn2:outgoing>
  279. <bpmn2:outgoing>Flow_0jpbzcr</bpmn2:outgoing>
  280. </bpmn2:inclusiveGateway>
  281. <bpmn2:sequenceFlow id="Flow_12nug8s" sourceRef="Gateway_1hhlhsh" targetRef="task_with_draw" />
  282. <bpmn2:sequenceFlow id="Flow_0jpbzcr" sourceRef="Gateway_1hhlhsh" targetRef="task_approve">
  283. <bpmn2:extensionElements>
  284. <camunda:properties>
  285. <camunda:property name="prj_phase" value="overview_create" />
  286. <camunda:property name="prj_phase_name" value="立项审核中" />
  287. </camunda:properties>
  288. </bpmn2:extensionElements>
  289. </bpmn2:sequenceFlow>
  290. <bpmn2:sequenceFlow id="Flow_0sb2avy" sourceRef="task_place_on_file_reject" targetRef="task_modify" />
  291. <bpmn2:scriptTask id="task_place_on_file_reject" name="归档审核未通过的立项文件" scriptFormat="Javascript">
  292. <bpmn2:incoming>Flow_06cxzjx</bpmn2:incoming>
  293. <bpmn2:outgoing>Flow_0sb2avy</bpmn2:outgoing>
  294. <bpmn2:script>try{
  295. let files = this.environment.output.task_request.files;
  296. this.environment.services.place_on_files(files, "立项驳回").then(()=&gt; next());
  297. } catch(e){
  298. this.environment.Logger('work').error(e);
  299. next();
  300. }</bpmn2:script>
  301. </bpmn2:scriptTask>
  302. <bpmn2:sequenceFlow id="Flow_0if8for" sourceRef="Activity_10dmh6u" targetRef="Event_end" />
  303. <bpmn2:scriptTask id="Activity_10dmh6u" name="归档审核通过的立项文件" scriptFormat="JavaScript">
  304. <bpmn2:incoming>Flow_02taytj</bpmn2:incoming>
  305. <bpmn2:outgoing>Flow_0if8for</bpmn2:outgoing>
  306. <bpmn2:script>try{
  307. let files = this.environment.output.task_request.files;
  308. this.environment.services.place_on_files(files, "立项通过", "project_set_up").then(()=&gt; next());
  309. }catch(e){
  310. next();
  311. }</bpmn2:script>
  312. </bpmn2:scriptTask>
  313. </bpmn2:process>
  314. <bpmn2:signal id="Signal_0hhmd7l" name="cancel_sign" />
  315. <bpmn2:message id="Message_0fh9t3e" name="msg_cancel" />
  316. <bpmn2:message id="Message_1qtzp8g" name="Message_0q7qbc4" />
  317. <bpmn2:signal id="Signal_0828f9d" name="Signal_2sf6vik" />
  318. <bpmndi:BPMNDiagram id="BPMNDiagram_1">
  319. <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="ProcessProjectApprove">
  320. <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="event_start">
  321. <dc:Bounds x="152" y="212" width="36" height="36" />
  322. </bpmndi:BPMNShape>
  323. <bpmndi:BPMNShape id="Activity_09wmdbt_di" bpmnElement="task_request">
  324. <dc:Bounds x="380" y="190" width="100" height="80" />
  325. <bpmndi:BPMNLabel />
  326. </bpmndi:BPMNShape>
  327. <bpmndi:BPMNShape id="Activity_0ds6ym0_di" bpmnElement="task_approve">
  328. <dc:Bounds x="858" y="280" width="100" height="80" />
  329. <bpmndi:BPMNLabel />
  330. </bpmndi:BPMNShape>
  331. <bpmndi:BPMNShape id="Gateway_06baw71_di" bpmnElement="gateway_approved" isMarkerVisible="true">
  332. <dc:Bounds x="1115" y="295" width="50" height="50" />
  333. </bpmndi:BPMNShape>
  334. <bpmndi:BPMNShape id="Activity_0fonc56_di" bpmnElement="task_with_draw">
  335. <dc:Bounds x="870" y="80" width="100" height="80" />
  336. <bpmndi:BPMNLabel />
  337. </bpmndi:BPMNShape>
  338. <bpmndi:BPMNShape id="Event_0mceau4_di" bpmnElement="Event_throw_withdraw">
  339. <dc:Bounds x="1032" y="102" width="36" height="36" />
  340. <bpmndi:BPMNLabel>
  341. <dc:Bounds x="1028" y="78" width="44" height="14" />
  342. </bpmndi:BPMNLabel>
  343. </bpmndi:BPMNShape>
  344. <bpmndi:BPMNShape id="Event_0tntlum_di" bpmnElement="event_throw_approved">
  345. <dc:Bounds x="1242" y="302" width="36" height="36" />
  346. <bpmndi:BPMNLabel>
  347. <dc:Bounds x="1233" y="235" width="55" height="14" />
  348. </bpmndi:BPMNLabel>
  349. </bpmndi:BPMNShape>
  350. <bpmndi:BPMNShape id="Event_1gjhb1n_di" bpmnElement="event_throw_approved_back">
  351. <dc:Bounds x="1122" y="392" width="36" height="36" />
  352. <bpmndi:BPMNLabel>
  353. <dc:Bounds x="1162" y="403" width="55" height="14" />
  354. </bpmndi:BPMNLabel>
  355. </bpmndi:BPMNShape>
  356. <bpmndi:BPMNShape id="Activity_0isolrc_di" bpmnElement="task_create">
  357. <dc:Bounds x="230" y="190" width="100" height="80" />
  358. <bpmndi:BPMNLabel />
  359. </bpmndi:BPMNShape>
  360. <bpmndi:BPMNShape id="Activity_1k7kq2t_di" bpmnElement="task_modify">
  361. <dc:Bounds x="490" y="410" width="100" height="80" />
  362. </bpmndi:BPMNShape>
  363. <bpmndi:BPMNShape id="Event_1jljt88_di" bpmnElement="Event_end">
  364. <dc:Bounds x="1442" y="302" width="36" height="36" />
  365. </bpmndi:BPMNShape>
  366. <bpmndi:BPMNShape id="Activity_0kc4efu_di" bpmnElement="Activity_16s6waw">
  367. <dc:Bounds x="510" y="190" width="100" height="80" />
  368. </bpmndi:BPMNShape>
  369. <bpmndi:BPMNShape id="Gateway_00icdjr_di" bpmnElement="Gateway_00icdjr" isMarkerVisible="true">
  370. <dc:Bounds x="655" y="205" width="50" height="50" />
  371. </bpmndi:BPMNShape>
  372. <bpmndi:BPMNShape id="Activity_0qvsyb4_di" bpmnElement="Activity_0zp61jx">
  373. <dc:Bounds x="630" y="280" width="100" height="80" />
  374. </bpmndi:BPMNShape>
  375. <bpmndi:BPMNShape id="Gateway_06flgld_di" bpmnElement="Gateway_1hhlhsh">
  376. <dc:Bounds x="765" y="155" width="50" height="50" />
  377. </bpmndi:BPMNShape>
  378. <bpmndi:BPMNShape id="Activity_0hdmx5i_di" bpmnElement="task_place_on_file_reject">
  379. <dc:Bounds x="860" y="540" width="100" height="80" />
  380. <bpmndi:BPMNLabel />
  381. </bpmndi:BPMNShape>
  382. <bpmndi:BPMNShape id="Activity_04s4p12_di" bpmnElement="Activity_10dmh6u">
  383. <dc:Bounds x="1310" y="280" width="100" height="80" />
  384. </bpmndi:BPMNShape>
  385. <bpmndi:BPMNShape id="Event_06bs6js_di" bpmnElement="event_catch_approved">
  386. <dc:Bounds x="912" y="142" width="36" height="36" />
  387. <bpmndi:BPMNLabel>
  388. <dc:Bounds x="943" y="173" width="33" height="14" />
  389. </bpmndi:BPMNLabel>
  390. </bpmndi:BPMNShape>
  391. <bpmndi:BPMNShape id="Event_0s1xb2l_di" bpmnElement="Event_catch_withdraw">
  392. <dc:Bounds x="920" y="342" width="36" height="36" />
  393. <bpmndi:BPMNLabel>
  394. <dc:Bounds x="947" y="378" width="22" height="14" />
  395. </bpmndi:BPMNLabel>
  396. </bpmndi:BPMNShape>
  397. <bpmndi:BPMNEdge id="Flow_15zn1tu_di" bpmnElement="Flow_15zn1tu">
  398. <di:waypoint x="188" y="230" />
  399. <di:waypoint x="230" y="230" />
  400. </bpmndi:BPMNEdge>
  401. <bpmndi:BPMNEdge id="Flow_1rg4oob_di" bpmnElement="Flow_1rg4oob">
  402. <di:waypoint x="480" y="230" />
  403. <di:waypoint x="510" y="230" />
  404. </bpmndi:BPMNEdge>
  405. <bpmndi:BPMNEdge id="Flow_193tusd_di" bpmnElement="Flow_193tusd">
  406. <di:waypoint x="958" y="320" />
  407. <di:waypoint x="1115" y="320" />
  408. </bpmndi:BPMNEdge>
  409. <bpmndi:BPMNEdge id="Flow_0zubkyw_di" bpmnElement="Flow_0zubkyw">
  410. <di:waypoint x="1165" y="320" />
  411. <di:waypoint x="1242" y="320" />
  412. <bpmndi:BPMNLabel>
  413. <dc:Bounds x="1193" y="302" width="22" height="14" />
  414. </bpmndi:BPMNLabel>
  415. </bpmndi:BPMNEdge>
  416. <bpmndi:BPMNEdge id="Flow_0nwaga3_di" bpmnElement="Flow_0nwaga3">
  417. <di:waypoint x="1140" y="345" />
  418. <di:waypoint x="1140" y="392" />
  419. <bpmndi:BPMNLabel>
  420. <dc:Bounds x="1144" y="353" width="22" height="14" />
  421. </bpmndi:BPMNLabel>
  422. </bpmndi:BPMNEdge>
  423. <bpmndi:BPMNEdge id="Flow_0tj9nd6_di" bpmnElement="Flow_0tj9nd6">
  424. <di:waypoint x="970" y="120" />
  425. <di:waypoint x="1032" y="120" />
  426. </bpmndi:BPMNEdge>
  427. <bpmndi:BPMNEdge id="Flow_02taytj_di" bpmnElement="Flow_02taytj">
  428. <di:waypoint x="1278" y="320" />
  429. <di:waypoint x="1310" y="320" />
  430. </bpmndi:BPMNEdge>
  431. <bpmndi:BPMNEdge id="Flow_1ucg773_di" bpmnElement="Flow_1ucg773">
  432. <di:waypoint x="930" y="178" />
  433. <di:waypoint x="930" y="240" />
  434. <di:waypoint x="1460" y="240" />
  435. <di:waypoint x="1460" y="302" />
  436. </bpmndi:BPMNEdge>
  437. <bpmndi:BPMNEdge id="Flow_1t45qnv_di" bpmnElement="Flow_1t45qnv">
  438. <di:waypoint x="540" y="410" />
  439. <di:waypoint x="540" y="385" />
  440. <di:waypoint x="450" y="385" />
  441. <di:waypoint x="450" y="270" />
  442. </bpmndi:BPMNEdge>
  443. <bpmndi:BPMNEdge id="Flow_0nzbvpg_di" bpmnElement="Flow_0nzbvpg">
  444. <di:waypoint x="938" y="378" />
  445. <di:waypoint x="938" y="440" />
  446. <di:waypoint x="590" y="440" />
  447. </bpmndi:BPMNEdge>
  448. <bpmndi:BPMNEdge id="Flow_06cxzjx_di" bpmnElement="Flow_06cxzjx">
  449. <di:waypoint x="1140" y="428" />
  450. <di:waypoint x="1140" y="580" />
  451. <di:waypoint x="960" y="580" />
  452. </bpmndi:BPMNEdge>
  453. <bpmndi:BPMNEdge id="Flow_0gyvyyo_di" bpmnElement="Flow_0gyvyyo">
  454. <di:waypoint x="330" y="230" />
  455. <di:waypoint x="380" y="230" />
  456. </bpmndi:BPMNEdge>
  457. <bpmndi:BPMNEdge id="Flow_01ekshh_di" bpmnElement="Flow_01ekshh">
  458. <di:waypoint x="610" y="230" />
  459. <di:waypoint x="655" y="230" />
  460. </bpmndi:BPMNEdge>
  461. <bpmndi:BPMNEdge id="Flow_0a0l2t3_di" bpmnElement="Flow_0a0l2t3">
  462. <di:waypoint x="680" y="205" />
  463. <di:waypoint x="680" y="180" />
  464. <di:waypoint x="765" y="180" />
  465. <bpmndi:BPMNLabel>
  466. <dc:Bounds x="680" y="162" width="88" height="14" />
  467. </bpmndi:BPMNLabel>
  468. </bpmndi:BPMNEdge>
  469. <bpmndi:BPMNEdge id="Flow_10qwx33_di" bpmnElement="Flow_10qwx33">
  470. <di:waypoint x="680" y="255" />
  471. <di:waypoint x="680" y="280" />
  472. </bpmndi:BPMNEdge>
  473. <bpmndi:BPMNEdge id="Flow_01n3edp_di" bpmnElement="Flow_01n3edp">
  474. <di:waypoint x="680" y="360" />
  475. <di:waypoint x="680" y="430" />
  476. <di:waypoint x="590" y="430" />
  477. </bpmndi:BPMNEdge>
  478. <bpmndi:BPMNEdge id="Flow_12nug8s_di" bpmnElement="Flow_12nug8s">
  479. <di:waypoint x="790" y="155" />
  480. <di:waypoint x="790" y="110" />
  481. <di:waypoint x="870" y="110" />
  482. </bpmndi:BPMNEdge>
  483. <bpmndi:BPMNEdge id="Flow_0jpbzcr_di" bpmnElement="Flow_0jpbzcr">
  484. <di:waypoint x="790" y="205" />
  485. <di:waypoint x="790" y="320" />
  486. <di:waypoint x="858" y="320" />
  487. </bpmndi:BPMNEdge>
  488. <bpmndi:BPMNEdge id="Flow_0sb2avy_di" bpmnElement="Flow_0sb2avy">
  489. <di:waypoint x="860" y="580" />
  490. <di:waypoint x="725" y="580" />
  491. <di:waypoint x="725" y="450" />
  492. <di:waypoint x="590" y="450" />
  493. </bpmndi:BPMNEdge>
  494. <bpmndi:BPMNEdge id="Flow_0if8for_di" bpmnElement="Flow_0if8for">
  495. <di:waypoint x="1410" y="320" />
  496. <di:waypoint x="1442" y="320" />
  497. </bpmndi:BPMNEdge>
  498. </bpmndi:BPMNPlane>
  499. </bpmndi:BPMNDiagram>
  500. </bpmn2:definitions>