立项流程.bpmn 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502
  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="new" />
  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. <bpmn2:incoming>Flow_0nzbvpg</bpmn2:incoming>
  224. <bpmn2:incoming>Flow_01n3edp</bpmn2:incoming>
  225. <bpmn2:incoming>Flow_0sb2avy</bpmn2:incoming>
  226. <bpmn2:outgoing>Flow_1t45qnv</bpmn2:outgoing>
  227. </bpmn2:manualTask>
  228. <bpmn2:endEvent id="Event_end">
  229. <bpmn2:incoming>Flow_1ucg773</bpmn2:incoming>
  230. <bpmn2:incoming>Flow_0if8for</bpmn2:incoming>
  231. </bpmn2:endEvent>
  232. <bpmn2:sequenceFlow id="Flow_01ekshh" sourceRef="Activity_16s6waw" targetRef="Gateway_00icdjr" />
  233. <bpmn2:scriptTask id="Activity_16s6waw" name="检查审核人是否存在" scriptFormat="JavaScript">
  234. <bpmn2:incoming>Flow_1rg4oob</bpmn2:incoming>
  235. <bpmn2:outgoing>Flow_01ekshh</bpmn2:outgoing>
  236. <bpmn2:script>
  237. this.environment.services.get_handlers('project_checker').then((handlers) =&gt; {
  238. this.environment.variables.checkers_ok = handlers.length &gt; 0 ? true: false;
  239. next();
  240. });</bpmn2:script>
  241. </bpmn2:scriptTask>
  242. <bpmn2:exclusiveGateway id="Gateway_00icdjr" default="Flow_10qwx33">
  243. <bpmn2:incoming>Flow_01ekshh</bpmn2:incoming>
  244. <bpmn2:outgoing>Flow_0a0l2t3</bpmn2:outgoing>
  245. <bpmn2:outgoing>Flow_10qwx33</bpmn2:outgoing>
  246. </bpmn2:exclusiveGateway>
  247. <bpmn2:sequenceFlow id="Flow_0a0l2t3" name="已设置审核组成员" sourceRef="Gateway_00icdjr" targetRef="Gateway_1hhlhsh">
  248. <bpmn2:extensionElements>
  249. <camunda:properties>
  250. <camunda:property name="prj_phase" value="apply_create" />
  251. <camunda:property name="prj_phase_name" value="申请立项中" />
  252. </camunda:properties>
  253. </bpmn2:extensionElements>
  254. <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression" language="JavaScript">next(null, this.environment.variables.checkers_ok===true);</bpmn2:conditionExpression>
  255. </bpmn2:sequenceFlow>
  256. <bpmn2:sequenceFlow id="Flow_10qwx33" sourceRef="Gateway_00icdjr" targetRef="Activity_0zp61jx" />
  257. <bpmn2:sequenceFlow id="Flow_01n3edp" sourceRef="Activity_0zp61jx" targetRef="task_modify" />
  258. <bpmn2:scriptTask id="Activity_0zp61jx" name="提醒设置审核组成员" scriptFormat="JavaScript">
  259. <bpmn2:incoming>Flow_10qwx33</bpmn2:incoming>
  260. <bpmn2:outgoing>Flow_01n3edp</bpmn2:outgoing>
  261. <bpmn2:script>try{
  262. this.environment.services.get_handlers('owner').then((handlers) =&gt; {
  263. for (var i = 0; i &lt; handlers.length; i++) {
  264. this.environment.services.gen_remind_task(handlers[i].id, '提醒:没有配置审核组成员', '立项申请前,请先配置审核组成员,否则无法执行立项审核任务。');
  265. }
  266. next();
  267. });
  268. }catch(e){
  269. console.log(e);
  270. }</bpmn2:script>
  271. </bpmn2:scriptTask>
  272. <bpmn2:inclusiveGateway id="Gateway_1hhlhsh">
  273. <bpmn2:incoming>Flow_0a0l2t3</bpmn2:incoming>
  274. <bpmn2:outgoing>Flow_12nug8s</bpmn2:outgoing>
  275. <bpmn2:outgoing>Flow_0jpbzcr</bpmn2:outgoing>
  276. </bpmn2:inclusiveGateway>
  277. <bpmn2:sequenceFlow id="Flow_12nug8s" sourceRef="Gateway_1hhlhsh" targetRef="task_with_draw" />
  278. <bpmn2:sequenceFlow id="Flow_0jpbzcr" sourceRef="Gateway_1hhlhsh" targetRef="task_approve">
  279. <bpmn2:extensionElements>
  280. <camunda:properties>
  281. <camunda:property name="prj_phase" value="overview_create" />
  282. <camunda:property name="prj_phase_name" value="立项审核中" />
  283. </camunda:properties>
  284. </bpmn2:extensionElements>
  285. </bpmn2:sequenceFlow>
  286. <bpmn2:sequenceFlow id="Flow_0sb2avy" sourceRef="task_place_on_file_reject" targetRef="task_modify" />
  287. <bpmn2:scriptTask id="task_place_on_file_reject" name="归档审核未通过的立项文件" scriptFormat="Javascript">
  288. <bpmn2:incoming>Flow_06cxzjx</bpmn2:incoming>
  289. <bpmn2:outgoing>Flow_0sb2avy</bpmn2:outgoing>
  290. <bpmn2:script>try{
  291. let files = this.environment.output.task_request.files;
  292. this.environment.services.place_on_files(files, "立项驳回").then(()=&gt; next());
  293. } catch(e){
  294. this.environment.Logger('work').error(e);
  295. next();
  296. }</bpmn2:script>
  297. </bpmn2:scriptTask>
  298. <bpmn2:sequenceFlow id="Flow_0if8for" sourceRef="Activity_10dmh6u" targetRef="Event_end" />
  299. <bpmn2:scriptTask id="Activity_10dmh6u" name="归档审核通过的立项文件" scriptFormat="JavaScript">
  300. <bpmn2:incoming>Flow_02taytj</bpmn2:incoming>
  301. <bpmn2:outgoing>Flow_0if8for</bpmn2:outgoing>
  302. <bpmn2:script>try{
  303. let files = this.environment.output.task_request.files;
  304. this.environment.services.place_on_files(files, "立项通过", "project_set_up").then(()=&gt; next());
  305. }catch(e){
  306. next();
  307. }</bpmn2:script>
  308. </bpmn2:scriptTask>
  309. </bpmn2:process>
  310. <bpmn2:signal id="Signal_0hhmd7l" name="cancel_sign" />
  311. <bpmn2:message id="Message_0fh9t3e" name="msg_cancel" />
  312. <bpmn2:message id="Message_1qtzp8g" name="Message_0q7qbc4" />
  313. <bpmn2:signal id="Signal_0828f9d" name="Signal_2sf6vik" />
  314. <bpmndi:BPMNDiagram id="BPMNDiagram_1">
  315. <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="ProcessProjectApprove">
  316. <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="event_start">
  317. <dc:Bounds x="152" y="212" width="36" height="36" />
  318. </bpmndi:BPMNShape>
  319. <bpmndi:BPMNShape id="Activity_09wmdbt_di" bpmnElement="task_request">
  320. <dc:Bounds x="380" y="190" width="100" height="80" />
  321. <bpmndi:BPMNLabel />
  322. </bpmndi:BPMNShape>
  323. <bpmndi:BPMNShape id="Activity_0ds6ym0_di" bpmnElement="task_approve">
  324. <dc:Bounds x="858" y="280" width="100" height="80" />
  325. <bpmndi:BPMNLabel />
  326. </bpmndi:BPMNShape>
  327. <bpmndi:BPMNShape id="Gateway_06baw71_di" bpmnElement="gateway_approved" isMarkerVisible="true">
  328. <dc:Bounds x="1115" y="295" width="50" height="50" />
  329. </bpmndi:BPMNShape>
  330. <bpmndi:BPMNShape id="Activity_0fonc56_di" bpmnElement="task_with_draw">
  331. <dc:Bounds x="870" y="80" width="100" height="80" />
  332. <bpmndi:BPMNLabel />
  333. </bpmndi:BPMNShape>
  334. <bpmndi:BPMNShape id="Event_0mceau4_di" bpmnElement="Event_throw_withdraw">
  335. <dc:Bounds x="1032" y="102" width="36" height="36" />
  336. <bpmndi:BPMNLabel>
  337. <dc:Bounds x="1028" y="78" width="44" height="14" />
  338. </bpmndi:BPMNLabel>
  339. </bpmndi:BPMNShape>
  340. <bpmndi:BPMNShape id="Event_0tntlum_di" bpmnElement="event_throw_approved">
  341. <dc:Bounds x="1242" y="302" width="36" height="36" />
  342. <bpmndi:BPMNLabel>
  343. <dc:Bounds x="1233" y="235" width="55" height="14" />
  344. </bpmndi:BPMNLabel>
  345. </bpmndi:BPMNShape>
  346. <bpmndi:BPMNShape id="Event_1gjhb1n_di" bpmnElement="event_throw_approved_back">
  347. <dc:Bounds x="1122" y="392" width="36" height="36" />
  348. <bpmndi:BPMNLabel>
  349. <dc:Bounds x="1162" y="403" width="55" height="14" />
  350. </bpmndi:BPMNLabel>
  351. </bpmndi:BPMNShape>
  352. <bpmndi:BPMNShape id="Activity_0isolrc_di" bpmnElement="task_create">
  353. <dc:Bounds x="230" y="190" width="100" height="80" />
  354. <bpmndi:BPMNLabel />
  355. </bpmndi:BPMNShape>
  356. <bpmndi:BPMNShape id="Activity_1k7kq2t_di" bpmnElement="task_modify">
  357. <dc:Bounds x="490" y="410" width="100" height="80" />
  358. </bpmndi:BPMNShape>
  359. <bpmndi:BPMNShape id="Event_1jljt88_di" bpmnElement="Event_end">
  360. <dc:Bounds x="1442" y="302" width="36" height="36" />
  361. </bpmndi:BPMNShape>
  362. <bpmndi:BPMNShape id="Activity_0kc4efu_di" bpmnElement="Activity_16s6waw">
  363. <dc:Bounds x="510" y="190" width="100" height="80" />
  364. </bpmndi:BPMNShape>
  365. <bpmndi:BPMNShape id="Gateway_00icdjr_di" bpmnElement="Gateway_00icdjr" isMarkerVisible="true">
  366. <dc:Bounds x="655" y="205" width="50" height="50" />
  367. </bpmndi:BPMNShape>
  368. <bpmndi:BPMNShape id="Activity_0qvsyb4_di" bpmnElement="Activity_0zp61jx">
  369. <dc:Bounds x="630" y="280" width="100" height="80" />
  370. </bpmndi:BPMNShape>
  371. <bpmndi:BPMNShape id="Gateway_06flgld_di" bpmnElement="Gateway_1hhlhsh">
  372. <dc:Bounds x="765" y="155" width="50" height="50" />
  373. </bpmndi:BPMNShape>
  374. <bpmndi:BPMNShape id="Activity_0hdmx5i_di" bpmnElement="task_place_on_file_reject">
  375. <dc:Bounds x="860" y="540" width="100" height="80" />
  376. <bpmndi:BPMNLabel />
  377. </bpmndi:BPMNShape>
  378. <bpmndi:BPMNShape id="Activity_04s4p12_di" bpmnElement="Activity_10dmh6u">
  379. <dc:Bounds x="1310" y="280" width="100" height="80" />
  380. </bpmndi:BPMNShape>
  381. <bpmndi:BPMNShape id="Event_06bs6js_di" bpmnElement="event_catch_approved">
  382. <dc:Bounds x="912" y="142" width="36" height="36" />
  383. <bpmndi:BPMNLabel>
  384. <dc:Bounds x="943" y="173" width="33" height="14" />
  385. </bpmndi:BPMNLabel>
  386. </bpmndi:BPMNShape>
  387. <bpmndi:BPMNShape id="Event_0s1xb2l_di" bpmnElement="Event_catch_withdraw">
  388. <dc:Bounds x="920" y="342" width="36" height="36" />
  389. <bpmndi:BPMNLabel>
  390. <dc:Bounds x="947" y="378" width="22" height="14" />
  391. </bpmndi:BPMNLabel>
  392. </bpmndi:BPMNShape>
  393. <bpmndi:BPMNEdge id="Flow_15zn1tu_di" bpmnElement="Flow_15zn1tu">
  394. <di:waypoint x="188" y="230" />
  395. <di:waypoint x="230" y="230" />
  396. </bpmndi:BPMNEdge>
  397. <bpmndi:BPMNEdge id="Flow_1rg4oob_di" bpmnElement="Flow_1rg4oob">
  398. <di:waypoint x="480" y="230" />
  399. <di:waypoint x="510" y="230" />
  400. </bpmndi:BPMNEdge>
  401. <bpmndi:BPMNEdge id="Flow_193tusd_di" bpmnElement="Flow_193tusd">
  402. <di:waypoint x="958" y="320" />
  403. <di:waypoint x="1115" y="320" />
  404. </bpmndi:BPMNEdge>
  405. <bpmndi:BPMNEdge id="Flow_0zubkyw_di" bpmnElement="Flow_0zubkyw">
  406. <di:waypoint x="1165" y="320" />
  407. <di:waypoint x="1242" y="320" />
  408. <bpmndi:BPMNLabel>
  409. <dc:Bounds x="1193" y="302" width="22" height="14" />
  410. </bpmndi:BPMNLabel>
  411. </bpmndi:BPMNEdge>
  412. <bpmndi:BPMNEdge id="Flow_0nwaga3_di" bpmnElement="Flow_0nwaga3">
  413. <di:waypoint x="1140" y="345" />
  414. <di:waypoint x="1140" y="392" />
  415. <bpmndi:BPMNLabel>
  416. <dc:Bounds x="1144" y="353" width="22" height="14" />
  417. </bpmndi:BPMNLabel>
  418. </bpmndi:BPMNEdge>
  419. <bpmndi:BPMNEdge id="Flow_0tj9nd6_di" bpmnElement="Flow_0tj9nd6">
  420. <di:waypoint x="970" y="120" />
  421. <di:waypoint x="1032" y="120" />
  422. </bpmndi:BPMNEdge>
  423. <bpmndi:BPMNEdge id="Flow_02taytj_di" bpmnElement="Flow_02taytj">
  424. <di:waypoint x="1278" y="320" />
  425. <di:waypoint x="1310" y="320" />
  426. </bpmndi:BPMNEdge>
  427. <bpmndi:BPMNEdge id="Flow_1ucg773_di" bpmnElement="Flow_1ucg773">
  428. <di:waypoint x="930" y="178" />
  429. <di:waypoint x="930" y="240" />
  430. <di:waypoint x="1460" y="240" />
  431. <di:waypoint x="1460" y="302" />
  432. </bpmndi:BPMNEdge>
  433. <bpmndi:BPMNEdge id="Flow_1t45qnv_di" bpmnElement="Flow_1t45qnv">
  434. <di:waypoint x="540" y="410" />
  435. <di:waypoint x="540" y="385" />
  436. <di:waypoint x="450" y="385" />
  437. <di:waypoint x="450" y="270" />
  438. </bpmndi:BPMNEdge>
  439. <bpmndi:BPMNEdge id="Flow_0nzbvpg_di" bpmnElement="Flow_0nzbvpg">
  440. <di:waypoint x="938" y="378" />
  441. <di:waypoint x="938" y="440" />
  442. <di:waypoint x="590" y="440" />
  443. </bpmndi:BPMNEdge>
  444. <bpmndi:BPMNEdge id="Flow_06cxzjx_di" bpmnElement="Flow_06cxzjx">
  445. <di:waypoint x="1140" y="428" />
  446. <di:waypoint x="1140" y="580" />
  447. <di:waypoint x="960" y="580" />
  448. </bpmndi:BPMNEdge>
  449. <bpmndi:BPMNEdge id="Flow_0gyvyyo_di" bpmnElement="Flow_0gyvyyo">
  450. <di:waypoint x="330" y="230" />
  451. <di:waypoint x="380" y="230" />
  452. </bpmndi:BPMNEdge>
  453. <bpmndi:BPMNEdge id="Flow_01ekshh_di" bpmnElement="Flow_01ekshh">
  454. <di:waypoint x="610" y="230" />
  455. <di:waypoint x="655" y="230" />
  456. </bpmndi:BPMNEdge>
  457. <bpmndi:BPMNEdge id="Flow_0a0l2t3_di" bpmnElement="Flow_0a0l2t3">
  458. <di:waypoint x="680" y="205" />
  459. <di:waypoint x="680" y="180" />
  460. <di:waypoint x="765" y="180" />
  461. <bpmndi:BPMNLabel>
  462. <dc:Bounds x="680" y="162" width="88" height="14" />
  463. </bpmndi:BPMNLabel>
  464. </bpmndi:BPMNEdge>
  465. <bpmndi:BPMNEdge id="Flow_10qwx33_di" bpmnElement="Flow_10qwx33">
  466. <di:waypoint x="680" y="255" />
  467. <di:waypoint x="680" y="280" />
  468. </bpmndi:BPMNEdge>
  469. <bpmndi:BPMNEdge id="Flow_01n3edp_di" bpmnElement="Flow_01n3edp">
  470. <di:waypoint x="680" y="360" />
  471. <di:waypoint x="680" y="430" />
  472. <di:waypoint x="590" y="430" />
  473. </bpmndi:BPMNEdge>
  474. <bpmndi:BPMNEdge id="Flow_12nug8s_di" bpmnElement="Flow_12nug8s">
  475. <di:waypoint x="790" y="155" />
  476. <di:waypoint x="790" y="110" />
  477. <di:waypoint x="870" y="110" />
  478. </bpmndi:BPMNEdge>
  479. <bpmndi:BPMNEdge id="Flow_0jpbzcr_di" bpmnElement="Flow_0jpbzcr">
  480. <di:waypoint x="790" y="205" />
  481. <di:waypoint x="790" y="320" />
  482. <di:waypoint x="858" y="320" />
  483. </bpmndi:BPMNEdge>
  484. <bpmndi:BPMNEdge id="Flow_0sb2avy_di" bpmnElement="Flow_0sb2avy">
  485. <di:waypoint x="860" y="580" />
  486. <di:waypoint x="725" y="580" />
  487. <di:waypoint x="725" y="450" />
  488. <di:waypoint x="590" y="450" />
  489. </bpmndi:BPMNEdge>
  490. <bpmndi:BPMNEdge id="Flow_0if8for_di" bpmnElement="Flow_0if8for">
  491. <di:waypoint x="1410" y="320" />
  492. <di:waypoint x="1442" y="320" />
  493. </bpmndi:BPMNEdge>
  494. </bpmndi:BPMNPlane>
  495. </bpmndi:BPMNDiagram>
  496. </bpmn2:definitions>