forest-cli 5.24.4 → 5.25.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/dist/services/dumpers/agent-nodejs.d.ts.map +1 -1
  2. package/dist/services/dumpers/agent-nodejs.js +11 -4
  3. package/dist/services/dumpers/templates/agent-nodejs/common/components/hub/back.hbs +1 -0
  4. package/dist/services/dumpers/templates/agent-nodejs/common/components/hub/back.js +154 -0
  5. package/dist/services/dumpers/templates/agent-nodejs/common/components/hub/component.js +154 -0
  6. package/dist/services/dumpers/templates/agent-nodejs/common/components/hub/data-map.css +416 -0
  7. package/dist/services/dumpers/templates/agent-nodejs/common/components/hub/data-map.hbs +99 -0
  8. package/dist/services/dumpers/templates/agent-nodejs/common/components/hub/data-map.js +243 -0
  9. package/dist/services/dumpers/templates/agent-nodejs/common/components/hub/demo-guide.css +278 -0
  10. package/dist/services/dumpers/templates/agent-nodejs/common/components/hub/demo-guide.hbs +38 -0
  11. package/dist/services/dumpers/templates/agent-nodejs/common/components/hub/demo-guide.js +353 -0
  12. package/dist/services/dumpers/templates/agent-nodejs/common/components/hub/feature-activity.js +124 -0
  13. package/dist/services/dumpers/templates/agent-nodejs/common/components/hub/feature-agent.js +124 -0
  14. package/dist/services/dumpers/templates/agent-nodejs/common/components/hub/feature-ai.js +124 -0
  15. package/dist/services/dumpers/templates/agent-nodejs/common/components/hub/feature-charts.js +124 -0
  16. package/dist/services/dumpers/templates/agent-nodejs/common/components/hub/feature-collections.js +124 -0
  17. package/dist/services/dumpers/templates/agent-nodejs/common/components/hub/feature-custom-components.js +124 -0
  18. package/dist/services/dumpers/templates/agent-nodejs/common/components/hub/feature-inboxes.js +124 -0
  19. package/dist/services/dumpers/templates/agent-nodejs/common/components/hub/feature-roles.js +124 -0
  20. package/dist/services/dumpers/templates/agent-nodejs/common/components/hub/feature-segments.js +124 -0
  21. package/dist/services/dumpers/templates/agent-nodejs/common/components/hub/feature-smart-actions.js +124 -0
  22. package/dist/services/dumpers/templates/agent-nodejs/common/components/hub/feature-workflows.js +124 -0
  23. package/dist/services/dumpers/templates/agent-nodejs/common/components/hub/feature-workspaces.js +124 -0
  24. package/dist/services/dumpers/templates/agent-nodejs/common/components/hub/feature.css +1109 -0
  25. package/dist/services/dumpers/templates/agent-nodejs/common/components/hub/feature.hbs +286 -0
  26. package/dist/services/dumpers/templates/agent-nodejs/common/components/hub/go-to.hbs +4 -0
  27. package/dist/services/dumpers/templates/agent-nodejs/common/components/hub/go-to.js +217 -0
  28. package/dist/services/dumpers/templates/agent-nodejs/common/components/hub/kyc-flow.css +580 -0
  29. package/dist/services/dumpers/templates/agent-nodejs/common/components/hub/kyc-flow.hbs +80 -0
  30. package/dist/services/dumpers/templates/agent-nodejs/common/components/hub/kyc-flow.js +49 -0
  31. package/dist/services/dumpers/templates/agent-nodejs/common/components/hub/run-action.hbs +3 -0
  32. package/dist/services/dumpers/templates/agent-nodejs/common/components/hub/run-action.js +96 -0
  33. package/dist/services/dumpers/templates/agent-nodejs/common/components/hub/select-first.css +131 -0
  34. package/dist/services/dumpers/templates/agent-nodejs/common/components/hub/select-first.hbs +4 -0
  35. package/dist/services/dumpers/templates/agent-nodejs/common/components/hub/select-first.js +205 -0
  36. package/dist/services/dumpers/templates/agent-nodejs/common/components/hub/senior-guide.hbs +39 -0
  37. package/dist/services/dumpers/templates/agent-nodejs/common/components/hub/senior-guide.js +189 -0
  38. package/dist/services/dumpers/templates/agent-nodejs/common/components/hub/style.css +372 -0
  39. package/dist/services/dumpers/templates/agent-nodejs/common/components/hub/template.hbs +83 -0
  40. package/dist/services/dumpers/templates/agent-nodejs/common/forest-layout.json +52897 -8498
  41. package/dist/services/dumpers/templates/agent-nodejs/common/workflows/203696b1-e9ca-45f3-9bd3-5bc6fb4fd8c3.bpmn +161 -0
  42. package/dist/services/dumpers/templates/agent-nodejs/common/workflows/2bc0c0ff-486c-44b1-ae31-3de204f7b14f.bpmn +107 -0
  43. package/dist/services/dumpers/templates/agent-nodejs/common/workflows/4b37a274-117f-4c2d-96ad-21d1be4d0bc7.bpmn +159 -0
  44. package/dist/services/dumpers/templates/agent-nodejs/common/workflows/56ff9484-8308-4971-9e02-3de5eea2e240.bpmn +67 -0
  45. package/dist/services/dumpers/templates/agent-nodejs/common/workflows/619e3e88-4a9c-4f02-84fb-732c16f9b5bf.bpmn +43 -0
  46. package/dist/services/dumpers/templates/agent-nodejs/common/workflows/76516b9e-aac0-4f7b-9794-8f86c529531b.bpmn +75 -0
  47. package/dist/services/dumpers/templates/agent-nodejs/common/workflows/86b4fc1e-b10a-4906-9fd1-e601eaad83c0.bpmn +81 -0
  48. package/dist/services/dumpers/templates/agent-nodejs/common/workflows/92b119e5-c908-48d1-9a0d-23173c57bd5b.bpmn +47 -0
  49. package/dist/services/dumpers/templates/agent-nodejs/common/workflows/92c02240-9c8a-49e7-9993-077af3e1ddcc.bpmn +77 -0
  50. package/dist/services/dumpers/templates/agent-nodejs/common/workflows/aac25aee-f626-40a8-9459-d2a933fb8446.bpmn +105 -0
  51. package/dist/services/dumpers/templates/agent-nodejs/common/workflows/b269dbff-5fde-401f-a05b-76a7dac79387.bpmn +75 -0
  52. package/dist/services/dumpers/templates/agent-nodejs/common/workflows/d8b208a9-fc71-4005-acb9-ba5fedd2499f.bpmn +73 -0
  53. package/dist/services/dumpers/templates/agent-nodejs/common/workflows/e3abab67-7bc6-4a44-9848-c7f83a55a56d.bpmn +71 -0
  54. package/dist/services/dumpers/templates/agent-nodejs/javascript/index.hbs +45 -4
  55. package/dist/services/dumpers/templates/agent-nodejs/typescript/index.hbs +45 -4
  56. package/oclif.manifest.json +376 -376
  57. package/package.json +6 -2
  58. package/dist/services/dumpers/templates/agent-nodejs/common/workflows/30d581e3-294e-4790-b723-0f16509ecae0.bpmn +0 -2
  59. package/dist/services/dumpers/templates/agent-nodejs/common/workflows/52e0acb4-6064-472a-9823-cdfd7fa7a3ab.bpmn +0 -2
  60. package/dist/services/dumpers/templates/agent-nodejs/common/workflows/71f692b4-fe4f-476d-8251-fdc5af1ec51e.bpmn +0 -2
  61. package/dist/services/dumpers/templates/agent-nodejs/common/workflows/9d564d80-19d1-4ce4-bb4b-aaf41e7ef5b6.bpmn +0 -2
  62. package/dist/services/dumpers/templates/agent-nodejs/common/workflows/c8ab4b5d-20df-4d28-9160-0d4376282c90.bpmn +0 -2
  63. package/dist/services/dumpers/templates/agent-nodejs/common/workflows/d0289f67-2c9e-4c69-b1ee-ecbbace841b3.bpmn +0 -2
  64. package/dist/services/dumpers/templates/agent-nodejs/common/workflows/d07aa5ee-9a49-4916-a1b5-1f953bfe9a8e.bpmn +0 -2
  65. package/dist/services/dumpers/templates/agent-nodejs/common/workflows/e25c6237-b882-498b-9655-b16b30131b10.bpmn +0 -2
  66. package/dist/services/dumpers/templates/agent-nodejs/common/workflows/f01b9e61-4156-47b8-b6a1-5c90adbcd2ba.bpmn +0 -2
