立项流程.bpmn 25 KB

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