@@ -0,0 +1,67 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <bpmn:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn="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:forest="https://app.forestadmin.com" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn">
3
+ <bpmn:process id="Process_1" isExecutable="true">
4
+ <bpmn:startEvent id="Start_1"><bpmn:outgoing>flow_Start_1_dispute</bpmn:outgoing></bpmn:startEvent>
5
+ <bpmn:serviceTask id="dispute" name="Read the dispute" forest:alternative="get-data" forest:automaticCompletion="false" forest:preRecordedArgs="{&quot;selectedRecordStepId&quot;:&quot;workflow-start&quot;,&quot;fieldNames&quot;:[&quot;dispute_reason&quot;,&quot;dispute_amount&quot;,&quot;dispute_payment&quot;,&quot;dispute_date&quot;,&quot;dispute_channel&quot;]}" forest:description="Read all 5 of these fields of this dispute request (every one is needed): &quot;Dispute · Reason&quot;, &quot;Dispute · Amount&quot;, &quot;Dispute · Payment type&quot;, &quot;Dispute · Filed on&quot; and &quot;Dispute · Channel&quot;: what the customer says, the amount, the kind of payment, when and how they filed it."><bpmn:outgoing>flow_dispute_payment</bpmn:outgoing></bpmn:serviceTask>
6
+ <bpmn:serviceTask id="payment" name="Read the disputed payment" forest:alternative="get-data" forest:automaticCompletion="false" forest:preRecordedArgs="{&quot;selectedRecordStepId&quot;:&quot;workflow-start&quot;,&quot;fieldNames&quot;:[&quot;payment_party&quot;,&quot;payment_date&quot;,&quot;payment_auth&quot;,&quot;payment_device&quot;]}" forest:description="Read all 4 of these fields of this dispute request (every one is needed): &quot;Payment · Paid to&quot;, &quot;Payment · Date&quot;, &quot;Payment · Authentication&quot; and &quot;Payment · Device&quot;: who was paid, when, how the payment was authenticated (3-D Secure, chip, PIN, app confirmation), and from which device or terminal."><bpmn:outgoing>flow_payment_eligibility</bpmn:outgoing></bpmn:serviceTask>
7
+ <bpmn:serviceTask id="eligibility" name="Check the eligibility" forest:alternative="get-data" forest:automaticCompletion="false" forest:preRecordedArgs="{&quot;selectedRecordStepId&quot;:&quot;workflow-start&quot;,&quot;fieldNames&quot;:[&quot;route_suggested&quot;,&quot;elig_deadline&quot;,&quot;elig_merchant&quot;,&quot;elig_history&quot;,&quot;elig_refund&quot;]}" forest:description="Read all 5 of these fields of this dispute request (every one is needed): &quot;Eligibility · Suggested route&quot;, &quot;Eligibility · Time to claim&quot;, &quot;Eligibility · Merchant contacted&quot;, &quot;Eligibility · Earlier disputes&quot; and &quot;Eligibility · Refund by the next business day (PSD2)&quot;: the time left to claim (card 120 days, SEPA rules), whether the merchant was contacted, earlier disputes (3 in 6 months raises an alert), the refund owed by the next business day on an unauthorised payment (PSD2), and the route these rules suggest."><bpmn:outgoing>flow_eligibility_route</bpmn:outgoing></bpmn:serviceTask>
8
+ <bpmn:exclusiveGateway id="route" name="Where does it go?" forest:aiDecision="true" forest:description="Take the route &quot;Eligibility · Suggested route&quot; names after its symbol: Card chargeback, SEPA dispute, Bank refund, Merchant first or Not eligible."><bpmn:outgoing>flow_route_to_cb</bpmn:outgoing><bpmn:outgoing>flow_route_to_sepa</bpmn:outgoing><bpmn:outgoing>flow_route_refund</bpmn:outgoing><bpmn:outgoing>flow_route_merchant</bpmn:outgoing><bpmn:outgoing>flow_route_decline</bpmn:outgoing></bpmn:exclusiveGateway>
9
+ <bpmn:serviceTask id="to_cb" name="Open a chargeback" forest:alternative="trigger-action" forest:automaticExecution="true" forest:automaticCompletion="false" forest:description="Run &quot;Route dispute&quot; with route CHARGEBACK: it opens the chargeback for the &quot;Chargebacks to file&quot; queue. On an unauthorised payment it also blocks the card (Marqeta) and credits the customer at once. The result card shows the chargeback opened and its deadline to file, the card blocked on an unauthorised payment, and the money credited to the customer."><bpmn:outgoing>flow_to_cb_end_cb</bpmn:outgoing></bpmn:serviceTask>
10
+ <bpmn:endEvent id="end_cb" name="Chargeback opened"></bpmn:endEvent>
11
+ <bpmn:serviceTask id="to_sepa" name="Open a SEPA dispute" forest:alternative="trigger-action" forest:automaticExecution="true" forest:automaticCompletion="false" forest:description="Run &quot;Route dispute&quot; with route SEPA_DISPUTE: the recall or refund request goes to the other bank through the SEPA network (STET). On an unauthorised payment the customer is refunded at once (PSD2). The result card shows the SEPA dispute sent and when the other bank must answer, and the refund on an unauthorised payment."><bpmn:outgoing>flow_to_sepa_end_sepa</bpmn:outgoing></bpmn:serviceTask>
12
+ <bpmn:endEvent id="end_sepa" name="SEPA dispute sent"></bpmn:endEvent>
13
+ <bpmn:serviceTask id="refund" name="Refund the customer" forest:alternative="trigger-action" forest:automaticExecution="true" forest:automaticCompletion="false" forest:description="Run &quot;Route dispute&quot; with route BANK_REFUND: the bank refunds the payment now and bears the loss (no chargeback right, or past the network's 120 days). A card still active is blocked (Marqeta). The result card shows the request closed with the card's block, and the refund booked on the account."><bpmn:outgoing>flow_refund_end_refund</bpmn:outgoing></bpmn:serviceTask>
14
+ <bpmn:endEvent id="end_refund" name="Customer refunded"></bpmn:endEvent>
15
+ <bpmn:serviceTask id="merchant" name="Ask the customer to contact the merchant" forest:alternative="trigger-action" forest:automaticExecution="true" forest:automaticCompletion="false" forest:description="Run &quot;Ask to contact the merchant&quot;: a request in the app asks them to contact the merchant first and send us its answer. The dispute waits on the customer, out of &quot;New disputes&quot;. The result card shows the request sent and when they must answer."><bpmn:outgoing>flow_merchant_end_merchant</bpmn:outgoing></bpmn:serviceTask>
16
+ <bpmn:endEvent id="end_merchant" name="Waiting on the customer"></bpmn:endEvent>
17
+ <bpmn:serviceTask id="decline" name="Decline with the reason" forest:alternative="trigger-action" forest:automaticCompletion="false" forest:description="Run &quot;Route dispute&quot; with route DECLINED and, as the note, the reason &quot;Eligibility · Suggested route&quot; gives. Check it before you confirm: the customer receives it. The result card shows the request closed and the reason given."><bpmn:outgoing>flow_decline_end_declined</bpmn:outgoing></bpmn:serviceTask>
18
+ <bpmn:endEvent id="end_declined" name="Declined"></bpmn:endEvent>
19
+ <bpmn:sequenceFlow id="flow_Start_1_dispute" sourceRef="Start_1" targetRef="dispute" />
20
+ <bpmn:sequenceFlow id="flow_dispute_payment" sourceRef="dispute" targetRef="payment" />
21
+ <bpmn:sequenceFlow id="flow_payment_eligibility" sourceRef="payment" targetRef="eligibility" />
22
+ <bpmn:sequenceFlow id="flow_eligibility_route" sourceRef="eligibility" targetRef="route" />
23
+ <bpmn:sequenceFlow id="flow_route_to_cb" sourceRef="route" targetRef="to_cb" name="Card chargeback" />
24
+ <bpmn:sequenceFlow id="flow_route_to_sepa" sourceRef="route" targetRef="to_sepa" name="SEPA dispute" />
25
+ <bpmn:sequenceFlow id="flow_route_refund" sourceRef="route" targetRef="refund" name="Bank refund" />
26
+ <bpmn:sequenceFlow id="flow_route_merchant" sourceRef="route" targetRef="merchant" name="Merchant first" forest:buttonColor="yellow" />
27
+ <bpmn:sequenceFlow id="flow_route_decline" sourceRef="route" targetRef="decline" name="Not eligible" forest:buttonColor="red" />
28
+ <bpmn:sequenceFlow id="flow_to_cb_end_cb" sourceRef="to_cb" targetRef="end_cb" />
29
+ <bpmn:sequenceFlow id="flow_to_sepa_end_sepa" sourceRef="to_sepa" targetRef="end_sepa" />
30
+ <bpmn:sequenceFlow id="flow_refund_end_refund" sourceRef="refund" targetRef="end_refund" />
31
+ <bpmn:sequenceFlow id="flow_merchant_end_merchant" sourceRef="merchant" targetRef="end_merchant" />
32
+ <bpmn:sequenceFlow id="flow_decline_end_declined" sourceRef="decline" targetRef="end_declined" />
33
+ </bpmn:process>
34
+ <bpmndi:BPMNDiagram id="BPMNDiagram_1">
35
+ <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_1">
36
+ <bpmndi:BPMNShape id="Start_1_di" bpmnElement="Start_1"><dc:Bounds x="160" y="142" width="36" height="36" /></bpmndi:BPMNShape>
37
+ <bpmndi:BPMNShape id="dispute_di" bpmnElement="dispute"><dc:Bounds x="256" y="120" width="100" height="80" /></bpmndi:BPMNShape>
38
+ <bpmndi:BPMNShape id="payment_di" bpmnElement="payment"><dc:Bounds x="416" y="120" width="100" height="80" /></bpmndi:BPMNShape>
39
+ <bpmndi:BPMNShape id="eligibility_di" bpmnElement="eligibility"><dc:Bounds x="576" y="120" width="100" height="80" /></bpmndi:BPMNShape>
40
+ <bpmndi:BPMNShape id="route_di" bpmnElement="route"><dc:Bounds x="736" y="135" width="50" height="50" /></bpmndi:BPMNShape>
41
+ <bpmndi:BPMNShape id="to_cb_di" bpmnElement="to_cb"><dc:Bounds x="846" y="120" width="100" height="80" /></bpmndi:BPMNShape>
42
+ <bpmndi:BPMNShape id="end_cb_di" bpmnElement="end_cb"><dc:Bounds x="1006" y="142" width="36" height="36" /></bpmndi:BPMNShape>
43
+ <bpmndi:BPMNShape id="to_sepa_di" bpmnElement="to_sepa"><dc:Bounds x="1102" y="120" width="100" height="80" /></bpmndi:BPMNShape>
44
+ <bpmndi:BPMNShape id="end_sepa_di" bpmnElement="end_sepa"><dc:Bounds x="1262" y="142" width="36" height="36" /></bpmndi:BPMNShape>
45
+ <bpmndi:BPMNShape id="refund_di" bpmnElement="refund"><dc:Bounds x="1358" y="120" width="100" height="80" /></bpmndi:BPMNShape>
46
+ <bpmndi:BPMNShape id="end_refund_di" bpmnElement="end_refund"><dc:Bounds x="1518" y="142" width="36" height="36" /></bpmndi:BPMNShape>
47
+ <bpmndi:BPMNShape id="merchant_di" bpmnElement="merchant"><dc:Bounds x="1614" y="120" width="100" height="80" /></bpmndi:BPMNShape>
48
+ <bpmndi:BPMNShape id="end_merchant_di" bpmnElement="end_merchant"><dc:Bounds x="1774" y="142" width="36" height="36" /></bpmndi:BPMNShape>
49
+ <bpmndi:BPMNShape id="decline_di" bpmnElement="decline"><dc:Bounds x="1870" y="120" width="100" height="80" /></bpmndi:BPMNShape>
50
+ <bpmndi:BPMNShape id="end_declined_di" bpmnElement="end_declined"><dc:Bounds x="2030" y="142" width="36" height="36" /></bpmndi:BPMNShape>
51
+ <bpmndi:BPMNEdge id="flow_Start_1_dispute_di" bpmnElement="flow_Start_1_dispute"><di:waypoint x="196" y="160" /><di:waypoint x="256" y="160" /></bpmndi:BPMNEdge>
52
+ <bpmndi:BPMNEdge id="flow_dispute_payment_di" bpmnElement="flow_dispute_payment"><di:waypoint x="356" y="160" /><di:waypoint x="416" y="160" /></bpmndi:BPMNEdge>
53
+ <bpmndi:BPMNEdge id="flow_payment_eligibility_di" bpmnElement="flow_payment_eligibility"><di:waypoint x="516" y="160" /><di:waypoint x="576" y="160" /></bpmndi:BPMNEdge>
54
+ <bpmndi:BPMNEdge id="flow_eligibility_route_di" bpmnElement="flow_eligibility_route"><di:waypoint x="676" y="160" /><di:waypoint x="736" y="160" /></bpmndi:BPMNEdge>
55
+ <bpmndi:BPMNEdge id="flow_route_to_cb_di" bpmnElement="flow_route_to_cb"><di:waypoint x="786" y="160" /><di:waypoint x="846" y="160" /></bpmndi:BPMNEdge>
56
+ <bpmndi:BPMNEdge id="flow_route_to_sepa_di" bpmnElement="flow_route_to_sepa"><di:waypoint x="786" y="160" /><di:waypoint x="1102" y="160" /></bpmndi:BPMNEdge>
57
+ <bpmndi:BPMNEdge id="flow_route_refund_di" bpmnElement="flow_route_refund"><di:waypoint x="786" y="160" /><di:waypoint x="1358" y="160" /></bpmndi:BPMNEdge>
58
+ <bpmndi:BPMNEdge id="flow_route_merchant_di" bpmnElement="flow_route_merchant"><di:waypoint x="786" y="160" /><di:waypoint x="1614" y="160" /></bpmndi:BPMNEdge>
59
+ <bpmndi:BPMNEdge id="flow_route_decline_di" bpmnElement="flow_route_decline"><di:waypoint x="786" y="160" /><di:waypoint x="1870" y="160" /></bpmndi:BPMNEdge>
60
+ <bpmndi:BPMNEdge id="flow_to_cb_end_cb_di" bpmnElement="flow_to_cb_end_cb"><di:waypoint x="946" y="160" /><di:waypoint x="1006" y="160" /></bpmndi:BPMNEdge>
61
+ <bpmndi:BPMNEdge id="flow_to_sepa_end_sepa_di" bpmnElement="flow_to_sepa_end_sepa"><di:waypoint x="1202" y="160" /><di:waypoint x="1262" y="160" /></bpmndi:BPMNEdge>
62
+ <bpmndi:BPMNEdge id="flow_refund_end_refund_di" bpmnElement="flow_refund_end_refund"><di:waypoint x="1458" y="160" /><di:waypoint x="1518" y="160" /></bpmndi:BPMNEdge>
63
+ <bpmndi:BPMNEdge id="flow_merchant_end_merchant_di" bpmnElement="flow_merchant_end_merchant"><di:waypoint x="1714" y="160" /><di:waypoint x="1774" y="160" /></bpmndi:BPMNEdge>
64
+ <bpmndi:BPMNEdge id="flow_decline_end_declined_di" bpmnElement="flow_decline_end_declined"><di:waypoint x="1970" y="160" /><di:waypoint x="2030" y="160" /></bpmndi:BPMNEdge>
65
+ </bpmndi:BPMNPlane>
66
+ </bpmndi:BPMNDiagram>
67
+ </bpmn:definitions>
@@ -0,0 +1,43 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <bpmn:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn="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:forest="https://app.forestadmin.com" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn">
3
+ <bpmn:process id="Process_1" isExecutable="true">
4
+ <bpmn:startEvent id="Start_1"><bpmn:outgoing>flow_Start_1_chargeback</bpmn:outgoing></bpmn:startEvent>
5
+ <bpmn:serviceTask id="chargeback" name="Read the chargeback" forest:alternative="get-data" forest:automaticCompletion="false" forest:preRecordedArgs="{&quot;selectedRecordStepId&quot;:&quot;workflow-start&quot;,&quot;fieldNames&quot;:[&quot;cb_network&quot;,&quot;cb_reason&quot;,&quot;cb_amount&quot;,&quot;cb_deadline&quot;,&quot;cb_round&quot;]}" forest:description="Read all 5 of these fields of this chargeback (every one is needed): &quot;Chargeback · Network&quot;, &quot;Chargeback · Reason code&quot;, &quot;Chargeback · Amount&quot;, &quot;Chargeback · Deadline&quot; and &quot;Chargeback · Round&quot;: card network, reason code, amount, the deadline to push back, and where the case stands."><bpmn:outgoing>flow_chargeback_merchant</bpmn:outgoing></bpmn:serviceTask>
6
+ <bpmn:serviceTask id="merchant" name="Read the merchant's answer" forest:alternative="get-data" forest:automaticCompletion="false" forest:preRecordedArgs="{&quot;selectedRecordStepId&quot;:&quot;workflow-start&quot;,&quot;fieldNames&quot;:[&quot;merchant_name&quot;,&quot;merchant_answer&quot;,&quot;merchant_suggested&quot;]}" forest:description="Read all 3 of these fields of this chargeback (every one is needed): &quot;Merchant · Name&quot;, &quot;Merchant · Answer&quot; and &quot;Merchant · Suggested decision&quot;: who the merchant is, what it answered, and what the rules suggest."><bpmn:outgoing>flow_merchant_evidence</bpmn:outgoing></bpmn:serviceTask>
7
+ <bpmn:serviceTask id="evidence" name="Compare with the cardholder's evidence" forest:alternative="get-data" forest:automaticCompletion="false" forest:preRecordedArgs="{&quot;selectedRecordStepId&quot;:&quot;workflow-start&quot;,&quot;fieldNames&quot;:[&quot;ev_answers&quot;,&quot;ev_documents&quot;,&quot;ev_3ds&quot;,&quot;ev_complete&quot;]}" forest:description="Read all 4 of these fields of this chargeback (every one is needed): &quot;Evidence · Cardholder answers&quot;, &quot;Evidence · Documents&quot;, &quot;Evidence · 3-D Secure&quot; and &quot;Evidence · Complete&quot;: what the cardholder said and sent, and 3-D Secure on the payment."><bpmn:outgoing>flow_evidence_decide</bpmn:outgoing></bpmn:serviceTask>
8
+ <bpmn:exclusiveGateway id="decide" name="Push back or accept?" forest:description="Push back when the cardholder's evidence answers the merchant's point (&quot;Merchant · Suggested decision&quot; starts with ✓). Accept when the merchant proved its case, or under 50 EUR."><bpmn:outgoing>flow_decide_push</bpmn:outgoing><bpmn:outgoing>flow_decide_accept</bpmn:outgoing></bpmn:exclusiveGateway>
9
+ <bpmn:serviceTask id="push" name="File pre-arbitration" forest:alternative="trigger-action" forest:automaticCompletion="false" forest:description="Run &quot;File pre-arbitration&quot; with our answer to the merchant: it goes to Visa Resolve Online or Mastercom. The case waits for the merchant's bank, out of &quot;Merchant answered&quot;. The result card shows the pre-arbitration filed and when the merchant's bank must answer."><bpmn:outgoing>flow_push_end_pushed</bpmn:outgoing></bpmn:serviceTask>
10
+ <bpmn:endEvent id="end_pushed" name="Pre-arbitration filed"></bpmn:endEvent>
11
+ <bpmn:serviceTask id="accept" name="Accept the merchant's answer" forest:alternative="trigger-action" forest:automaticCompletion="false" forest:description="Run &quot;Accept representment&quot;: the claim is lost. Only an unauthorised payment was credited before the decision, and it keeps the money (the bank bears the loss); the others got nothing, so nothing is taken back. The result card shows the claim lost and the money kept or never credited."><bpmn:outgoing>flow_accept_end_lost</bpmn:outgoing></bpmn:serviceTask>
12
+ <bpmn:endEvent id="end_lost" name="Claim lost"></bpmn:endEvent>
13
+ <bpmn:sequenceFlow id="flow_Start_1_chargeback" sourceRef="Start_1" targetRef="chargeback" />
14
+ <bpmn:sequenceFlow id="flow_chargeback_merchant" sourceRef="chargeback" targetRef="merchant" />
15
+ <bpmn:sequenceFlow id="flow_merchant_evidence" sourceRef="merchant" targetRef="evidence" />
16
+ <bpmn:sequenceFlow id="flow_evidence_decide" sourceRef="evidence" targetRef="decide" />
17
+ <bpmn:sequenceFlow id="flow_decide_push" sourceRef="decide" targetRef="push" name="Push back (pre-arbitration)" />
18
+ <bpmn:sequenceFlow id="flow_decide_accept" sourceRef="decide" targetRef="accept" name="Accept" forest:buttonColor="orange" />
19
+ <bpmn:sequenceFlow id="flow_push_end_pushed" sourceRef="push" targetRef="end_pushed" />
20
+ <bpmn:sequenceFlow id="flow_accept_end_lost" sourceRef="accept" targetRef="end_lost" />
21
+ </bpmn:process>
22
+ <bpmndi:BPMNDiagram id="BPMNDiagram_1">
23
+ <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_1">
24
+ <bpmndi:BPMNShape id="Start_1_di" bpmnElement="Start_1"><dc:Bounds x="160" y="142" width="36" height="36" /></bpmndi:BPMNShape>
25
+ <bpmndi:BPMNShape id="chargeback_di" bpmnElement="chargeback"><dc:Bounds x="256" y="120" width="100" height="80" /></bpmndi:BPMNShape>
26
+ <bpmndi:BPMNShape id="merchant_di" bpmnElement="merchant"><dc:Bounds x="416" y="120" width="100" height="80" /></bpmndi:BPMNShape>
27
+ <bpmndi:BPMNShape id="evidence_di" bpmnElement="evidence"><dc:Bounds x="576" y="120" width="100" height="80" /></bpmndi:BPMNShape>
28
+ <bpmndi:BPMNShape id="decide_di" bpmnElement="decide"><dc:Bounds x="736" y="135" width="50" height="50" /></bpmndi:BPMNShape>
29
+ <bpmndi:BPMNShape id="push_di" bpmnElement="push"><dc:Bounds x="846" y="120" width="100" height="80" /></bpmndi:BPMNShape>
30
+ <bpmndi:BPMNShape id="end_pushed_di" bpmnElement="end_pushed"><dc:Bounds x="1006" y="142" width="36" height="36" /></bpmndi:BPMNShape>
31
+ <bpmndi:BPMNShape id="accept_di" bpmnElement="accept"><dc:Bounds x="1102" y="120" width="100" height="80" /></bpmndi:BPMNShape>
32
+ <bpmndi:BPMNShape id="end_lost_di" bpmnElement="end_lost"><dc:Bounds x="1262" y="142" width="36" height="36" /></bpmndi:BPMNShape>
33
+ <bpmndi:BPMNEdge id="flow_Start_1_chargeback_di" bpmnElement="flow_Start_1_chargeback"><di:waypoint x="196" y="160" /><di:waypoint x="256" y="160" /></bpmndi:BPMNEdge>
34
+ <bpmndi:BPMNEdge id="flow_chargeback_merchant_di" bpmnElement="flow_chargeback_merchant"><di:waypoint x="356" y="160" /><di:waypoint x="416" y="160" /></bpmndi:BPMNEdge>
35
+ <bpmndi:BPMNEdge id="flow_merchant_evidence_di" bpmnElement="flow_merchant_evidence"><di:waypoint x="516" y="160" /><di:waypoint x="576" y="160" /></bpmndi:BPMNEdge>
36
+ <bpmndi:BPMNEdge id="flow_evidence_decide_di" bpmnElement="flow_evidence_decide"><di:waypoint x="676" y="160" /><di:waypoint x="736" y="160" /></bpmndi:BPMNEdge>
37
+ <bpmndi:BPMNEdge id="flow_decide_push_di" bpmnElement="flow_decide_push"><di:waypoint x="786" y="160" /><di:waypoint x="846" y="160" /></bpmndi:BPMNEdge>
38
+ <bpmndi:BPMNEdge id="flow_decide_accept_di" bpmnElement="flow_decide_accept"><di:waypoint x="786" y="160" /><di:waypoint x="1102" y="160" /></bpmndi:BPMNEdge>
39
+ <bpmndi:BPMNEdge id="flow_push_end_pushed_di" bpmnElement="flow_push_end_pushed"><di:waypoint x="946" y="160" /><di:waypoint x="1006" y="160" /></bpmndi:BPMNEdge>
40
+ <bpmndi:BPMNEdge id="flow_accept_end_lost_di" bpmnElement="flow_accept_end_lost"><di:waypoint x="1202" y="160" /><di:waypoint x="1262" y="160" /></bpmndi:BPMNEdge>
41
+ </bpmndi:BPMNPlane>
42
+ </bpmndi:BPMNDiagram>
43
+ </bpmn:definitions>
@@ -0,0 +1,75 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <bpmn:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn="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:forest="https://app.forestadmin.com" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn">
3
+ <bpmn:process id="Process_1" isExecutable="true">
4
+ <bpmn:startEvent id="Start_1"><bpmn:outgoing>flow_Start_1_chargeback</bpmn:outgoing></bpmn:startEvent>
5
+ <bpmn:serviceTask id="chargeback" name="Read the chargeback" forest:alternative="get-data" forest:automaticCompletion="false" forest:preRecordedArgs="{&quot;selectedRecordStepId&quot;:&quot;workflow-start&quot;,&quot;fieldNames&quot;:[&quot;cb_reason&quot;,&quot;cb_network&quot;,&quot;cb_amount&quot;,&quot;cb_deadline&quot;,&quot;cb_round&quot;]}" forest:description="Read all 5 of these fields of this chargeback (every one is needed): &quot;Chargeback · Reason code&quot;, &quot;Chargeback · Network&quot;, &quot;Chargeback · Amount&quot;, &quot;Chargeback · Deadline&quot; and &quot;Chargeback · Round&quot;: card network, reason code and what it means, amount, deadline to file, and where the case stands."><bpmn:outgoing>flow_chargeback_fraud</bpmn:outgoing></bpmn:serviceTask>
6
+ <bpmn:exclusiveGateway id="fraud" name="Fraud reason code?" forest:aiDecision="true" forest:description="Fraud when &quot;Chargeback · Reason code&quot; starts with &quot;⚠ Fraud code&quot; (Visa 10.x, Mastercard 4837 or 4863). Not fraud otherwise."><bpmn:outgoing>flow_fraud_card</bpmn:outgoing><bpmn:outgoing>flow_fraud_evidence</bpmn:outgoing></bpmn:exclusiveGateway>
7
+ <bpmn:serviceTask id="card" name="Check the card is blocked" forest:alternative="get-data" forest:automaticCompletion="false" forest:preRecordedArgs="{&quot;selectedRecordStepId&quot;:&quot;workflow-start&quot;,&quot;fieldNames&quot;:[&quot;card_status&quot;]}" forest:description="Read the field &quot;Card · Status&quot; of this chargeback: the intake desk blocks the card when it routes a fraud claim, so it should show blocked at intake, when, and by which processor."><bpmn:outgoing>flow_card_card_ok</bpmn:outgoing></bpmn:serviceTask>
8
+ <bpmn:exclusiveGateway id="card_ok" name="Card blocked?" forest:aiDecision="true" forest:description="Blocked when &quot;Card · Status&quot; starts with &quot;✓&quot; or &quot;○&quot; (blocked, expired or cancelled: nobody can use it). Still active when it starts with &quot;⚠&quot;."><bpmn:outgoing>flow_card_ok_evidence</bpmn:outgoing><bpmn:outgoing>flow_card_ok_block</bpmn:outgoing></bpmn:exclusiveGateway>
9
+ <bpmn:serviceTask id="block" name="Block the card" forest:alternative="trigger-action" forest:automaticExecution="true" forest:automaticCompletion="false" forest:description="Run &quot;Block linked card&quot;: Marqeta, our card processor, blocks the card at once so nobody can use it again."><bpmn:outgoing>flow_block_blocked</bpmn:outgoing></bpmn:serviceTask>
10
+ <bpmn:serviceTask id="blocked" name="Check the block" forest:alternative="get-data" forest:automaticCompletion="false" forest:preRecordedArgs="{&quot;selectedRecordStepId&quot;:&quot;workflow-start&quot;,&quot;fieldNames&quot;:[&quot;card_status&quot;]}" forest:description="Read the field &quot;Card · Status&quot; of this chargeback: blocked now, by which processor."><bpmn:outgoing>flow_blocked_evidence</bpmn:outgoing></bpmn:serviceTask>
11
+ <bpmn:serviceTask id="evidence" name="Check the evidence" forest:alternative="get-data" forest:automaticCompletion="false" forest:preRecordedArgs="{&quot;selectedRecordStepId&quot;:&quot;workflow-start&quot;,&quot;fieldNames&quot;:[&quot;ev_complete&quot;,&quot;ev_answers&quot;,&quot;ev_documents&quot;,&quot;ev_3ds&quot;]}" forest:description="Read all 4 of these fields of this chargeback (every one is needed): &quot;Evidence · Complete&quot;, &quot;Evidence · Cardholder answers&quot;, &quot;Evidence · Documents&quot; and &quot;Evidence · 3-D Secure&quot;: the cardholder's answers, their documents, 3-D Secure on the payment, and whether the file is complete."><bpmn:outgoing>flow_evidence_evidence_ok</bpmn:outgoing></bpmn:serviceTask>
12
+ <bpmn:exclusiveGateway id="evidence_ok" name="Evidence complete?" forest:aiDecision="true" forest:description="Complete when &quot;Evidence · Complete&quot; starts with &quot;✓&quot;. Missing when it shows ✗: ask the cardholder."><bpmn:outgoing>flow_evidence_ok_decide</bpmn:outgoing><bpmn:outgoing>flow_evidence_ok_ask</bpmn:outgoing></bpmn:exclusiveGateway>
13
+ <bpmn:serviceTask id="ask" name="Ask the cardholder" forest:alternative="trigger-action" forest:automaticCompletion="false" forest:description="Run &quot;Request cardholder info&quot;: the questions fit the reason code. The chargeback waits on the cardholder, out of &quot;Chargebacks to file&quot;. The result card shows the request and its due date."><bpmn:outgoing>flow_ask_end_waiting</bpmn:outgoing></bpmn:serviceTask>
14
+ <bpmn:endEvent id="end_waiting" name="Waiting on the cardholder"></bpmn:endEvent>
15
+ <bpmn:exclusiveGateway id="decide" name="File or accept?" forest:description="Look at &quot;Chargeback · Amount&quot; and &quot;Chargeback · Deadline&quot; read above: accepting is cheaper under 50 EUR (the amount shows ⚠) or with less than 3 days left. File otherwise."><bpmn:outgoing>flow_decide_file</bpmn:outgoing><bpmn:outgoing>flow_decide_accept</bpmn:outgoing></bpmn:exclusiveGateway>
16
+ <bpmn:serviceTask id="file" name="File with the network" forest:alternative="trigger-action" forest:automaticCompletion="false" forest:description="Run &quot;File with network&quot;: the file goes to Visa Resolve Online or Mastercom. An unauthorised payment was credited to the customer when the claim opened (PSD2); the other chargebacks are credited only if won. The result card shows the network case, the merchant's deadline and the credit, or none until the chargeback is won."><bpmn:outgoing>flow_file_end_filed</bpmn:outgoing></bpmn:serviceTask>
17
+ <bpmn:endEvent id="end_filed" name="Filed, waiting for the network"></bpmn:endEvent>
18
+ <bpmn:serviceTask id="accept" name="Accept liability and refund" forest:alternative="trigger-action" forest:automaticCompletion="false" forest:description="Run &quot;Accept Liability &amp; Refund Customer&quot;: the bank drops the claim and refunds the customer now (an unauthorised payment keeps the credit it got when the claim opened). The result card shows the claim withdrawn and the money refunded or kept."><bpmn:outgoing>flow_accept_end_accepted</bpmn:outgoing></bpmn:serviceTask>
19
+ <bpmn:endEvent id="end_accepted" name="Customer refunded"></bpmn:endEvent>
20
+ <bpmn:sequenceFlow id="flow_Start_1_chargeback" sourceRef="Start_1" targetRef="chargeback" />
21
+ <bpmn:sequenceFlow id="flow_chargeback_fraud" sourceRef="chargeback" targetRef="fraud" />
22
+ <bpmn:sequenceFlow id="flow_fraud_card" sourceRef="fraud" targetRef="card" name="Fraud" forest:buttonColor="red" />
23
+ <bpmn:sequenceFlow id="flow_fraud_evidence" sourceRef="fraud" targetRef="evidence" name="Not fraud" />
24
+ <bpmn:sequenceFlow id="flow_card_card_ok" sourceRef="card" targetRef="card_ok" />
25
+ <bpmn:sequenceFlow id="flow_card_ok_evidence" sourceRef="card_ok" targetRef="evidence" name="Blocked" />
26
+ <bpmn:sequenceFlow id="flow_card_ok_block" sourceRef="card_ok" targetRef="block" name="Still active" forest:buttonColor="red" />
27
+ <bpmn:sequenceFlow id="flow_block_blocked" sourceRef="block" targetRef="blocked" />
28
+ <bpmn:sequenceFlow id="flow_blocked_evidence" sourceRef="blocked" targetRef="evidence" />
29
+ <bpmn:sequenceFlow id="flow_evidence_evidence_ok" sourceRef="evidence" targetRef="evidence_ok" />
30
+ <bpmn:sequenceFlow id="flow_evidence_ok_decide" sourceRef="evidence_ok" targetRef="decide" name="Complete" />
31
+ <bpmn:sequenceFlow id="flow_evidence_ok_ask" sourceRef="evidence_ok" targetRef="ask" name="Missing" forest:buttonColor="yellow" />
32
+ <bpmn:sequenceFlow id="flow_ask_end_waiting" sourceRef="ask" targetRef="end_waiting" />
33
+ <bpmn:sequenceFlow id="flow_decide_file" sourceRef="decide" targetRef="file" name="File with the network" />
34
+ <bpmn:sequenceFlow id="flow_decide_accept" sourceRef="decide" targetRef="accept" name="Accept the loss" forest:buttonColor="orange" />
35
+ <bpmn:sequenceFlow id="flow_file_end_filed" sourceRef="file" targetRef="end_filed" />
36
+ <bpmn:sequenceFlow id="flow_accept_end_accepted" sourceRef="accept" targetRef="end_accepted" />
37
+ </bpmn:process>
38
+ <bpmndi:BPMNDiagram id="BPMNDiagram_1">
39
+ <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_1">
40
+ <bpmndi:BPMNShape id="Start_1_di" bpmnElement="Start_1"><dc:Bounds x="160" y="142" width="36" height="36" /></bpmndi:BPMNShape>
41
+ <bpmndi:BPMNShape id="chargeback_di" bpmnElement="chargeback"><dc:Bounds x="256" y="120" width="100" height="80" /></bpmndi:BPMNShape>
42
+ <bpmndi:BPMNShape id="fraud_di" bpmnElement="fraud"><dc:Bounds x="416" y="135" width="50" height="50" /></bpmndi:BPMNShape>
43
+ <bpmndi:BPMNShape id="card_di" bpmnElement="card"><dc:Bounds x="526" y="120" width="100" height="80" /></bpmndi:BPMNShape>
44
+ <bpmndi:BPMNShape id="card_ok_di" bpmnElement="card_ok"><dc:Bounds x="686" y="135" width="50" height="50" /></bpmndi:BPMNShape>
45
+ <bpmndi:BPMNShape id="block_di" bpmnElement="block"><dc:Bounds x="796" y="120" width="100" height="80" /></bpmndi:BPMNShape>
46
+ <bpmndi:BPMNShape id="blocked_di" bpmnElement="blocked"><dc:Bounds x="956" y="120" width="100" height="80" /></bpmndi:BPMNShape>
47
+ <bpmndi:BPMNShape id="evidence_di" bpmnElement="evidence"><dc:Bounds x="1116" y="120" width="100" height="80" /></bpmndi:BPMNShape>
48
+ <bpmndi:BPMNShape id="evidence_ok_di" bpmnElement="evidence_ok"><dc:Bounds x="1276" y="135" width="50" height="50" /></bpmndi:BPMNShape>
49
+ <bpmndi:BPMNShape id="ask_di" bpmnElement="ask"><dc:Bounds x="1386" y="120" width="100" height="80" /></bpmndi:BPMNShape>
50
+ <bpmndi:BPMNShape id="end_waiting_di" bpmnElement="end_waiting"><dc:Bounds x="1546" y="142" width="36" height="36" /></bpmndi:BPMNShape>
51
+ <bpmndi:BPMNShape id="decide_di" bpmnElement="decide"><dc:Bounds x="1642" y="135" width="50" height="50" /></bpmndi:BPMNShape>
52
+ <bpmndi:BPMNShape id="file_di" bpmnElement="file"><dc:Bounds x="1752" y="120" width="100" height="80" /></bpmndi:BPMNShape>
53
+ <bpmndi:BPMNShape id="end_filed_di" bpmnElement="end_filed"><dc:Bounds x="1912" y="142" width="36" height="36" /></bpmndi:BPMNShape>
54
+ <bpmndi:BPMNShape id="accept_di" bpmnElement="accept"><dc:Bounds x="2008" y="120" width="100" height="80" /></bpmndi:BPMNShape>
55
+ <bpmndi:BPMNShape id="end_accepted_di" bpmnElement="end_accepted"><dc:Bounds x="2168" y="142" width="36" height="36" /></bpmndi:BPMNShape>
56
+ <bpmndi:BPMNEdge id="flow_Start_1_chargeback_di" bpmnElement="flow_Start_1_chargeback"><di:waypoint x="196" y="160" /><di:waypoint x="256" y="160" /></bpmndi:BPMNEdge>
57
+ <bpmndi:BPMNEdge id="flow_chargeback_fraud_di" bpmnElement="flow_chargeback_fraud"><di:waypoint x="356" y="160" /><di:waypoint x="416" y="160" /></bpmndi:BPMNEdge>
58
+ <bpmndi:BPMNEdge id="flow_fraud_card_di" bpmnElement="flow_fraud_card"><di:waypoint x="466" y="160" /><di:waypoint x="526" y="160" /></bpmndi:BPMNEdge>
59
+ <bpmndi:BPMNEdge id="flow_fraud_evidence_di" bpmnElement="flow_fraud_evidence"><di:waypoint x="466" y="160" /><di:waypoint x="1116" y="160" /></bpmndi:BPMNEdge>
60
+ <bpmndi:BPMNEdge id="flow_card_card_ok_di" bpmnElement="flow_card_card_ok"><di:waypoint x="626" y="160" /><di:waypoint x="686" y="160" /></bpmndi:BPMNEdge>
61
+ <bpmndi:BPMNEdge id="flow_card_ok_evidence_di" bpmnElement="flow_card_ok_evidence"><di:waypoint x="736" y="160" /><di:waypoint x="1116" y="160" /></bpmndi:BPMNEdge>
62
+ <bpmndi:BPMNEdge id="flow_card_ok_block_di" bpmnElement="flow_card_ok_block"><di:waypoint x="736" y="160" /><di:waypoint x="796" y="160" /></bpmndi:BPMNEdge>
63
+ <bpmndi:BPMNEdge id="flow_block_blocked_di" bpmnElement="flow_block_blocked"><di:waypoint x="896" y="160" /><di:waypoint x="956" y="160" /></bpmndi:BPMNEdge>
64
+ <bpmndi:BPMNEdge id="flow_blocked_evidence_di" bpmnElement="flow_blocked_evidence"><di:waypoint x="1056" y="160" /><di:waypoint x="1116" y="160" /></bpmndi:BPMNEdge>
65
+ <bpmndi:BPMNEdge id="flow_evidence_evidence_ok_di" bpmnElement="flow_evidence_evidence_ok"><di:waypoint x="1216" y="160" /><di:waypoint x="1276" y="160" /></bpmndi:BPMNEdge>
66
+ <bpmndi:BPMNEdge id="flow_evidence_ok_decide_di" bpmnElement="flow_evidence_ok_decide"><di:waypoint x="1326" y="160" /><di:waypoint x="1642" y="160" /></bpmndi:BPMNEdge>
67
+ <bpmndi:BPMNEdge id="flow_evidence_ok_ask_di" bpmnElement="flow_evidence_ok_ask"><di:waypoint x="1326" y="160" /><di:waypoint x="1386" y="160" /></bpmndi:BPMNEdge>
68
+ <bpmndi:BPMNEdge id="flow_ask_end_waiting_di" bpmnElement="flow_ask_end_waiting"><di:waypoint x="1486" y="160" /><di:waypoint x="1546" y="160" /></bpmndi:BPMNEdge>
69
+ <bpmndi:BPMNEdge id="flow_decide_file_di" bpmnElement="flow_decide_file"><di:waypoint x="1692" y="160" /><di:waypoint x="1752" y="160" /></bpmndi:BPMNEdge>
70
+ <bpmndi:BPMNEdge id="flow_decide_accept_di" bpmnElement="flow_decide_accept"><di:waypoint x="1692" y="160" /><di:waypoint x="2008" y="160" /></bpmndi:BPMNEdge>
71
+ <bpmndi:BPMNEdge id="flow_file_end_filed_di" bpmnElement="flow_file_end_filed"><di:waypoint x="1852" y="160" /><di:waypoint x="1912" y="160" /></bpmndi:BPMNEdge>
72
+ <bpmndi:BPMNEdge id="flow_accept_end_accepted_di" bpmnElement="flow_accept_end_accepted"><di:waypoint x="2108" y="160" /><di:waypoint x="2168" y="160" /></bpmndi:BPMNEdge>
73
+ </bpmndi:BPMNPlane>
74
+ </bpmndi:BPMNDiagram>
75
+ </bpmn:definitions>
@@ -0,0 +1,81 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <bpmn:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn="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:forest="https://app.forestadmin.com" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn">
3
+ <bpmn:process id="Process_1" isExecutable="true">
4
+ <bpmn:startEvent id="Start_1"><bpmn:outgoing>flow_Start_1_check_docs</bpmn:outgoing></bpmn:startEvent>
5
+ <bpmn:serviceTask id="check_docs" name="Check the documents" forest:alternative="trigger-action" forest:automaticExecution="true" forest:automaticCompletion="true" forest:preRecordedArgs="{&quot;selectedRecordStepId&quot;:&quot;workflow-start&quot;,&quot;actionName&quot;:&quot;Check documents&quot;}" forest:description="Run &quot;Check documents&quot;: each paper on file is checked against the onboarding rules; the result card lists each one, valid or what is wrong."><bpmn:outgoing>flow_check_docs_verify</bpmn:outgoing></bpmn:serviceTask>
6
+ <bpmn:serviceTask id="verify" name="Verify the ID document (Onfido)" forest:alternative="trigger-action" forest:automaticExecution="true" forest:automaticCompletion="true" forest:preRecordedArgs="{&quot;selectedRecordStepId&quot;:&quot;workflow-start&quot;,&quot;actionName&quot;:&quot;Verify document&quot;}" forest:description="Run &quot;Verify document&quot;: Onfido checks the applicant's ID live and matches the selfie to it; the result card shows each check."><bpmn:outgoing>flow_verify_screen</bpmn:outgoing></bpmn:serviceTask>
7
+ <bpmn:serviceTask id="screen" name="Screen the applicant (ComplyAdvantage)" forest:alternative="trigger-action" forest:automaticExecution="true" forest:automaticCompletion="true" forest:preRecordedArgs="{&quot;selectedRecordStepId&quot;:&quot;workflow-start&quot;,&quot;actionName&quot;:&quot;Screen against sanctions lists&quot;}" forest:description="Run &quot;Screen against sanctions lists&quot;: the result card lists each name checked and any match."><bpmn:outgoing>flow_screen_evidence</bpmn:outgoing></bpmn:serviceTask>
8
+ <bpmn:serviceTask id="evidence" name="Read the deciding evidence" forest:alternative="get-data" forest:automaticCompletion="true" forest:preRecordedArgs="{&quot;selectedRecordStepId&quot;:&quot;workflow-start&quot;,&quot;fieldNames&quot;:[&quot;auto_check&quot;,&quot;docs_complete&quot;,&quot;idcheck_result&quot;,&quot;screening_result&quot;,&quot;risk_rating_suggested&quot;]}" forest:description="Read all 5 of these fields of this KYC case (every one is needed): &quot;Automatic check · Result&quot;, &quot;Documents · Complete&quot;, &quot;ID checks · Result&quot;, &quot;Screening · Result&quot; and &quot;Risk · Suggested rating&quot;."><bpmn:outgoing>flow_evidence_clean</bpmn:outgoing></bpmn:serviceTask>
9
+ <bpmn:exclusiveGateway id="clean" name="Clean file?" forest:optionConditions="{&quot;version&quot;:1,&quot;options&quot;:[{&quot;flowId&quot;:&quot;flow_clean_approve&quot;,&quot;aggregator&quot;:&quot;and&quot;,&quot;conditions&quot;:[{&quot;sourceStepId&quot;:&quot;evidence&quot;,&quot;fieldName&quot;:&quot;auto_check&quot;,&quot;operator&quot;:&quot;equal&quot;,&quot;value&quot;:&quot;CLEAN&quot;}]}],&quot;fallbackFlowId&quot;:&quot;flow_clean_handover&quot;}" forest:description="Clean when &quot;Automatic check · Result&quot; is CLEAN: documents complete, every ID and selfie passed, nobody found by the screening, suggested rating LOW. Anything else goes to a person, with the first check that failed."><bpmn:outgoing>flow_clean_approve</bpmn:outgoing><bpmn:outgoing>flow_clean_handover</bpmn:outgoing></bpmn:exclusiveGateway>
10
+ <bpmn:serviceTask id="approve" name="Approve KYC" forest:alternative="trigger-action" forest:automaticExecution="true" forest:automaticCompletion="true" forest:preRecordedArgs="{&quot;selectedRecordStepId&quot;:&quot;workflow-start&quot;,&quot;actionName&quot;:&quot;Approve KYC&quot;}" forest:description="Run &quot;Approve KYC&quot;: the risk rating is the pre-score (LOW); the case is decided by the service account and the customer becomes active."><bpmn:outgoing>flow_approve_end_ok</bpmn:outgoing></bpmn:serviceTask>
11
+ <bpmn:endEvent id="end_ok" name="Approved automatically"></bpmn:endEvent>
12
+ <bpmn:serviceTask id="handover" name="Hand the file to a person" forest:alternative="trigger-action" forest:automaticExecution="true" forest:automaticCompletion="true" forest:preRecordedArgs="{&quot;selectedRecordStepId&quot;:&quot;workflow-start&quot;,&quot;actionName&quot;:&quot;Hand to a person&quot;}" forest:description="Run &quot;Hand to a person&quot;: the robot started the review, so the case leaves its service account; the result card says which check did not come back clean."><bpmn:outgoing>flow_handover_review</bpmn:outgoing></bpmn:serviceTask>
13
+ <bpmn:userTask id="review" name="Review the file" forest:alternative="guideline" forest:description="The robot paused here: a check did not come back clean (the step above says which). Read &quot;ID checks · Result&quot; and &quot;Documents · Complete&quot; in the Case tab and open the ID in the Documents tab, then click Done and decide."><bpmn:outgoing>flow_review_decide</bpmn:outgoing></bpmn:userTask>
14
+ <bpmn:exclusiveGateway id="decide" name="Onboard this customer?" forest:description="Your decision. An ID cut off or with another name: ask for a new ID, or reject. Approve only when every check shows ✓: Approve KYC refuses an ID that failed or needs a closer look."><bpmn:outgoing>flow_decide_request_id</bpmn:outgoing><bpmn:outgoing>flow_decide_reject</bpmn:outgoing><bpmn:outgoing>flow_decide_request_docs</bpmn:outgoing><bpmn:outgoing>flow_decide_approve_manual</bpmn:outgoing></bpmn:exclusiveGateway>
15
+ <bpmn:serviceTask id="approve_manual" name="Approve KYC" forest:alternative="trigger-action" forest:automaticCompletion="false" forest:preRecordedArgs="{&quot;selectedRecordStepId&quot;:&quot;workflow-start&quot;,&quot;actionName&quot;:&quot;Approve KYC&quot;}" forest:description="Run &quot;Approve KYC&quot; with the risk rating decided: it refuses when a document, an ID or a screening hit is still open."><bpmn:outgoing>flow_approve_manual_end_ok_manual</bpmn:outgoing></bpmn:serviceTask>
16
+ <bpmn:endEvent id="end_ok_manual" name="Customer onboarded"></bpmn:endEvent>
17
+ <bpmn:serviceTask id="request_id" name="Request a new ID document" forest:alternative="trigger-action" forest:automaticCompletion="false" forest:preRecordedArgs="{&quot;selectedRecordStepId&quot;:&quot;workflow-start&quot;,&quot;actionName&quot;:&quot;Request ID document&quot;}" forest:description="Run &quot;Request ID document&quot;: the applicant gets a request in the app to upload a valid ID, with the reason Onfido gave."><bpmn:outgoing>flow_request_id_end_waiting</bpmn:outgoing></bpmn:serviceTask>
18
+ <bpmn:serviceTask id="request_docs" name="Request the missing documents" forest:alternative="trigger-action" forest:automaticCompletion="false" forest:preRecordedArgs="{&quot;selectedRecordStepId&quot;:&quot;workflow-start&quot;,&quot;actionName&quot;:&quot;Request missing documents&quot;}" forest:description="Run &quot;Request missing documents&quot;: the request is pre-filled with what the file lacks."><bpmn:outgoing>flow_request_docs_end_waiting</bpmn:outgoing></bpmn:serviceTask>
19
+ <bpmn:endEvent id="end_waiting" name="Waiting on the client"></bpmn:endEvent>
20
+ <bpmn:serviceTask id="reject" name="Reject KYC" forest:alternative="trigger-action" forest:automaticCompletion="false" forest:preRecordedArgs="{&quot;selectedRecordStepId&quot;:&quot;workflow-start&quot;,&quot;actionName&quot;:&quot;Reject KYC&quot;}" forest:description="Run &quot;Reject KYC&quot;: the reason is pre-filled from the failed checks."><bpmn:outgoing>flow_reject_end_rejected</bpmn:outgoing></bpmn:serviceTask>
21
+ <bpmn:endEvent id="end_rejected" name="Onboarding refused"></bpmn:endEvent>
22
+ <bpmn:sequenceFlow id="flow_Start_1_check_docs" sourceRef="Start_1" targetRef="check_docs" />
23
+ <bpmn:sequenceFlow id="flow_check_docs_verify" sourceRef="check_docs" targetRef="verify" />
24
+ <bpmn:sequenceFlow id="flow_verify_screen" sourceRef="verify" targetRef="screen" />
25
+ <bpmn:sequenceFlow id="flow_screen_evidence" sourceRef="screen" targetRef="evidence" />
26
+ <bpmn:sequenceFlow id="flow_evidence_clean" sourceRef="evidence" targetRef="clean" />
27
+ <bpmn:sequenceFlow id="flow_clean_approve" sourceRef="clean" targetRef="approve" name="Clean" />
28
+ <bpmn:sequenceFlow id="flow_clean_handover" sourceRef="clean" targetRef="handover" name="Fallback" />
29
+ <bpmn:sequenceFlow id="flow_approve_end_ok" sourceRef="approve" targetRef="end_ok" />
30
+ <bpmn:sequenceFlow id="flow_handover_review" sourceRef="handover" targetRef="review" />
31
+ <bpmn:sequenceFlow id="flow_review_decide" sourceRef="review" targetRef="decide" />
32
+ <bpmn:sequenceFlow id="flow_decide_request_id" sourceRef="decide" targetRef="request_id" name="Ask for a new ID" forest:buttonColor="yellow" />
33
+ <bpmn:sequenceFlow id="flow_decide_reject" sourceRef="decide" targetRef="reject" name="Reject" forest:buttonColor="red" />
34
+ <bpmn:sequenceFlow id="flow_decide_request_docs" sourceRef="decide" targetRef="request_docs" name="Ask for missing documents" forest:buttonColor="yellow" />
35
+ <bpmn:sequenceFlow id="flow_decide_approve_manual" sourceRef="decide" targetRef="approve_manual" name="Approve" />
36
+ <bpmn:sequenceFlow id="flow_approve_manual_end_ok_manual" sourceRef="approve_manual" targetRef="end_ok_manual" />
37
+ <bpmn:sequenceFlow id="flow_request_id_end_waiting" sourceRef="request_id" targetRef="end_waiting" />
38
+ <bpmn:sequenceFlow id="flow_request_docs_end_waiting" sourceRef="request_docs" targetRef="end_waiting" />
39
+ <bpmn:sequenceFlow id="flow_reject_end_rejected" sourceRef="reject" targetRef="end_rejected" />
40
+ </bpmn:process>
41
+ <bpmndi:BPMNDiagram id="BPMNDiagram_1">
42
+ <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_1">
43
+ <bpmndi:BPMNShape id="Start_1_di" bpmnElement="Start_1"><dc:Bounds x="160" y="142" width="36" height="36" /></bpmndi:BPMNShape>
44
+ <bpmndi:BPMNShape id="check_docs_di" bpmnElement="check_docs"><dc:Bounds x="256" y="120" width="100" height="80" /></bpmndi:BPMNShape>
45
+ <bpmndi:BPMNShape id="verify_di" bpmnElement="verify"><dc:Bounds x="416" y="120" width="100" height="80" /></bpmndi:BPMNShape>
46
+ <bpmndi:BPMNShape id="screen_di" bpmnElement="screen"><dc:Bounds x="576" y="120" width="100" height="80" /></bpmndi:BPMNShape>
47
+ <bpmndi:BPMNShape id="evidence_di" bpmnElement="evidence"><dc:Bounds x="736" y="120" width="100" height="80" /></bpmndi:BPMNShape>
48
+ <bpmndi:BPMNShape id="clean_di" bpmnElement="clean"><dc:Bounds x="896" y="135" width="50" height="50" /></bpmndi:BPMNShape>
49
+ <bpmndi:BPMNShape id="approve_di" bpmnElement="approve"><dc:Bounds x="1006" y="120" width="100" height="80" /></bpmndi:BPMNShape>
50
+ <bpmndi:BPMNShape id="end_ok_di" bpmnElement="end_ok"><dc:Bounds x="1166" y="142" width="36" height="36" /></bpmndi:BPMNShape>
51
+ <bpmndi:BPMNShape id="handover_di" bpmnElement="handover"><dc:Bounds x="1262" y="120" width="100" height="80" /></bpmndi:BPMNShape>
52
+ <bpmndi:BPMNShape id="review_di" bpmnElement="review"><dc:Bounds x="1422" y="120" width="100" height="80" /></bpmndi:BPMNShape>
53
+ <bpmndi:BPMNShape id="decide_di" bpmnElement="decide"><dc:Bounds x="1582" y="135" width="50" height="50" /></bpmndi:BPMNShape>
54
+ <bpmndi:BPMNShape id="approve_manual_di" bpmnElement="approve_manual"><dc:Bounds x="1692" y="120" width="100" height="80" /></bpmndi:BPMNShape>
55
+ <bpmndi:BPMNShape id="end_ok_manual_di" bpmnElement="end_ok_manual"><dc:Bounds x="1852" y="142" width="36" height="36" /></bpmndi:BPMNShape>
56
+ <bpmndi:BPMNShape id="request_id_di" bpmnElement="request_id"><dc:Bounds x="1948" y="120" width="100" height="80" /></bpmndi:BPMNShape>
57
+ <bpmndi:BPMNShape id="request_docs_di" bpmnElement="request_docs"><dc:Bounds x="2108" y="120" width="100" height="80" /></bpmndi:BPMNShape>
58
+ <bpmndi:BPMNShape id="end_waiting_di" bpmnElement="end_waiting"><dc:Bounds x="2268" y="142" width="36" height="36" /></bpmndi:BPMNShape>
59
+ <bpmndi:BPMNShape id="reject_di" bpmnElement="reject"><dc:Bounds x="2364" y="120" width="100" height="80" /></bpmndi:BPMNShape>
60
+ <bpmndi:BPMNShape id="end_rejected_di" bpmnElement="end_rejected"><dc:Bounds x="2524" y="142" width="36" height="36" /></bpmndi:BPMNShape>
61
+ <bpmndi:BPMNEdge id="flow_Start_1_check_docs_di" bpmnElement="flow_Start_1_check_docs"><di:waypoint x="196" y="160" /><di:waypoint x="256" y="160" /></bpmndi:BPMNEdge>
62
+ <bpmndi:BPMNEdge id="flow_check_docs_verify_di" bpmnElement="flow_check_docs_verify"><di:waypoint x="356" y="160" /><di:waypoint x="416" y="160" /></bpmndi:BPMNEdge>
63
+ <bpmndi:BPMNEdge id="flow_verify_screen_di" bpmnElement="flow_verify_screen"><di:waypoint x="516" y="160" /><di:waypoint x="576" y="160" /></bpmndi:BPMNEdge>
64
+ <bpmndi:BPMNEdge id="flow_screen_evidence_di" bpmnElement="flow_screen_evidence"><di:waypoint x="676" y="160" /><di:waypoint x="736" y="160" /></bpmndi:BPMNEdge>
65
+ <bpmndi:BPMNEdge id="flow_evidence_clean_di" bpmnElement="flow_evidence_clean"><di:waypoint x="836" y="160" /><di:waypoint x="896" y="160" /></bpmndi:BPMNEdge>
66
+ <bpmndi:BPMNEdge id="flow_clean_approve_di" bpmnElement="flow_clean_approve"><di:waypoint x="946" y="160" /><di:waypoint x="1006" y="160" /></bpmndi:BPMNEdge>
67
+ <bpmndi:BPMNEdge id="flow_clean_handover_di" bpmnElement="flow_clean_handover"><di:waypoint x="946" y="160" /><di:waypoint x="1262" y="160" /></bpmndi:BPMNEdge>
68
+ <bpmndi:BPMNEdge id="flow_approve_end_ok_di" bpmnElement="flow_approve_end_ok"><di:waypoint x="1106" y="160" /><di:waypoint x="1166" y="160" /></bpmndi:BPMNEdge>
69
+ <bpmndi:BPMNEdge id="flow_handover_review_di" bpmnElement="flow_handover_review"><di:waypoint x="1362" y="160" /><di:waypoint x="1422" y="160" /></bpmndi:BPMNEdge>
70
+ <bpmndi:BPMNEdge id="flow_review_decide_di" bpmnElement="flow_review_decide"><di:waypoint x="1522" y="160" /><di:waypoint x="1582" y="160" /></bpmndi:BPMNEdge>
71
+ <bpmndi:BPMNEdge id="flow_decide_request_id_di" bpmnElement="flow_decide_request_id"><di:waypoint x="1632" y="160" /><di:waypoint x="1948" y="160" /></bpmndi:BPMNEdge>
72
+ <bpmndi:BPMNEdge id="flow_decide_reject_di" bpmnElement="flow_decide_reject"><di:waypoint x="1632" y="160" /><di:waypoint x="2364" y="160" /></bpmndi:BPMNEdge>
73
+ <bpmndi:BPMNEdge id="flow_decide_request_docs_di" bpmnElement="flow_decide_request_docs"><di:waypoint x="1632" y="160" /><di:waypoint x="2108" y="160" /></bpmndi:BPMNEdge>
74
+ <bpmndi:BPMNEdge id="flow_decide_approve_manual_di" bpmnElement="flow_decide_approve_manual"><di:waypoint x="1632" y="160" /><di:waypoint x="1692" y="160" /></bpmndi:BPMNEdge>
75
+ <bpmndi:BPMNEdge id="flow_approve_manual_end_ok_manual_di" bpmnElement="flow_approve_manual_end_ok_manual"><di:waypoint x="1792" y="160" /><di:waypoint x="1852" y="160" /></bpmndi:BPMNEdge>
76
+ <bpmndi:BPMNEdge id="flow_request_id_end_waiting_di" bpmnElement="flow_request_id_end_waiting"><di:waypoint x="2048" y="160" /><di:waypoint x="2268" y="160" /></bpmndi:BPMNEdge>
77
+ <bpmndi:BPMNEdge id="flow_request_docs_end_waiting_di" bpmnElement="flow_request_docs_end_waiting"><di:waypoint x="2208" y="160" /><di:waypoint x="2268" y="160" /></bpmndi:BPMNEdge>
78
+ <bpmndi:BPMNEdge id="flow_reject_end_rejected_di" bpmnElement="flow_reject_end_rejected"><di:waypoint x="2464" y="160" /><di:waypoint x="2524" y="160" /></bpmndi:BPMNEdge>
79
+ </bpmndi:BPMNPlane>
80
+ </bpmndi:BPMNDiagram>
81
+ </bpmn:definitions>
@@ -0,0 +1,47 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <bpmn:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn="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:forest="https://app.forestadmin.com" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn">
3
+ <bpmn:process id="Process_1" isExecutable="true">
4
+ <bpmn:startEvent id="Start_1"><bpmn:outgoing>flow_Start_1_risk</bpmn:outgoing></bpmn:startEvent>
5
+ <bpmn:serviceTask id="risk" name="Read the risk" forest:alternative="get-data" forest:automaticCompletion="false" forest:preRecordedArgs="{&quot;selectedRecordStepId&quot;:&quot;workflow-start&quot;,&quot;fieldNames&quot;:[&quot;risk_decided&quot;,&quot;risk_rating_suggested&quot;,&quot;risk_hits&quot;,&quot;risk_pep&quot;,&quot;risk_residence&quot;,&quot;risk_funds&quot;,&quot;risk_volumes&quot;]}" forest:description="Read all 7 of these fields of this KYC case (every one is needed): &quot;Risk rating · Decided&quot;, &quot;Risk · Suggested rating&quot;, &quot;Risk · Screening hits&quot;, &quot;Risk · PEP&quot;, &quot;Risk · Residence&quot;, &quot;Risk · Occupation and funds&quot; and &quot;Risk · Income vs volumes&quot;."><bpmn:outgoing>flow_risk_why</bpmn:outgoing></bpmn:serviceTask>
6
+ <bpmn:userTask id="why" name="Why the bank says yes, or not" forest:alternative="guideline" forest:completionType="user-input" forest:inputType="free-text" forest:description="You are the second pair of eyes: read the risk lines above, then write in one or two sentences why the bank accepts this risk, needs a proof of the source of funds first, or refuses."><bpmn:outgoing>flow_why_decide</bpmn:outgoing></bpmn:userTask>
7
+ <bpmn:exclusiveGateway id="decide" name="Onboard this customer?" forest:description="Your decision, as the senior officer."><bpmn:outgoing>flow_decide_approve</bpmn:outgoing><bpmn:outgoing>flow_decide_ask_funds</bpmn:outgoing><bpmn:outgoing>flow_decide_reject</bpmn:outgoing></bpmn:exclusiveGateway>
8
+ <bpmn:serviceTask id="approve" name="Approve KYC - Medium or High" forest:alternative="trigger-action" forest:automaticCompletion="false" forest:description="Run &quot;Approve KYC - Medium or High&quot;: the senior approves the risk the operator rated; your note says why the bank accepts it. It refuses when a document, an ID or a screening hit is still open."><bpmn:outgoing>flow_approve_end_ok</bpmn:outgoing></bpmn:serviceTask>
9
+ <bpmn:endEvent id="end_ok" name="Customer onboarded"></bpmn:endEvent>
10
+ <bpmn:serviceTask id="ask_funds" name="Ask for a proof of funds" forest:alternative="trigger-action" forest:automaticCompletion="false" forest:description="Run &quot;Request missing documents&quot;: with every paper on file, it asks where the money comes from (notary deed, sale contract, payslips). The case waits on the client; the result card shows the request."><bpmn:outgoing>flow_ask_funds_end_waiting</bpmn:outgoing></bpmn:serviceTask>
11
+ <bpmn:endEvent id="end_waiting" name="Waiting on the client"></bpmn:endEvent>
12
+ <bpmn:serviceTask id="reject" name="Reject KYC" forest:alternative="trigger-action" forest:automaticCompletion="false" forest:description="Run &quot;Reject KYC&quot;: the reason is pre-filled from the failed checks."><bpmn:outgoing>flow_reject_end_rejected</bpmn:outgoing></bpmn:serviceTask>
13
+ <bpmn:endEvent id="end_rejected" name="Onboarding refused"></bpmn:endEvent>
14
+ <bpmn:sequenceFlow id="flow_Start_1_risk" sourceRef="Start_1" targetRef="risk" />
15
+ <bpmn:sequenceFlow id="flow_risk_why" sourceRef="risk" targetRef="why" />
16
+ <bpmn:sequenceFlow id="flow_why_decide" sourceRef="why" targetRef="decide" />
17
+ <bpmn:sequenceFlow id="flow_decide_approve" sourceRef="decide" targetRef="approve" name="Approve" />
18
+ <bpmn:sequenceFlow id="flow_decide_ask_funds" sourceRef="decide" targetRef="ask_funds" name="Ask for proof of funds" forest:buttonColor="yellow" />
19
+ <bpmn:sequenceFlow id="flow_decide_reject" sourceRef="decide" targetRef="reject" name="Reject" forest:buttonColor="red" />
20
+ <bpmn:sequenceFlow id="flow_approve_end_ok" sourceRef="approve" targetRef="end_ok" />
21
+ <bpmn:sequenceFlow id="flow_ask_funds_end_waiting" sourceRef="ask_funds" targetRef="end_waiting" />
22
+ <bpmn:sequenceFlow id="flow_reject_end_rejected" sourceRef="reject" targetRef="end_rejected" />
23
+ </bpmn:process>
24
+ <bpmndi:BPMNDiagram id="BPMNDiagram_1">
25
+ <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_1">
26
+ <bpmndi:BPMNShape id="Start_1_di" bpmnElement="Start_1"><dc:Bounds x="160" y="142" width="36" height="36" /></bpmndi:BPMNShape>
27
+ <bpmndi:BPMNShape id="risk_di" bpmnElement="risk"><dc:Bounds x="256" y="120" width="100" height="80" /></bpmndi:BPMNShape>
28
+ <bpmndi:BPMNShape id="why_di" bpmnElement="why"><dc:Bounds x="416" y="120" width="100" height="80" /></bpmndi:BPMNShape>
29
+ <bpmndi:BPMNShape id="decide_di" bpmnElement="decide"><dc:Bounds x="576" y="135" width="50" height="50" /></bpmndi:BPMNShape>
30
+ <bpmndi:BPMNShape id="approve_di" bpmnElement="approve"><dc:Bounds x="686" y="120" width="100" height="80" /></bpmndi:BPMNShape>
31
+ <bpmndi:BPMNShape id="end_ok_di" bpmnElement="end_ok"><dc:Bounds x="846" y="142" width="36" height="36" /></bpmndi:BPMNShape>
32
+ <bpmndi:BPMNShape id="ask_funds_di" bpmnElement="ask_funds"><dc:Bounds x="942" y="120" width="100" height="80" /></bpmndi:BPMNShape>
33
+ <bpmndi:BPMNShape id="end_waiting_di" bpmnElement="end_waiting"><dc:Bounds x="1102" y="142" width="36" height="36" /></bpmndi:BPMNShape>
34
+ <bpmndi:BPMNShape id="reject_di" bpmnElement="reject"><dc:Bounds x="1198" y="120" width="100" height="80" /></bpmndi:BPMNShape>
35
+ <bpmndi:BPMNShape id="end_rejected_di" bpmnElement="end_rejected"><dc:Bounds x="1358" y="142" width="36" height="36" /></bpmndi:BPMNShape>
36
+ <bpmndi:BPMNEdge id="flow_Start_1_risk_di" bpmnElement="flow_Start_1_risk"><di:waypoint x="196" y="160" /><di:waypoint x="256" y="160" /></bpmndi:BPMNEdge>
37
+ <bpmndi:BPMNEdge id="flow_risk_why_di" bpmnElement="flow_risk_why"><di:waypoint x="356" y="160" /><di:waypoint x="416" y="160" /></bpmndi:BPMNEdge>
38
+ <bpmndi:BPMNEdge id="flow_why_decide_di" bpmnElement="flow_why_decide"><di:waypoint x="516" y="160" /><di:waypoint x="576" y="160" /></bpmndi:BPMNEdge>
39
+ <bpmndi:BPMNEdge id="flow_decide_approve_di" bpmnElement="flow_decide_approve"><di:waypoint x="626" y="160" /><di:waypoint x="686" y="160" /></bpmndi:BPMNEdge>
40
+ <bpmndi:BPMNEdge id="flow_decide_ask_funds_di" bpmnElement="flow_decide_ask_funds"><di:waypoint x="626" y="160" /><di:waypoint x="942" y="160" /></bpmndi:BPMNEdge>
41
+ <bpmndi:BPMNEdge id="flow_decide_reject_di" bpmnElement="flow_decide_reject"><di:waypoint x="626" y="160" /><di:waypoint x="1198" y="160" /></bpmndi:BPMNEdge>
42
+ <bpmndi:BPMNEdge id="flow_approve_end_ok_di" bpmnElement="flow_approve_end_ok"><di:waypoint x="786" y="160" /><di:waypoint x="846" y="160" /></bpmndi:BPMNEdge>
43
+ <bpmndi:BPMNEdge id="flow_ask_funds_end_waiting_di" bpmnElement="flow_ask_funds_end_waiting"><di:waypoint x="1042" y="160" /><di:waypoint x="1102" y="160" /></bpmndi:BPMNEdge>
44
+ <bpmndi:BPMNEdge id="flow_reject_end_rejected_di" bpmnElement="flow_reject_end_rejected"><di:waypoint x="1298" y="160" /><di:waypoint x="1358" y="160" /></bpmndi:BPMNEdge>
45
+ </bpmndi:BPMNPlane>
46
+ </bpmndi:BPMNDiagram>
47
+ </bpmn:definitions>
@@ -0,0 +1,77 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <bpmn:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn="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:forest="https://app.forestadmin.com" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn">
3
+ <bpmn:process id="Process_1" isExecutable="true">
4
+ <bpmn:startEvent id="Start_1"><bpmn:outgoing>flow_Start_1_transfer</bpmn:outgoing></bpmn:startEvent>
5
+ <bpmn:serviceTask id="transfer" name="Read the transfer" forest:alternative="get-data" forest:automaticCompletion="false" forest:preRecordedArgs="{&quot;selectedRecordStepId&quot;:&quot;workflow-start&quot;,&quot;fieldNames&quot;:[&quot;tr_amount&quot;,&quot;tr_scheme&quot;,&quot;tr_requested&quot;,&quot;tr_via&quot;,&quot;tr_sca&quot;]}" forest:description="Read all 5 of these fields of this transfer (every one is needed): &quot;Transfer · Amount&quot;, &quot;Transfer · Scheme&quot;, &quot;Transfer · Requested&quot;, &quot;Transfer · Initiated via&quot; and &quot;Transfer · Customer authentication&quot;: the amount and the account, the scheme, when it was asked, how it was sent and how the customer confirmed it."><bpmn:outgoing>flow_transfer_payee</bpmn:outgoing></bpmn:serviceTask>
6
+ <bpmn:serviceTask id="payee" name="Read the payee" forest:alternative="get-data" forest:automaticCompletion="false" forest:preRecordedArgs="{&quot;selectedRecordStepId&quot;:&quot;workflow-start&quot;,&quot;fieldNames&quot;:[&quot;py_beneficiary&quot;,&quot;py_saved&quot;,&quot;py_history&quot;]}" forest:description="Read all 3 of these fields of this transfer (every one is needed): &quot;Payee · Beneficiary&quot;, &quot;Payee · Saved or new&quot; and &quot;Payee · Earlier payments&quot;: who receives the money (name, IBAN, bank, country), whether the payee is saved or new, and the earlier payments to it."><bpmn:outgoing>flow_payee_check_payee</bpmn:outgoing></bpmn:serviceTask>
7
+ <bpmn:serviceTask id="check_payee" name="Check the payee (Verification of Payee)" forest:alternative="trigger-action" forest:automaticExecution="true" forest:automaticCompletion="false" forest:description="Run &quot;Check the payee&quot;: through STET, the payee's bank says whether the name the customer typed is the name on the account, and the IBAN is checked. The answer is recorded on the transfer."><bpmn:outgoing>flow_check_payee_payee_check</bpmn:outgoing></bpmn:serviceTask>
8
+ <bpmn:serviceTask id="payee_check" name="Read the payee check" forest:alternative="get-data" forest:automaticCompletion="false" forest:preRecordedArgs="{&quot;selectedRecordStepId&quot;:&quot;workflow-start&quot;,&quot;fieldNames&quot;:[&quot;pc_result&quot;,&quot;pc_iban&quot;]}" forest:description="Read both of these fields of this transfer (every one is needed): &quot;Payee check · Result&quot; and &quot;Payee check · IBAN&quot;: the name check and the IBAN check."><bpmn:outgoing>flow_payee_check_payee_ok</bpmn:outgoing></bpmn:serviceTask>
9
+ <bpmn:exclusiveGateway id="payee_ok" name="Name on the account?" forest:aiDecision="true" forest:description="Matches when &quot;Payee check · Result&quot; starts with &quot;✓ Match&quot;, &quot;⚠ Close match&quot; or &quot;⚠ Not possible&quot;. No match when it starts with &quot;✗ No match&quot;: the money would go to someone else, stop the transfer."><bpmn:outgoing>flow_payee_ok_account</bpmn:outgoing><bpmn:outgoing>flow_payee_ok_reject</bpmn:outgoing></bpmn:exclusiveGateway>
10
+ <bpmn:serviceTask id="account" name="Read the account" forest:alternative="get-data" forest:automaticCompletion="false" forest:preRecordedArgs="{&quot;selectedRecordStepId&quot;:&quot;workflow-start&quot;,&quot;fieldNames&quot;:[&quot;ac_after&quot;,&quot;ac_usual&quot;]}" forest:description="Read both of these fields of this transfer (every one is needed): &quot;Account · Balance after&quot; and &quot;Account · Usual largest payment&quot;: what is left once it is sent, and the largest payment of the last 6 months."><bpmn:outgoing>flow_account_signals</bpmn:outgoing></bpmn:serviceTask>
11
+ <bpmn:serviceTask id="signals" name="Read the risk signals" forest:alternative="get-data" forest:automaticCompletion="false" forest:preRecordedArgs="{&quot;selectedRecordStepId&quot;:&quot;workflow-start&quot;,&quot;fieldNames&quot;:[&quot;sg_result&quot;,&quot;sg_device&quot;,&quot;sg_changes&quot;,&quot;sg_alerts&quot;]}" forest:description="Read all 4 of these fields of this transfer (every one is needed): &quot;Signals · Result&quot;, &quot;Signals · Device&quot;, &quot;Signals · Recent changes&quot; and &quot;Signals · Alerts&quot;: the device, recent changes of phone, email or address, open alerts, and the list of risk signals."><bpmn:outgoing>flow_signals_any_signal</bpmn:outgoing></bpmn:serviceTask>
12
+ <bpmn:exclusiveGateway id="any_signal" name="Any risk signal?" forest:aiDecision="true" forest:description="None when &quot;Signals · Result&quot; starts with &quot;✓ No risk signal&quot;. Signals found when it starts with &quot;⚠&quot;: call the customer back."><bpmn:outgoing>flow_any_signal_approve</bpmn:outgoing><bpmn:outgoing>flow_any_signal_call</bpmn:outgoing></bpmn:exclusiveGateway>
13
+ <bpmn:serviceTask id="call" name="Call the customer back" forest:alternative="trigger-action" forest:automaticCompletion="false" forest:description="Run &quot;Call customer back&quot;: Aircall dials the number on file, the one before any recent change. Ask whether they made this transfer, to whom and why, then pick what they said and note their words."><bpmn:outgoing>flow_call_call_read</bpmn:outgoing></bpmn:serviceTask>
14
+ <bpmn:serviceTask id="call_read" name="Read the call" forest:alternative="get-data" forest:automaticCompletion="false" forest:preRecordedArgs="{&quot;selectedRecordStepId&quot;:&quot;workflow-start&quot;,&quot;fieldNames&quot;:[&quot;call_result&quot;,&quot;call_number&quot;]}" forest:description="Read both of these fields of this transfer (every one is needed): &quot;Call · Result&quot; and &quot;Call · Number called&quot;: what the customer said, and the number called."><bpmn:outgoing>flow_call_read_confirms</bpmn:outgoing></bpmn:serviceTask>
15
+ <bpmn:exclusiveGateway id="confirms" name="Customer confirms?" forest:aiDecision="true" forest:description="Confirms when &quot;Call · Result&quot; starts with &quot;✓ Confirmed&quot;. Denies when it starts with &quot;✗&quot;. Not reached when it starts with &quot;⚠ Not reached&quot;."><bpmn:outgoing>flow_confirms_approve</bpmn:outgoing><bpmn:outgoing>flow_confirms_reject</bpmn:outgoing><bpmn:outgoing>flow_confirms_reject_2</bpmn:outgoing></bpmn:exclusiveGateway>
16
+ <bpmn:serviceTask id="approve" name="Approve the transfer" forest:alternative="trigger-action" forest:automaticCompletion="false" forest:description="Run &quot;Approve transfer&quot;: the money leaves now. Above 50,000 EUR a second operator approves (role setting). The result card shows the transfer sent."><bpmn:outgoing>flow_approve_end_ok</bpmn:outgoing></bpmn:serviceTask>
17
+ <bpmn:endEvent id="end_ok" name="Transfer sent"></bpmn:endEvent>
18
+ <bpmn:serviceTask id="reject" name="Reject the transfer" forest:alternative="trigger-action" forest:automaticCompletion="false" forest:description="Run &quot;Reject transfer&quot;: the reason is pre-filled from the payee check or the call. When the customer denied it, an account takeover alert opens for the fraud team. The result card shows the transfer stopped."><bpmn:outgoing>flow_reject_end_rejected</bpmn:outgoing></bpmn:serviceTask>
19
+ <bpmn:endEvent id="end_rejected" name="Transfer stopped"></bpmn:endEvent>
20
+ <bpmn:sequenceFlow id="flow_Start_1_transfer" sourceRef="Start_1" targetRef="transfer" />
21
+ <bpmn:sequenceFlow id="flow_transfer_payee" sourceRef="transfer" targetRef="payee" />
22
+ <bpmn:sequenceFlow id="flow_payee_check_payee" sourceRef="payee" targetRef="check_payee" />
23
+ <bpmn:sequenceFlow id="flow_check_payee_payee_check" sourceRef="check_payee" targetRef="payee_check" />
24
+ <bpmn:sequenceFlow id="flow_payee_check_payee_ok" sourceRef="payee_check" targetRef="payee_ok" />
25
+ <bpmn:sequenceFlow id="flow_payee_ok_account" sourceRef="payee_ok" targetRef="account" name="Matches or close" />
26
+ <bpmn:sequenceFlow id="flow_payee_ok_reject" sourceRef="payee_ok" targetRef="reject" name="No match" forest:buttonColor="red" />
27
+ <bpmn:sequenceFlow id="flow_account_signals" sourceRef="account" targetRef="signals" />
28
+ <bpmn:sequenceFlow id="flow_signals_any_signal" sourceRef="signals" targetRef="any_signal" />
29
+ <bpmn:sequenceFlow id="flow_any_signal_approve" sourceRef="any_signal" targetRef="approve" name="None" />
30
+ <bpmn:sequenceFlow id="flow_any_signal_call" sourceRef="any_signal" targetRef="call" name="Signals found" forest:buttonColor="orange" />
31
+ <bpmn:sequenceFlow id="flow_call_call_read" sourceRef="call" targetRef="call_read" />
32
+ <bpmn:sequenceFlow id="flow_call_read_confirms" sourceRef="call_read" targetRef="confirms" />
33
+ <bpmn:sequenceFlow id="flow_confirms_approve" sourceRef="confirms" targetRef="approve" name="Confirms" />
34
+ <bpmn:sequenceFlow id="flow_confirms_reject" sourceRef="confirms" targetRef="reject" name="Denies" forest:buttonColor="red" />
35
+ <bpmn:sequenceFlow id="flow_confirms_reject_2" sourceRef="confirms" targetRef="reject" name="Not reached" forest:buttonColor="yellow" />
36
+ <bpmn:sequenceFlow id="flow_approve_end_ok" sourceRef="approve" targetRef="end_ok" />
37
+ <bpmn:sequenceFlow id="flow_reject_end_rejected" sourceRef="reject" targetRef="end_rejected" />
38
+ </bpmn:process>
39
+ <bpmndi:BPMNDiagram id="BPMNDiagram_1">
40
+ <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_1">
41
+ <bpmndi:BPMNShape id="Start_1_di" bpmnElement="Start_1"><dc:Bounds x="160" y="142" width="36" height="36" /></bpmndi:BPMNShape>
42
+ <bpmndi:BPMNShape id="transfer_di" bpmnElement="transfer"><dc:Bounds x="256" y="120" width="100" height="80" /></bpmndi:BPMNShape>
43
+ <bpmndi:BPMNShape id="payee_di" bpmnElement="payee"><dc:Bounds x="416" y="120" width="100" height="80" /></bpmndi:BPMNShape>
44
+ <bpmndi:BPMNShape id="check_payee_di" bpmnElement="check_payee"><dc:Bounds x="576" y="120" width="100" height="80" /></bpmndi:BPMNShape>
45
+ <bpmndi:BPMNShape id="payee_check_di" bpmnElement="payee_check"><dc:Bounds x="736" y="120" width="100" height="80" /></bpmndi:BPMNShape>
46
+ <bpmndi:BPMNShape id="payee_ok_di" bpmnElement="payee_ok"><dc:Bounds x="896" y="135" width="50" height="50" /></bpmndi:BPMNShape>
47
+ <bpmndi:BPMNShape id="account_di" bpmnElement="account"><dc:Bounds x="1006" y="120" width="100" height="80" /></bpmndi:BPMNShape>
48
+ <bpmndi:BPMNShape id="signals_di" bpmnElement="signals"><dc:Bounds x="1166" y="120" width="100" height="80" /></bpmndi:BPMNShape>
49
+ <bpmndi:BPMNShape id="any_signal_di" bpmnElement="any_signal"><dc:Bounds x="1326" y="135" width="50" height="50" /></bpmndi:BPMNShape>
50
+ <bpmndi:BPMNShape id="call_di" bpmnElement="call"><dc:Bounds x="1436" y="120" width="100" height="80" /></bpmndi:BPMNShape>
51
+ <bpmndi:BPMNShape id="call_read_di" bpmnElement="call_read"><dc:Bounds x="1596" y="120" width="100" height="80" /></bpmndi:BPMNShape>
52
+ <bpmndi:BPMNShape id="confirms_di" bpmnElement="confirms"><dc:Bounds x="1756" y="135" width="50" height="50" /></bpmndi:BPMNShape>
53
+ <bpmndi:BPMNShape id="approve_di" bpmnElement="approve"><dc:Bounds x="1866" y="120" width="100" height="80" /></bpmndi:BPMNShape>
54
+ <bpmndi:BPMNShape id="end_ok_di" bpmnElement="end_ok"><dc:Bounds x="2026" y="142" width="36" height="36" /></bpmndi:BPMNShape>
55
+ <bpmndi:BPMNShape id="reject_di" bpmnElement="reject"><dc:Bounds x="2122" y="120" width="100" height="80" /></bpmndi:BPMNShape>
56
+ <bpmndi:BPMNShape id="end_rejected_di" bpmnElement="end_rejected"><dc:Bounds x="2282" y="142" width="36" height="36" /></bpmndi:BPMNShape>
57
+ <bpmndi:BPMNEdge id="flow_Start_1_transfer_di" bpmnElement="flow_Start_1_transfer"><di:waypoint x="196" y="160" /><di:waypoint x="256" y="160" /></bpmndi:BPMNEdge>
58
+ <bpmndi:BPMNEdge id="flow_transfer_payee_di" bpmnElement="flow_transfer_payee"><di:waypoint x="356" y="160" /><di:waypoint x="416" y="160" /></bpmndi:BPMNEdge>
59
+ <bpmndi:BPMNEdge id="flow_payee_check_payee_di" bpmnElement="flow_payee_check_payee"><di:waypoint x="516" y="160" /><di:waypoint x="576" y="160" /></bpmndi:BPMNEdge>
60
+ <bpmndi:BPMNEdge id="flow_check_payee_payee_check_di" bpmnElement="flow_check_payee_payee_check"><di:waypoint x="676" y="160" /><di:waypoint x="736" y="160" /></bpmndi:BPMNEdge>
61
+ <bpmndi:BPMNEdge id="flow_payee_check_payee_ok_di" bpmnElement="flow_payee_check_payee_ok"><di:waypoint x="836" y="160" /><di:waypoint x="896" y="160" /></bpmndi:BPMNEdge>
62
+ <bpmndi:BPMNEdge id="flow_payee_ok_account_di" bpmnElement="flow_payee_ok_account"><di:waypoint x="946" y="160" /><di:waypoint x="1006" y="160" /></bpmndi:BPMNEdge>
63
+ <bpmndi:BPMNEdge id="flow_payee_ok_reject_di" bpmnElement="flow_payee_ok_reject"><di:waypoint x="946" y="160" /><di:waypoint x="2122" y="160" /></bpmndi:BPMNEdge>
64
+ <bpmndi:BPMNEdge id="flow_account_signals_di" bpmnElement="flow_account_signals"><di:waypoint x="1106" y="160" /><di:waypoint x="1166" y="160" /></bpmndi:BPMNEdge>
65
+ <bpmndi:BPMNEdge id="flow_signals_any_signal_di" bpmnElement="flow_signals_any_signal"><di:waypoint x="1266" y="160" /><di:waypoint x="1326" y="160" /></bpmndi:BPMNEdge>
66
+ <bpmndi:BPMNEdge id="flow_any_signal_approve_di" bpmnElement="flow_any_signal_approve"><di:waypoint x="1376" y="160" /><di:waypoint x="1866" y="160" /></bpmndi:BPMNEdge>
67
+ <bpmndi:BPMNEdge id="flow_any_signal_call_di" bpmnElement="flow_any_signal_call"><di:waypoint x="1376" y="160" /><di:waypoint x="1436" y="160" /></bpmndi:BPMNEdge>
68
+ <bpmndi:BPMNEdge id="flow_call_call_read_di" bpmnElement="flow_call_call_read"><di:waypoint x="1536" y="160" /><di:waypoint x="1596" y="160" /></bpmndi:BPMNEdge>
69
+ <bpmndi:BPMNEdge id="flow_call_read_confirms_di" bpmnElement="flow_call_read_confirms"><di:waypoint x="1696" y="160" /><di:waypoint x="1756" y="160" /></bpmndi:BPMNEdge>
70
+ <bpmndi:BPMNEdge id="flow_confirms_approve_di" bpmnElement="flow_confirms_approve"><di:waypoint x="1806" y="160" /><di:waypoint x="1866" y="160" /></bpmndi:BPMNEdge>
71
+ <bpmndi:BPMNEdge id="flow_confirms_reject_di" bpmnElement="flow_confirms_reject"><di:waypoint x="1806" y="160" /><di:waypoint x="2122" y="160" /></bpmndi:BPMNEdge>
72
+ <bpmndi:BPMNEdge id="flow_confirms_reject_2_di" bpmnElement="flow_confirms_reject_2"><di:waypoint x="1806" y="160" /><di:waypoint x="2122" y="160" /></bpmndi:BPMNEdge>
73
+ <bpmndi:BPMNEdge id="flow_approve_end_ok_di" bpmnElement="flow_approve_end_ok"><di:waypoint x="1966" y="160" /><di:waypoint x="2026" y="160" /></bpmndi:BPMNEdge>
74
+ <bpmndi:BPMNEdge id="flow_reject_end_rejected_di" bpmnElement="flow_reject_end_rejected"><di:waypoint x="2222" y="160" /><di:waypoint x="2282" y="160" /></bpmndi:BPMNEdge>
75
+ </bpmndi:BPMNPlane>
76
+ </bpmndi:BPMNDiagram>
77
+ </bpmn:definitions>