2022-07-13 23:46:34 -04:00
<?xml version="1.0" encoding="UTF-8"?>
2022-10-20 06:39:48 +00:00
<bpmn:definitions 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:spiffworkflow="http://spiffworkflow.org/bpmn/schema/1.0/core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn" camunda:diagramRelationId="f01e22f1-a50b-42ba-afad-22f56fc3e635">
2022-06-30 11:30:02 -04:00
<bpmn:collaboration id="Collaboration_130jph2">
2022-09-16 16:22:02 -04:00
<bpmn:participant id="Participant_1fsb6gv" name="Core Contributor" processRef="Process_cc_invoice_approval_process_v2_b" />
<bpmn:participant id="Participant_11ab2hx" name="Process management platform" processRef="Process_cc_invoice_approval_process_v2_a" />
2022-09-19 13:11:17 -04:00
<bpmn:participant id="Participant_0a8arrz" name="AWS DynamoDB" />
<bpmn:participant id="Participant_1qabwrg" name="AWS S3" />
<bpmn:participant id="Participant_0b27sri" name="Xero" />
2022-07-13 23:46:34 -04:00
<bpmn:messageFlow id="Flow_0ppupld" sourceRef="Activity_0o1vc0a" targetRef="Participant_0a8arrz" />
<bpmn:messageFlow id="Flow_0yfnc92" sourceRef="Activity_0p88elm" targetRef="Participant_1qabwrg" />
2022-10-23 04:48:45 +00:00
<bpmn:messageFlow id="Flow_0jciftq" sourceRef="Activity_0gkpa9s" targetRef="Participant_1fsb6gv" />
2022-07-13 23:46:34 -04:00
<bpmn:messageFlow id="Flow_0p0bc5u" sourceRef="Activity_0fq1nb4" targetRef="Participant_0b27sri" />
2022-09-07 21:26:22 -04:00
<bpmn:messageFlow id="Flow_0n9qxyw" sourceRef="Submit_the_invoice" targetRef="Participant_1fsb6gv" />
2022-10-23 19:17:40 +00:00
<bpmn:messageFlow id="Flow_1getkzr" sourceRef="Activity_0rae8g6" targetRef="Participant_1fsb6gv" />
2022-07-13 23:46:34 -04:00
<bpmn:messageFlow id="Flow_0ozze4c" sourceRef="Activity_1ftzr6x" targetRef="Participant_1fsb6gv" />
2022-10-23 06:04:40 +00:00
<bpmn:messageFlow id="Flow_1dgkwzr" sourceRef="Waku_Message_Pending_Payment" targetRef="Participant_1fsb6gv" />
2022-06-30 11:30:02 -04:00
<bpmn:textAnnotation id="TextAnnotation_1uaw1w7">
<bpmn:text>Environment - Vendor portal, Mailbox, etc.</bpmn:text>
</bpmn:textAnnotation>
2022-07-13 23:46:34 -04:00
<bpmn:association id="Association_1eygti7" sourceRef="Participant_1fsb6gv" targetRef="TextAnnotation_1uaw1w7" />
2022-09-14 18:09:13 -04:00
<bpmn:correlationKey name="CorrelationKey_Submit_Invoice">
<bpmn:correlationPropertyRef>CorrelationProperty_Submit_Invoice</bpmn:correlationPropertyRef>
</bpmn:correlationKey>
2022-06-30 11:30:02 -04:00
</bpmn:collaboration>
2022-09-16 16:22:02 -04:00
<bpmn:process id="Process_cc_invoice_approval_process_v2_b" isExecutable="true" />
<bpmn:process id="Process_cc_invoice_approval_process_v2_a" isExecutable="true">
2022-06-30 11:30:02 -04:00
<bpmn:laneSet id="LaneSet_0txkzqg">
2022-10-21 21:14:40 +00:00
<bpmn:lane id="Lane_1a0qu8e" name="Process Initiator">
2022-10-11 13:06:25 +00:00
<bpmn:flowNodeRef>Submit_the_invoice</bpmn:flowNodeRef>
2022-09-30 11:18:04 -04:00
<bpmn:flowNodeRef>Gateway_validation_successful_question_mark</bpmn:flowNodeRef>
2022-10-22 23:20:19 +00:00
<bpmn:flowNodeRef>Event_1usbnt0</bpmn:flowNodeRef>
<bpmn:flowNodeRef>SubProcess_Data_validation_rules</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Activity_show_errors</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Event_invoice_validation_failed</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Activity_1colhao</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Gateway_16gxu6s</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Activity_1u89kok</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Event_1r3yh2k</bpmn:flowNodeRef>
2022-10-19 23:41:35 +00:00
<bpmn:flowNodeRef>Gateway_05ov5p5</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Activity_0o1vc0a</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Activity_0p88elm</bpmn:flowNodeRef>
2022-10-22 19:10:47 +00:00
<bpmn:flowNodeRef>Activity_104xpp8</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Activity_109lq0m</bpmn:flowNodeRef>
2022-10-22 19:11:54 +00:00
<bpmn:flowNodeRef>Activity_10p5t0r</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Gateway_1717c0p</bpmn:flowNodeRef>
2022-10-23 04:48:45 +00:00
<bpmn:flowNodeRef>Activity_0gkpa9s</bpmn:flowNodeRef>
2022-10-23 05:27:16 +00:00
<bpmn:flowNodeRef>Gateway_1lbghql</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Event_0x83ruk</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Event_0m3ri6v</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Gateway_1l4tz4i</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Event_1b58a3z</bpmn:flowNodeRef>
2022-10-23 04:34:34 +00:00
<bpmn:flowNodeRef>Activity_0gkejaj</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Activity_1ucvkk4</bpmn:flowNodeRef>
2022-10-23 05:27:16 +00:00
<bpmn:flowNodeRef>Activity_0faln91</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Activity_0fq1nb4</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Activity_1b6tead</bpmn:flowNodeRef>
2022-10-23 04:48:45 +00:00
<bpmn:flowNodeRef>Event_15y55nw</bpmn:flowNodeRef>
2022-10-23 05:31:34 +00:00
<bpmn:flowNodeRef>Waku_Message_Pending_Payment</bpmn:flowNodeRef>
2022-10-23 06:28:19 +00:00
<bpmn:flowNodeRef>Activity_0rae8g6</bpmn:flowNodeRef>
2022-10-23 20:57:15 +00:00
<bpmn:flowNodeRef>Activity_1kgaqpf</bpmn:flowNodeRef>
2022-06-30 11:30:02 -04:00
</bpmn:lane>
<bpmn:lane id="Lane_1so23vf" name="Finance Team">
2022-10-22 23:20:19 +00:00
<bpmn:flowNodeRef>Activity_0cdgqi0</bpmn:flowNodeRef>
2022-10-20 14:27:58 +00:00
<bpmn:flowNodeRef>Gateway_1ytq6m7</bpmn:flowNodeRef>
2022-10-23 01:14:21 +00:00
<bpmn:flowNodeRef>Activity_11stdua</bpmn:flowNodeRef>
2022-06-30 11:30:02 -04:00
</bpmn:lane>
2022-10-05 14:03:31 +00:00
<bpmn:lane id="Lane_1b7abal" name="Team Lead">
2022-10-14 13:49:06 +00:00
<bpmn:flowNodeRef>Activity_1ftzr6x</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Event_0f3d2bp</bpmn:flowNodeRef>
2022-10-14 15:51:16 +00:00
<bpmn:flowNodeRef>Activity_06b32ar</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Event_09q0ym0</bpmn:flowNodeRef>
2022-10-05 13:58:13 +00:00
</bpmn:lane>
2022-06-30 11:30:02 -04:00
</bpmn:laneSet>
2022-10-22 19:10:00 +00:00
<bpmn:sequenceFlow id="Flow_1x4rtop" name="Yes" sourceRef="Gateway_validation_successful_question_mark" targetRef="Activity_109lq0m" />
2022-09-30 11:18:04 -04:00
<bpmn:sequenceFlow id="Flow_05ffq52" name="No" sourceRef="Gateway_validation_successful_question_mark" targetRef="Event_invoice_validation_failed">
2022-09-07 21:26:22 -04:00
<bpmn:conditionExpression>not(isInvoiceSubmitPass)</bpmn:conditionExpression>
</bpmn:sequenceFlow>
2022-07-13 23:46:34 -04:00
<bpmn:sequenceFlow id="Flow_1c5u447" sourceRef="Activity_0gkejaj" targetRef="Gateway_1lbghql" />
2022-10-20 00:59:12 +00:00
<bpmn:sequenceFlow id="Flow_1gohkts" name="Yes" sourceRef="Gateway_1lbghql" targetRef="Event_0m3ri6v" />
2022-10-23 22:40:49 +00:00
<bpmn:sequenceFlow id="Flow_18xvx8w" name="yes" sourceRef="Gateway_1l4tz4i" targetRef="Activity_1kgaqpf" />
2022-07-13 23:46:34 -04:00
<bpmn:sequenceFlow id="Flow_1ex5hfx" sourceRef="Event_15y55nw" targetRef="Activity_0gkejaj" />
2022-10-20 00:59:12 +00:00
<bpmn:sequenceFlow id="Flow_16bw9hx" name="No" sourceRef="Gateway_1lbghql" targetRef="Event_0x83ruk">
2022-10-20 01:12:46 +00:00
<bpmn:conditionExpression>not(isMatch)</bpmn:conditionExpression>
2022-10-20 00:59:12 +00:00
</bpmn:sequenceFlow>
2022-07-13 23:46:34 -04:00
<bpmn:sequenceFlow id="Flow_1wturr2" sourceRef="Activity_1ftzr6x" targetRef="Event_0f3d2bp" />
2022-10-23 19:17:40 +00:00
<bpmn:sequenceFlow id="Flow_0bfs2xe" name="No" sourceRef="Gateway_1l4tz4i" targetRef="Activity_0rae8g6">
2022-10-20 06:38:48 +00:00
<bpmn:conditionExpression>not(isInvoiceApproved)</bpmn:conditionExpression>
2022-10-20 06:18:10 +00:00
</bpmn:sequenceFlow>
2022-10-23 19:17:40 +00:00
<bpmn:sequenceFlow id="Flow_0c0c9mw" sourceRef="Activity_0rae8g6" targetRef="Event_1b58a3z" />
2022-09-30 11:18:04 -04:00
<bpmn:sequenceFlow id="Flow_13ng1f4" sourceRef="Event_invoice_validation_failed" targetRef="Activity_show_errors" />
<bpmn:sequenceFlow id="Flow_18cic3h" sourceRef="Activity_show_errors" targetRef="Gateway_16gxu6s" />
2022-09-15 15:16:06 -04:00
<bpmn:sequenceFlow id="Flow_02moyg7" sourceRef="Submit_the_invoice" targetRef="SubProcess_Data_validation_rules" />
2022-09-30 11:18:04 -04:00
<bpmn:sequenceFlow id="Flow_1ck27i7" sourceRef="SubProcess_Data_validation_rules" targetRef="Gateway_validation_successful_question_mark" />
2022-10-11 13:06:25 +00:00
<bpmn:sequenceFlow id="Flow_1v8dszb" sourceRef="Event_09q0ym0" targetRef="Activity_1ftzr6x" />
2022-10-22 23:09:17 +00:00
<bpmn:sequenceFlow id="Flow_0yvmfqu" sourceRef="Activity_06b32ar" targetRef="Activity_0faln91" />
2022-10-20 16:44:27 +00:00
<bpmn:sequenceFlow id="Flow_12cqm3u" sourceRef="Gateway_05ov5p5" targetRef="Activity_104xpp8" />
2022-10-19 23:41:35 +00:00
<bpmn:sequenceFlow id="Flow_0hev3yn" sourceRef="Gateway_05ov5p5" targetRef="Activity_0o1vc0a" />
<bpmn:sequenceFlow id="Flow_02o270g" sourceRef="Activity_0o1vc0a" targetRef="Gateway_1717c0p" />
<bpmn:sequenceFlow id="Flow_0o94g4u" sourceRef="Activity_0p88elm" targetRef="Gateway_1717c0p" />
<bpmn:sequenceFlow id="Flow_1vxagrf" sourceRef="Event_1r3yh2k" targetRef="Activity_1u89kok" />
2022-10-11 20:35:54 +00:00
<bpmn:userTask id="Submit_the_invoice" name="2. Submit the invoice" scriptFormat="python" script="SdgsdGsdhgwsDEHhww">
2022-10-11 13:06:25 +00:00
<bpmn:extensionElements>
<spiffworkflow:properties>
<spiffworkflow:property name="formJsonSchemaFilename" value="Submit-the-invoice_JSONSchema.json" />
<spiffworkflow:property name="formUiSchemaFilename" value="Submit-the-invoice_UISchema.json" />
</spiffworkflow:properties>
<spiffworkflow:postScript />
<spiffworkflow:preScript />
</bpmn:extensionElements>
2022-10-21 03:34:12 +00:00
<bpmn:incoming>Flow_00p30u2</bpmn:incoming>
2022-10-11 13:06:25 +00:00
<bpmn:outgoing>Flow_02moyg7</bpmn:outgoing>
</bpmn:userTask>
2022-09-30 11:18:04 -04:00
<bpmn:exclusiveGateway id="Gateway_validation_successful_question_mark" name="Successful?" default="Flow_1x4rtop">
2022-09-12 16:12:36 -04:00
<bpmn:incoming>Flow_1ck27i7</bpmn:incoming>
2022-06-30 11:30:02 -04:00
<bpmn:outgoing>Flow_1x4rtop</bpmn:outgoing>
<bpmn:outgoing>Flow_05ffq52</bpmn:outgoing>
</bpmn:exclusiveGateway>
2022-10-11 21:32:10 +00:00
<bpmn:subProcess id="SubProcess_Data_validation_rules" name="2b. Data validation rules">
<bpmn:incoming>Flow_02moyg7</bpmn:incoming>
<bpmn:outgoing>Flow_1ck27i7</bpmn:outgoing>
<bpmn:startEvent id="Event_1qkuk5g">
<bpmn:outgoing>Flow_1avkxpe</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:scriptTask id="Activity_Check_Due_Date" name="Check Due Date" scriptFormat="python">
2022-10-18 20:44:29 +00:00
<bpmn:incoming>Flow_18i6dlo</bpmn:incoming>
<bpmn:outgoing>Flow_1d7sgm2</bpmn:outgoing>
2022-10-11 21:32:10 +00:00
<bpmn:script>invoice_date_obj = datetime.strptime(invoice.dueDate, '%Y-%m-%d')
local_date_time_obj = datetime.strptime(local_date_str, '%Y-%m-%d')
if invoice_date_obj > local_date_time_obj:
isDueDateAfter = True
else:
isDueDateAfter = False
2022-10-18 20:08:58 +00:00
# Add date of invoice
2022-10-18 21:10:49 +00:00
invoice["invoiceDate"] = local_date_str
2022-10-18 20:08:58 +00:00
2022-10-11 21:32:10 +00:00
del local_date_time_obj
del invoice_date_obj
del datetime</bpmn:script>
</bpmn:scriptTask>
<bpmn:endEvent id="Event_015l7j8">
<bpmn:incoming>Flow_0tzjowk</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_1avkxpe" sourceRef="Event_1qkuk5g" targetRef="Activity_check_contributor_name" />
<bpmn:scriptTask id="Activity_check_contributor_name" name="Check Contributor Name" scriptFormat="python">
<bpmn:extensionElements>
<spiffworkflow:unitTests>
<spiffworkflow:unitTest id="ScriptUnitTest_1kke2c8">
<spiffworkflow:inputJson>{"invoice.contributorName": "Harmeet"}</spiffworkflow:inputJson>
<spiffworkflow:expectedOutputJson>{
"isNameNum": false,
"invoice.contributorName": "Harmeet"
}</spiffworkflow:expectedOutputJson>
</spiffworkflow:unitTest>
</spiffworkflow:unitTests>
</bpmn:extensionElements>
<bpmn:incoming>Flow_1avkxpe</bpmn:incoming>
2022-10-19 23:57:42 +00:00
<bpmn:outgoing>Flow_0mvmd06</bpmn:outgoing>
2022-10-11 21:32:10 +00:00
<bpmn:script>isNameNum = False
for c in invoice.contributorName:
if c.isdigit():
isNameNum = True
break
del c</bpmn:script>
</bpmn:scriptTask>
<bpmn:scriptTask id="Activity_check_invoice_amount" name="Check Invoice Amount" scriptFormat="python">
2022-10-19 23:57:42 +00:00
<bpmn:incoming>Flow_0mvmd06</bpmn:incoming>
<bpmn:outgoing>Flow_0wp2mcf</bpmn:outgoing>
2022-10-13 15:21:10 +00:00
<bpmn:script># Check if there are more than two decimal places
2022-10-11 21:32:10 +00:00
invoiceAmount_str = str(invoice.invoiceAmount)
d = decimal.Decimal(invoiceAmount_str)
d_cnt = d.as_tuple().exponent
2022-10-21 16:39:00 +00:00
# Get number of decimal places
2022-10-11 21:32:10 +00:00
decimal_cnt = abs(d_cnt)
2022-10-21 16:39:00 +00:00
#Delete unneeded variables
2022-10-11 21:32:10 +00:00
del d
del d_cnt
del decimal</bpmn:script>
</bpmn:scriptTask>
<bpmn:sequenceFlow id="Flow_0tzjowk" sourceRef="Activity_check_validation_rules" targetRef="Event_015l7j8" />
<bpmn:businessRuleTask id="Activity_check_validation_rules" name="Check Validation Rules">
<bpmn:extensionElements>
<spiffworkflow:calledDecisionId>submit_involce_valication</spiffworkflow:calledDecisionId>
</bpmn:extensionElements>
2022-10-18 20:44:29 +00:00
<bpmn:incoming>Flow_1d7sgm2</bpmn:incoming>
2022-10-11 21:32:10 +00:00
<bpmn:outgoing>Flow_0tzjowk</bpmn:outgoing>
</bpmn:businessRuleTask>
2022-10-18 20:44:29 +00:00
<bpmn:callActivity id="Activity_call_local_date_and_time" name="Call Local Date & Time" calledElement="Shared_Local_Date_Time">
2022-10-19 23:57:42 +00:00
<bpmn:incoming>Flow_0wp2mcf</bpmn:incoming>
2022-10-18 20:44:29 +00:00
<bpmn:outgoing>Flow_18i6dlo</bpmn:outgoing>
</bpmn:callActivity>
<bpmn:sequenceFlow id="Flow_18i6dlo" sourceRef="Activity_call_local_date_and_time" targetRef="Activity_Check_Due_Date" />
<bpmn:sequenceFlow id="Flow_1d7sgm2" sourceRef="Activity_Check_Due_Date" targetRef="Activity_check_validation_rules" />
2022-10-19 23:57:42 +00:00
<bpmn:sequenceFlow id="Flow_0mvmd06" sourceRef="Activity_check_contributor_name" targetRef="Activity_check_invoice_amount" />
<bpmn:sequenceFlow id="Flow_0wp2mcf" sourceRef="Activity_check_invoice_amount" targetRef="Activity_call_local_date_and_time" />
2022-10-11 21:32:10 +00:00
</bpmn:subProcess>
<bpmn:manualTask id="Activity_show_errors" name="Show Error(s)">
<bpmn:extensionElements>
<spiffworkflow:instructionsForEndUser>Validation failed. \n
{{ submitInvoiceValidationMessage }} \n
Please fix.
</spiffworkflow:instructionsForEndUser>
</bpmn:extensionElements>
<bpmn:incoming>Flow_13ng1f4</bpmn:incoming>
<bpmn:outgoing>Flow_18cic3h</bpmn:outgoing>
</bpmn:manualTask>
2022-10-22 19:10:36 +00:00
<bpmn:intermediateThrowEvent id="Event_invoice_validation_failed" name="Invoice validation failed">
2022-10-22 19:10:00 +00:00
<bpmn:documentation>Process milestone should update the process metadata field “milestone reached”</bpmn:documentation>
<bpmn:incoming>Flow_05ffq52</bpmn:incoming>
<bpmn:outgoing>Flow_13ng1f4</bpmn:outgoing>
</bpmn:intermediateThrowEvent>
<bpmn:sequenceFlow id="Flow_0bipj9q" sourceRef="Activity_1u89kok" targetRef="Gateway_16gxu6s" />
2022-10-23 22:40:49 +00:00
<bpmn:sequenceFlow id="Flow_04ccp12" sourceRef="Event_0m3ri6v" targetRef="Activity_1kgaqpf" />
2022-10-22 19:10:00 +00:00
<bpmn:sequenceFlow id="Flow_0kngdw4" sourceRef="Event_0x83ruk" targetRef="Activity_1ucvkk4" />
<bpmn:sequenceFlow id="Flow_0lfqk0y" sourceRef="Activity_1ucvkk4" targetRef="Activity_06b32ar" />
2022-10-23 22:40:49 +00:00
<bpmn:sequenceFlow id="Flow_1ds4s8o" sourceRef="Activity_1kgaqpf" targetRef="Activity_0cdgqi0" />
2022-10-23 01:14:21 +00:00
<bpmn:sequenceFlow id="Flow_09wwily" sourceRef="Activity_0cdgqi0" targetRef="Activity_11stdua" />
2022-10-22 19:10:00 +00:00
<bpmn:sequenceFlow id="Flow_00kky3k" name="No" sourceRef="Gateway_1ytq6m7" targetRef="Gateway_1l4tz4i">
<bpmn:conditionExpression>not(isInvoiceApproved)</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:sequenceFlow id="Flow_0h96w9j" name="Yes" sourceRef="Gateway_1ytq6m7" targetRef="Activity_0fq1nb4" />
2022-10-22 23:20:19 +00:00
<bpmn:sequenceFlow id="Flow_053ca95" sourceRef="Activity_0fq1nb4" targetRef="Activity_1b6tead" />
2022-10-22 19:10:00 +00:00
<bpmn:sequenceFlow id="Flow_0p6vvu0" sourceRef="Activity_104xpp8" targetRef="Activity_0p88elm" />
<bpmn:sequenceFlow id="Flow_0v2hmuf" sourceRef="Gateway_16gxu6s" targetRef="Activity_1colhao" />
<bpmn:sequenceFlow id="Flow_00p30u2" sourceRef="Activity_1colhao" targetRef="Submit_the_invoice" />
2022-10-23 02:48:16 +00:00
<bpmn:callActivity id="Activity_1colhao" name="Call Shared: Build Enum List from AWS" calledElement="Shared_Build_Enum_List_from_AWS">
2022-10-22 19:10:00 +00:00
<bpmn:extensionElements>
<spiffworkflow:preScript>whichSubject = "Currency"
addNew = False</spiffworkflow:preScript>
</bpmn:extensionElements>
<bpmn:incoming>Flow_0v2hmuf</bpmn:incoming>
<bpmn:outgoing>Flow_00p30u2</bpmn:outgoing>
</bpmn:callActivity>
<bpmn:exclusiveGateway id="Gateway_16gxu6s">
<bpmn:incoming>Flow_18cic3h</bpmn:incoming>
<bpmn:incoming>Flow_0bipj9q</bpmn:incoming>
<bpmn:outgoing>Flow_0v2hmuf</bpmn:outgoing>
</bpmn:exclusiveGateway>
2022-10-23 03:52:00 +00:00
<bpmn:callActivity id="Activity_1u89kok" name="Call Shared: Start Process" calledElement="Shared_Start_Process">
2022-10-22 19:10:00 +00:00
<bpmn:extensionElements>
<spiffworkflow:preScript>find_user = current_user["username"]
isCurrentUser = True</spiffworkflow:preScript>
</bpmn:extensionElements>
<bpmn:incoming>Flow_1vxagrf</bpmn:incoming>
<bpmn:outgoing>Flow_0bipj9q</bpmn:outgoing>
</bpmn:callActivity>
<bpmn:startEvent id="Event_1r3yh2k">
<bpmn:outgoing>Flow_1vxagrf</bpmn:outgoing>
</bpmn:startEvent>
2022-10-19 14:44:05 +00:00
<bpmn:parallelGateway id="Gateway_05ov5p5">
2022-10-22 19:10:00 +00:00
<bpmn:incoming>Flow_0u5z1vc</bpmn:incoming>
2022-10-19 14:44:05 +00:00
<bpmn:outgoing>Flow_12cqm3u</bpmn:outgoing>
<bpmn:outgoing>Flow_0hev3yn</bpmn:outgoing>
</bpmn:parallelGateway>
<bpmn:serviceTask id="Activity_0o1vc0a" name="2c. Save Invoice Data">
<bpmn:extensionElements>
<spiffworkflow:serviceTaskOperator id="aws/AddDynamoItem" resultVariable="'responseAddDynamoInvoice'">
<spiffworkflow:parameters>
<spiffworkflow:parameter id="item_data" type="str" value="{ "ContributorName": invoice.contributorName, "ContributorId": invoice.contributorId, "InvoiceId": invoice.invoiceId, "InvoiceAmount": invoice.invoiceAmount, "InvoiceCurrency": invoice.invoiceCurrency, "DueDate": invoice.dueDate }" />
<spiffworkflow:parameter id="table_name" type="str" value="'Invoice'" />
</spiffworkflow:parameters>
</spiffworkflow:serviceTaskOperator>
</bpmn:extensionElements>
<bpmn:incoming>Flow_0hev3yn</bpmn:incoming>
<bpmn:outgoing>Flow_02o270g</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:serviceTask id="Activity_0p88elm" name="2d. Upload Invoice PDF document" scriptFormat="python" script="invoice_name = invoice.contributorName + "_" + invoice.invoiceId">
<bpmn:extensionElements>
2022-10-21 20:36:33 +00:00
<spiffworkflow:preScript />
2022-10-20 15:29:52 +00:00
<spiffworkflow:postScript>del(filesAccept)</spiffworkflow:postScript>
2022-10-19 14:44:05 +00:00
<spiffworkflow:serviceTaskOperator id="aws/UploadFileData">
<spiffworkflow:parameters>
<spiffworkflow:parameter id="bucket" type="str" value="'sartography-status-pdfs'" />
<spiffworkflow:parameter id="file_data" type="str" value="filesAccept" />
<spiffworkflow:parameter id="object_name" type="str" value="invoice_file_name" />
</spiffworkflow:parameters>
</spiffworkflow:serviceTaskOperator>
</bpmn:extensionElements>
2022-10-20 16:44:27 +00:00
<bpmn:incoming>Flow_0p6vvu0</bpmn:incoming>
2022-10-19 14:44:05 +00:00
<bpmn:outgoing>Flow_0o94g4u</bpmn:outgoing>
</bpmn:serviceTask>
2022-10-22 19:10:47 +00:00
<bpmn:scriptTask id="Activity_104xpp8" name="Set Invoice PDF Name" scriptFormat="python">
<bpmn:incoming>Flow_12cqm3u</bpmn:incoming>
<bpmn:outgoing>Flow_0p6vvu0</bpmn:outgoing>
<bpmn:script>invoice_file_name = invoice.contributorName + "_" + str(invoice.invoiceId) + ".pdf"</bpmn:script>
</bpmn:scriptTask>
<bpmn:sequenceFlow id="Flow_0u5z1vc" sourceRef="Activity_109lq0m" targetRef="Gateway_05ov5p5" />
<bpmn:scriptTask id="Activity_109lq0m" name="Set Invoice Status to Awaiting Approval" scriptFormat="python">
<bpmn:incoming>Flow_1x4rtop</bpmn:incoming>
<bpmn:outgoing>Flow_0u5z1vc</bpmn:outgoing>
<bpmn:script># Set Invoice Status
2022-10-23 16:10:47 +00:00
invoice["invoiceStatus"] = "Awaiting approval"</bpmn:script>
2022-10-22 19:10:47 +00:00
</bpmn:scriptTask>
2022-10-23 04:34:34 +00:00
<bpmn:callActivity id="Activity_10p5t0r" name="Call Shared: Currency Format" calledElement="Shared_Currency_Format">
<bpmn:extensionElements>
<spiffworkflow:preScript>curCode = invoice.invoiceCurrency
curAmount = invoice.invoiceAmount
isTest = False</spiffworkflow:preScript>
<spiffworkflow:postScript>invoice.invoiceAmount_str = curAmount_str</spiffworkflow:postScript>
</bpmn:extensionElements>
<bpmn:incoming>Flow_0a9w301</bpmn:incoming>
<bpmn:outgoing>Flow_0h1x7y6</bpmn:outgoing>
</bpmn:callActivity>
<bpmn:sequenceFlow id="Flow_0a9w301" sourceRef="Gateway_1717c0p" targetRef="Activity_10p5t0r" />
<bpmn:sequenceFlow id="Flow_0h1x7y6" sourceRef="Activity_10p5t0r" targetRef="Activity_0gkpa9s" />
<bpmn:parallelGateway id="Gateway_1717c0p">
<bpmn:incoming>Flow_02o270g</bpmn:incoming>
<bpmn:incoming>Flow_0o94g4u</bpmn:incoming>
<bpmn:outgoing>Flow_0a9w301</bpmn:outgoing>
</bpmn:parallelGateway>
<bpmn:sequenceFlow id="Flow_15pzvrr" sourceRef="Activity_0faln91" targetRef="Gateway_1l4tz4i" />
2022-10-23 05:31:34 +00:00
<bpmn:sequenceFlow id="Flow_00tndkb" sourceRef="Activity_1b6tead" targetRef="Waku_Message_Pending_Payment" />
2022-10-23 04:34:34 +00:00
<bpmn:sequenceFlow id="Flow_02v6lr2" sourceRef="Activity_11stdua" targetRef="Gateway_1ytq6m7" />
2022-10-23 04:48:45 +00:00
<bpmn:sequenceFlow id="Flow_04fl87d" sourceRef="Activity_0gkpa9s" targetRef="Event_15y55nw" />
<bpmn:subProcess id="Activity_0gkpa9s" name="Waku Message: Notify CC Invoice Submitted">
2022-10-23 14:59:07 +00:00
<bpmn:extensionElements>
2022-10-23 15:53:31 +00:00
<spiffworkflow:preScript />
2022-10-23 14:59:07 +00:00
</bpmn:extensionElements>
2022-10-23 04:48:45 +00:00
<bpmn:incoming>Flow_0h1x7y6</bpmn:incoming>
<bpmn:outgoing>Flow_04fl87d</bpmn:outgoing>
2022-10-23 05:20:33 +00:00
<bpmn:dataOutputAssociation id="DataOutputAssociation_1q29emf">
<bpmn:targetRef>DataObjectReference_12rfrua</bpmn:targetRef>
</bpmn:dataOutputAssociation>
2022-10-23 04:48:45 +00:00
<bpmn:startEvent id="Event_0a4hscg">
<bpmn:outgoing>Flow_0h40vf3</bpmn:outgoing>
</bpmn:startEvent>
2022-10-23 16:11:56 +00:00
<bpmn:sequenceFlow id="Flow_0h40vf3" sourceRef="Event_0a4hscg" targetRef="Activity_1mndvag" />
2022-10-23 04:48:45 +00:00
<bpmn:endEvent id="Event_0xohu5m">
<bpmn:incoming>Flow_17xbb2s</bpmn:incoming>
</bpmn:endEvent>
<bpmn:serviceTask id="Activity_1fsffcq" name="3. Notify CC via Waku "invoice submitted"">
<bpmn:extensionElements>
<spiffworkflow:serviceTaskOperator id="waku/SendMessage" resultVariable="wr">
<spiffworkflow:parameters>
2022-10-23 17:40:38 +00:00
<spiffworkflow:parameter id="message" type="str" value="waku_message" />
2022-10-23 04:48:45 +00:00
<spiffworkflow:parameter id="message_type" type="str" value=""wakuext_sendOneToOneMessage"" />
<spiffworkflow:parameter id="recipient" type="str" value="current_user_extras["status_key"]" />
</spiffworkflow:parameters>
</spiffworkflow:serviceTaskOperator>
2022-10-23 15:18:23 +00:00
<spiffworkflow:preScript />
2022-10-23 04:48:45 +00:00
</bpmn:extensionElements>
2022-10-23 16:11:56 +00:00
<bpmn:incoming>Flow_0j4xxzp</bpmn:incoming>
2022-10-23 04:48:45 +00:00
<bpmn:outgoing>Flow_17xbb2s</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:sequenceFlow id="Flow_17xbb2s" sourceRef="Activity_1fsffcq" targetRef="Event_0xohu5m" />
2022-10-23 13:09:48 +00:00
<bpmn:callActivity id="Call_Waku_Messages_Message" name="Call Waku Messages: Message" calledElement="Waku_Messages_Message">
2022-10-23 16:11:56 +00:00
<bpmn:incoming>Flow_05xzdav</bpmn:incoming>
<bpmn:outgoing>Flow_0j4xxzp</bpmn:outgoing>
2022-10-23 05:09:31 +00:00
</bpmn:callActivity>
2022-10-23 20:14:38 +00:00
<bpmn:scriptTask id="Activity_1mndvag" name="Set Task Id" scriptFormat="python">
2022-10-23 16:11:56 +00:00
<bpmn:incoming>Flow_0h40vf3</bpmn:incoming>
<bpmn:outgoing>Flow_05xzdav</bpmn:outgoing>
2022-10-23 20:14:38 +00:00
<bpmn:script># Set Task List
task_id = "waku_invoice_submitted"
# Set Message should be generated
isSetMessage = True</bpmn:script>
2022-10-23 15:18:23 +00:00
</bpmn:scriptTask>
2022-10-23 16:11:56 +00:00
<bpmn:sequenceFlow id="Flow_0j4xxzp" sourceRef="Call_Waku_Messages_Message" targetRef="Activity_1fsffcq" />
<bpmn:sequenceFlow id="Flow_05xzdav" sourceRef="Activity_1mndvag" targetRef="Call_Waku_Messages_Message" />
2022-10-23 04:48:45 +00:00
</bpmn:subProcess>
2022-10-20 00:59:12 +00:00
<bpmn:exclusiveGateway id="Gateway_1lbghql" name="Match?" default="Flow_1gohkts">
2022-06-30 11:30:02 -04:00
<bpmn:incoming>Flow_1c5u447</bpmn:incoming>
<bpmn:outgoing>Flow_1gohkts</bpmn:outgoing>
<bpmn:outgoing>Flow_16bw9hx</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:intermediateThrowEvent id="Event_0x83ruk" name="Invoice Approval is required">
<bpmn:incoming>Flow_16bw9hx</bpmn:incoming>
2022-10-20 03:40:29 +00:00
<bpmn:outgoing>Flow_0kngdw4</bpmn:outgoing>
2022-06-30 11:30:02 -04:00
</bpmn:intermediateThrowEvent>
<bpmn:intermediateThrowEvent id="Event_0m3ri6v" name="Invoice is verified and approved">
<bpmn:incoming>Flow_1gohkts</bpmn:incoming>
2022-10-20 01:15:49 +00:00
<bpmn:outgoing>Flow_04ccp12</bpmn:outgoing>
2022-06-30 11:30:02 -04:00
</bpmn:intermediateThrowEvent>
2022-10-20 06:18:10 +00:00
<bpmn:exclusiveGateway id="Gateway_1l4tz4i" name="Approved?" default="Flow_18xvx8w">
2022-10-20 14:27:58 +00:00
<bpmn:incoming>Flow_00kky3k</bpmn:incoming>
2022-10-22 23:09:17 +00:00
<bpmn:incoming>Flow_15pzvrr</bpmn:incoming>
2022-10-13 02:32:11 +00:00
<bpmn:outgoing>Flow_18xvx8w</bpmn:outgoing>
<bpmn:outgoing>Flow_0bfs2xe</bpmn:outgoing>
</bpmn:exclusiveGateway>
2022-10-22 19:10:47 +00:00
<bpmn:serviceTask id="Activity_1ftzr6x" name="4b. Notify CC via Waku "invoice rejected"">
<bpmn:extensionElements>
<spiffworkflow:serviceTaskOperator id="waku/SendMessage" resultVariable="waku_response">
<spiffworkflow:parameters>
<spiffworkflow:parameter id="message" type="str" value=""Hi " + current_user_extras["first_name"] + ", your invoice has been rejected. The reason specified for the rejection is: [" + invoice.comment + "]. Please get in touch with your Project Lead to discuss this further.\nInvoice no: " + invoice.invoiceId + "\nAmount: " + invoice.invoiceCurrency + f'{invoice.invoiceAmount:.2f}' + "\nDate submitted: " + invoice.invoiceDate + "\nStatus: " + invoice.invoiceStatus + "\nProcess Instance Id: " + str(process_instance_id) + "\nLink to Spiff: https://demo.spiffworkflow.org/"" />
<spiffworkflow:parameter id="message_type" type="str" value=""wakuext_sendOneToOneMessage"" />
<spiffworkflow:parameter id="recipient" type="str" value="team_lead_info["status_key"]" />
</spiffworkflow:parameters>
</spiffworkflow:serviceTaskOperator>
</bpmn:extensionElements>
<bpmn:incoming>Flow_1v8dszb</bpmn:incoming>
<bpmn:outgoing>Flow_1wturr2</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:endEvent id="Event_0f3d2bp" name="Invoice is declined due to Approver inaction">
<bpmn:incoming>Flow_1wturr2</bpmn:incoming>
</bpmn:endEvent>
2022-10-22 20:12:45 +00:00
<bpmn:userTask id="Activity_06b32ar" name="Approve Invocie - Team Lead">
2022-10-22 19:10:47 +00:00
<bpmn:extensionElements>
<spiffworkflow:properties>
<spiffworkflow:property name="formJsonSchemaFilename" value="invoice-approval_JSONSchema.json" />
<spiffworkflow:property name="formUiSchemaFilename" value="invoice-approval_UISchema.json" />
</spiffworkflow:properties>
2022-10-22 23:09:17 +00:00
<spiffworkflow:postScript />
2022-10-22 19:10:47 +00:00
</bpmn:extensionElements>
<bpmn:incoming>Flow_0lfqk0y</bpmn:incoming>
<bpmn:outgoing>Flow_0yvmfqu</bpmn:outgoing>
</bpmn:userTask>
2022-10-22 20:12:45 +00:00
<bpmn:userTask id="Activity_0cdgqi0" name="Approve Invoice - Finance">
2022-10-22 19:10:47 +00:00
<bpmn:extensionElements>
<spiffworkflow:properties>
<spiffworkflow:property name="formJsonSchemaFilename" value="invoice-approval_JSONSchema.json" />
<spiffworkflow:property name="formUiSchemaFilename" value="invoice-approval_UISchema.json" />
</spiffworkflow:properties>
2022-10-23 01:14:21 +00:00
<spiffworkflow:postScript />
2022-10-22 19:10:47 +00:00
</bpmn:extensionElements>
<bpmn:incoming>Flow_1ds4s8o</bpmn:incoming>
<bpmn:outgoing>Flow_09wwily</bpmn:outgoing>
</bpmn:userTask>
<bpmn:endEvent id="Event_1b58a3z" name="Invoice is rejected by Approver">
<bpmn:incoming>Flow_0c0c9mw</bpmn:incoming>
</bpmn:endEvent>
<bpmn:dataObjectReference id="DataObjectReference_0okfp91" name="wr-notify_cc_invoice_uploaded" dataObjectRef="wr-notify_cc_invoice_uploaded" />
<bpmn:dataObject id="wr-notify_cc_invoice_uploaded" />
2022-06-30 11:30:02 -04:00
<bpmn:subProcess id="Activity_0gkejaj" name="4. Compare Invoice data vs Enterprise systems data">
<bpmn:incoming>Flow_1ex5hfx</bpmn:incoming>
<bpmn:outgoing>Flow_1c5u447</bpmn:outgoing>
2022-10-20 00:13:40 +00:00
<bpmn:startEvent id="Event_0w5o6hr">
<bpmn:outgoing>Flow_1sc1v4y</bpmn:outgoing>
</bpmn:startEvent>
2022-10-20 02:34:59 +00:00
<bpmn:serviceTask id="Activity_108oe6k" name="Fetch the compensation information and approval data" />
2022-09-20 14:28:53 -04:00
<bpmn:businessRuleTask id="Activity_1yhwhps" name="Compare the BambooHR.compensation/12 amount with invoice amount">
2022-10-20 00:25:38 +00:00
<bpmn:extensionElements>
<spiffworkflow:calledDecisionId>Invoice_Approval_Check</spiffworkflow:calledDecisionId>
</bpmn:extensionElements>
2022-10-20 00:13:40 +00:00
<bpmn:incoming>Flow_1m8uxeg</bpmn:incoming>
2022-10-20 00:36:37 +00:00
<bpmn:outgoing>Flow_04do8x7</bpmn:outgoing>
2022-09-20 14:28:53 -04:00
</bpmn:businessRuleTask>
2022-10-20 00:25:38 +00:00
<bpmn:exclusiveGateway id="Gateway_1vplgf6" name="Compensation and invoice amount matches?">
2022-09-20 14:28:53 -04:00
<bpmn:outgoing>Flow_08ftr1r</bpmn:outgoing>
<bpmn:outgoing>Flow_0lf2mw4</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:endEvent id="Event_1f0247l" name="Data matched">
<bpmn:incoming>Flow_08ftr1r</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_08ftr1r" name="yes" sourceRef="Gateway_1vplgf6" targetRef="Event_1f0247l" />
<bpmn:sequenceFlow id="Flow_0lf2mw4" name="no" sourceRef="Gateway_1vplgf6" targetRef="Activity_1y0uwth" />
<bpmn:serviceTask id="Activity_1y0uwth" name="Notify via Waku to approver that manual approval is required">
<bpmn:incoming>Flow_0lf2mw4</bpmn:incoming>
<bpmn:outgoing>Flow_12mq72f</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:sequenceFlow id="Flow_12mq72f" sourceRef="Activity_1y0uwth" targetRef="Activity_081j8i8" />
<bpmn:userTask id="Activity_081j8i8" name="Approver approves/denies the invoice">
<bpmn:incoming>Flow_12mq72f</bpmn:incoming>
<bpmn:outgoing>Flow_02ikttr</bpmn:outgoing>
</bpmn:userTask>
<bpmn:exclusiveGateway id="Gateway_01zi4az" name="Approved?">
<bpmn:incoming>Flow_02ikttr</bpmn:incoming>
<bpmn:outgoing>Flow_1oyagpu</bpmn:outgoing>
<bpmn:outgoing>Flow_115g94n</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id="Flow_02ikttr" sourceRef="Activity_081j8i8" targetRef="Gateway_01zi4az" />
<bpmn:endEvent id="Event_13uw548">
<bpmn:incoming>Flow_1oyagpu</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_1oyagpu" name="yes" sourceRef="Gateway_01zi4az" targetRef="Event_13uw548" />
<bpmn:sequenceFlow id="Flow_115g94n" name="no" sourceRef="Gateway_01zi4az" targetRef="Activity_0ayubx4" />
<bpmn:serviceTask id="Activity_0ayubx4" name="Notify via Waku Core Contributor that their invoice has been rejected">
<bpmn:incoming>Flow_115g94n</bpmn:incoming>
<bpmn:outgoing>Flow_1iz4xwz</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:endEvent id="Event_04023ne">
<bpmn:incoming>Flow_1iz4xwz</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_1iz4xwz" sourceRef="Activity_0ayubx4" targetRef="Event_04023ne" />
2022-10-20 00:13:40 +00:00
<bpmn:scriptTask id="Activity_02go8ec" name="Get Annual Salary">
<bpmn:incoming>Flow_1sc1v4y</bpmn:incoming>
2022-10-20 11:58:08 +00:00
<bpmn:outgoing>Flow_1nlal9u</bpmn:outgoing>
2022-10-20 00:13:40 +00:00
<bpmn:script>annual_salary = 24000</bpmn:script>
</bpmn:scriptTask>
2022-10-20 01:07:35 +00:00
<bpmn:scriptTask id="Activity_0b87ocm" name="Get Invoice Amount" scriptFormat="python">
2022-10-20 21:00:54 +00:00
<bpmn:incoming>Flow_01eh2ws</bpmn:incoming>
2022-10-20 00:13:40 +00:00
<bpmn:outgoing>Flow_1m8uxeg</bpmn:outgoing>
2022-10-20 04:31:02 +00:00
<bpmn:script>invoice_amount = invoice.invoiceAmount</bpmn:script>
2022-10-20 00:13:40 +00:00
</bpmn:scriptTask>
<bpmn:sequenceFlow id="Flow_1sc1v4y" sourceRef="Event_0w5o6hr" targetRef="Activity_02go8ec" />
<bpmn:sequenceFlow id="Flow_1m8uxeg" sourceRef="Activity_0b87ocm" targetRef="Activity_1yhwhps" />
2022-10-20 00:36:37 +00:00
<bpmn:endEvent id="Event_0cmri19">
<bpmn:incoming>Flow_04do8x7</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_04do8x7" sourceRef="Activity_1yhwhps" targetRef="Event_0cmri19" />
2022-10-20 21:00:54 +00:00
<bpmn:sequenceFlow id="Flow_1nlal9u" sourceRef="Activity_02go8ec" targetRef="Activity_0j1a5yh" />
<bpmn:sequenceFlow id="Flow_01eh2ws" sourceRef="Activity_0j1a5yh" targetRef="Activity_0b87ocm" />
<bpmn:serviceTask id="Activity_0j1a5yh" name="Fetch Invoice Details">
<bpmn:extensionElements>
2022-10-20 21:01:26 +00:00
<spiffworkflow:serviceTaskOperator id="aws/QueryDynamoTable" resultVariable="resp_FetchInvoiceDetails">
2022-10-20 21:00:54 +00:00
<spiffworkflow:parameters>
<spiffworkflow:parameter id="partition_key" type="str" value="invoice.contributorId" />
<spiffworkflow:parameter id="sort_key" type="str" value="invoice.invoiceId" />
<spiffworkflow:parameter id="table_name" type="str" value="'Invoice'" />
</spiffworkflow:parameters>
</spiffworkflow:serviceTaskOperator>
</bpmn:extensionElements>
<bpmn:incoming>Flow_1nlal9u</bpmn:incoming>
<bpmn:outgoing>Flow_01eh2ws</bpmn:outgoing>
</bpmn:serviceTask>
2022-06-30 11:30:02 -04:00
</bpmn:subProcess>
2022-10-20 14:43:06 +00:00
<bpmn:subProcess id="Activity_1ucvkk4" name="Send Team Lead Notification">
2022-10-20 03:40:29 +00:00
<bpmn:incoming>Flow_0kngdw4</bpmn:incoming>
2022-10-20 06:36:37 +00:00
<bpmn:outgoing>Flow_0lfqk0y</bpmn:outgoing>
2022-10-20 00:38:10 +00:00
<bpmn:exclusiveGateway id="Gateway_1l74xlc">
<bpmn:outgoing>Flow_1am9jcz</bpmn:outgoing>
<bpmn:outgoing>Flow_0kx6gsl</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id="Flow_1am9jcz" sourceRef="Gateway_1l74xlc" targetRef="Activity_1w6kg4p" />
<bpmn:serviceTask id="Activity_1w6kg4p" name="4ai. Get Team_Lead info">
<bpmn:incoming>Flow_1am9jcz</bpmn:incoming>
<bpmn:outgoing>Flow_0rbij5a</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:task id="Activity_0respgl" name="4aii. Get Invoice details">
<bpmn:incoming>Flow_0kx6gsl</bpmn:incoming>
<bpmn:outgoing>Flow_0lyg5zb</bpmn:outgoing>
</bpmn:task>
<bpmn:sequenceFlow id="Flow_0kx6gsl" sourceRef="Gateway_1l74xlc" targetRef="Activity_0respgl" />
<bpmn:exclusiveGateway id="Gateway_1vl3ipe">
<bpmn:incoming>Flow_0rbij5a</bpmn:incoming>
<bpmn:incoming>Flow_0lyg5zb</bpmn:incoming>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id="Flow_0rbij5a" sourceRef="Activity_1w6kg4p" targetRef="Gateway_1vl3ipe" />
<bpmn:sequenceFlow id="Flow_0lyg5zb" sourceRef="Activity_0respgl" targetRef="Gateway_1vl3ipe" />
2022-10-20 03:47:43 +00:00
<bpmn:dataObjectReference id="DataObjectReference_0frvqwx" />
2022-10-20 03:40:29 +00:00
<bpmn:startEvent id="Event_00px1yx">
<bpmn:outgoing>Flow_0idsdf0</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:endEvent id="Event_1nkaxn4">
2022-10-20 05:27:50 +00:00
<bpmn:incoming>Flow_1cynsak</bpmn:incoming>
2022-10-20 00:38:10 +00:00
</bpmn:endEvent>
2022-10-20 03:57:51 +00:00
<bpmn:sequenceFlow id="Flow_0idsdf0" sourceRef="Event_00px1yx" targetRef="Activity_00b66gy" />
2022-10-20 04:18:27 +00:00
<bpmn:callActivity id="Activity_00b66gy" name="Call Shared: User Info" calledElement="Shared_User_Info">
2022-10-20 03:57:51 +00:00
<bpmn:extensionElements>
2022-10-20 06:12:17 +00:00
<spiffworkflow:preScript>find_user = current_user_extras["team_lead_username"]
isCurrentUser = False</spiffworkflow:preScript>
2022-10-20 15:59:29 +00:00
<spiffworkflow:postScript />
2022-10-20 03:57:51 +00:00
</bpmn:extensionElements>
<bpmn:incoming>Flow_0idsdf0</bpmn:incoming>
2022-10-20 15:56:57 +00:00
<bpmn:outgoing>Flow_0mwwhvb</bpmn:outgoing>
2022-10-20 03:57:51 +00:00
</bpmn:callActivity>
2022-10-20 05:15:39 +00:00
<bpmn:scriptTask id="Activity_0lmpdui" name="Set Team Lead Info" scriptFormat="python">
2022-10-20 15:59:29 +00:00
<bpmn:incoming>Flow_0mwwhvb</bpmn:incoming>
<bpmn:outgoing>Flow_04uuejh</bpmn:outgoing>
2022-10-20 05:15:39 +00:00
<bpmn:script># Set Team Lead Info
team_lead_info = {}
team_lead_info["full_name"] = userFullName
team_lead_info["first_name"] = userFirstName
team_lead_info["email"] = userEmail
2022-10-20 05:56:16 +00:00
team_lead_info["team_lead_username"] = userTeamLeadUsername
2022-10-20 05:15:39 +00:00
team_lead_info["status_key"] = userStatusKey
del(userFullName)
2022-10-20 05:52:35 +00:00
del(userFirstName)
2022-10-20 05:15:39 +00:00
del(userEmail)
2022-10-20 06:02:52 +00:00
# del(userTeamLeadUsername)
2022-10-20 05:15:39 +00:00
del(userStatusKey)</bpmn:script>
2022-10-20 05:10:24 +00:00
</bpmn:scriptTask>
2022-10-20 05:27:50 +00:00
<bpmn:sequenceFlow id="Flow_1cynsak" sourceRef="Activity_1ve0iqu" targetRef="Event_1nkaxn4" />
<bpmn:serviceTask id="Activity_1ve0iqu" name="Notify Team Lead">
<bpmn:extensionElements>
2022-10-20 06:02:52 +00:00
<spiffworkflow:serviceTaskOperator id="waku/SendMessage" resultVariable="respNotifyTeamLead">
2022-10-20 05:27:50 +00:00
<spiffworkflow:parameters>
2022-10-20 05:30:12 +00:00
<spiffworkflow:parameter id="message" type="str" value=""Invoice to approve"" />
<spiffworkflow:parameter id="message_type" type="str" value=""wakuext_sendOneToOneMessage"" />
<spiffworkflow:parameter id="recipient" type="str" value="team_lead_info["status_key"]" />
2022-10-20 05:27:50 +00:00
</spiffworkflow:parameters>
</spiffworkflow:serviceTaskOperator>
</bpmn:extensionElements>
2022-10-20 15:59:29 +00:00
<bpmn:incoming>Flow_04uuejh</bpmn:incoming>
2022-10-20 05:27:50 +00:00
<bpmn:outgoing>Flow_1cynsak</bpmn:outgoing>
</bpmn:serviceTask>
2022-10-20 15:59:29 +00:00
<bpmn:sequenceFlow id="Flow_0mwwhvb" sourceRef="Activity_00b66gy" targetRef="Activity_0lmpdui" />
<bpmn:sequenceFlow id="Flow_04uuejh" sourceRef="Activity_0lmpdui" targetRef="Activity_1ve0iqu" />
2022-10-20 00:38:10 +00:00
</bpmn:subProcess>
2022-10-23 06:45:30 +00:00
<bpmn:scriptTask id="Activity_0faln91" name="Temp Message Storage" scriptFormat="python">
2022-10-22 23:09:17 +00:00
<bpmn:incoming>Flow_0yvmfqu</bpmn:incoming>
<bpmn:outgoing>Flow_15pzvrr</bpmn:outgoing>
2022-10-23 06:45:30 +00:00
<bpmn:script># Store Team Lead comments elsewhere and clear form comments
2022-10-23 07:14:53 +00:00
invoice.commentTeamLead = approvalComment
2022-10-23 06:45:30 +00:00
approvalComment = ""
# Set if Team Lead rejected
invoice.isTeamLeadApprove = isInvoiceApproved</bpmn:script>
2022-10-22 23:09:17 +00:00
</bpmn:scriptTask>
2022-10-23 01:14:21 +00:00
<bpmn:serviceTask id="Activity_0fq1nb4" name="5. Create Invoice in Xero">
<bpmn:extensionElements>
<spiffworkflow:serviceTaskOperator id="xero/CreateInvoice">
<spiffworkflow:parameters>
<spiffworkflow:parameter id="access_token" type="any" value=""secret:xero/OAuth"" />
<spiffworkflow:parameter id="amount" type="str" value="str(invoice_amount)" />
<spiffworkflow:parameter id="contact_email" type="str" value="current_user_extras["email"]" />
<spiffworkflow:parameter id="contact_name" type="str" value="current_user_extras["full_name"]" />
<spiffworkflow:parameter id="description" type="str" value=""Test for now"" />
</spiffworkflow:parameters>
</spiffworkflow:serviceTaskOperator>
<spiffworkflow:preScript />
</bpmn:extensionElements>
<bpmn:incoming>Flow_0h96w9j</bpmn:incoming>
<bpmn:outgoing>Flow_053ca95</bpmn:outgoing>
</bpmn:serviceTask>
2022-10-23 01:41:57 +00:00
<bpmn:scriptTask id="Activity_1b6tead" name="Set Invoice Status to Approved and Awaiting Payment" scriptFormat="python">
2022-10-22 23:20:19 +00:00
<bpmn:incoming>Flow_053ca95</bpmn:incoming>
<bpmn:outgoing>Flow_00tndkb</bpmn:outgoing>
2022-10-23 05:40:46 +00:00
<bpmn:script># Set Invoice Status to Approved and Pending Payment
invoice.invoiceStatus = "Approved and Pending Payment"</bpmn:script>
2022-10-22 23:20:19 +00:00
</bpmn:scriptTask>
2022-10-23 01:14:21 +00:00
<bpmn:exclusiveGateway id="Gateway_1ytq6m7" name="Approved?" default="Flow_0h96w9j">
<bpmn:incoming>Flow_02v6lr2</bpmn:incoming>
<bpmn:outgoing>Flow_00kky3k</bpmn:outgoing>
<bpmn:outgoing>Flow_0h96w9j</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:scriptTask id="Activity_11stdua" name="Temp Message Set">
<bpmn:incoming>Flow_09wwily</bpmn:incoming>
<bpmn:outgoing>Flow_02v6lr2</bpmn:outgoing>
<bpmn:script>invoice.commentsFinance = approvalComment</bpmn:script>
</bpmn:scriptTask>
2022-10-23 05:27:16 +00:00
<bpmn:boundaryEvent id="Event_09q0ym0" name="3 days" cancelActivity="false" attachedToRef="Activity_06b32ar">
<bpmn:outgoing>Flow_1v8dszb</bpmn:outgoing>
<bpmn:timerEventDefinition id="TimerEventDefinition_0y2jolb">
<bpmn:timeDuration xsi:type="bpmn:tFormalExpression">timedelta(minutes=3)</bpmn:timeDuration>
</bpmn:timerEventDefinition>
</bpmn:boundaryEvent>
<bpmn:intermediateThrowEvent id="Event_15y55nw" name="Invoice is submitted">
<bpmn:documentation>Process milestone should update the process metadata field “milestone reached”</bpmn:documentation>
<bpmn:incoming>Flow_04fl87d</bpmn:incoming>
<bpmn:outgoing>Flow_1ex5hfx</bpmn:outgoing>
</bpmn:intermediateThrowEvent>
2022-10-23 06:04:40 +00:00
<bpmn:sequenceFlow id="Flow_1jfb24q" sourceRef="Waku_Message_Pending_Payment" targetRef="Event_1usbnt0" />
2022-10-23 05:31:34 +00:00
<bpmn:subProcess id="Waku_Message_Pending_Payment" name="Waku Message: Pending Payment">
2022-10-23 05:27:16 +00:00
<bpmn:incoming>Flow_00tndkb</bpmn:incoming>
<bpmn:outgoing>Flow_1jfb24q</bpmn:outgoing>
2022-10-23 05:31:34 +00:00
<bpmn:startEvent id="Event_13cibxi">
<bpmn:outgoing>Flow_1wnjy2u</bpmn:outgoing>
</bpmn:startEvent>
2022-10-23 05:46:12 +00:00
<bpmn:sequenceFlow id="Flow_1wnjy2u" sourceRef="Event_13cibxi" targetRef="Activity_0iquip7" />
2022-10-23 05:31:34 +00:00
<bpmn:callActivity id="Get_Waku_Messages_Message_Body" name="Get Waku Messages: Message Body" calledElement="Waku_Messages_Message_Body">
2022-10-23 05:46:12 +00:00
<bpmn:incoming>Flow_1kwmbz2</bpmn:incoming>
2022-10-23 05:31:34 +00:00
<bpmn:outgoing>Flow_1w7kqay</bpmn:outgoing>
</bpmn:callActivity>
<bpmn:sequenceFlow id="Flow_1w7kqay" sourceRef="Get_Waku_Messages_Message_Body" targetRef="Get_Waku_Messages_Message_Variables-Payment_Pending" />
<bpmn:callActivity id="Get_Waku_Messages_Message_Variables-Payment_Pending" name="Get Waku Messages: Message Variables" calledElement="Waku_Messages_Message_Variables">
<bpmn:incoming>Flow_1w7kqay</bpmn:incoming>
2022-10-23 05:31:45 +00:00
<bpmn:outgoing>Flow_1ca84s5</bpmn:outgoing>
2022-10-23 05:31:34 +00:00
</bpmn:callActivity>
2022-10-23 05:31:45 +00:00
<bpmn:endEvent id="Event_0fbz176">
2022-10-23 05:39:21 +00:00
<bpmn:incoming>Flow_1buk0a2</bpmn:incoming>
2022-10-23 05:31:45 +00:00
</bpmn:endEvent>
2022-10-23 06:06:10 +00:00
<bpmn:sequenceFlow id="Flow_1ca84s5" sourceRef="Get_Waku_Messages_Message_Variables-Payment_Pending" targetRef="waku_payment_pending" />
2022-10-23 05:39:21 +00:00
<bpmn:serviceTask id="waku_payment_pending" name="6. Notify CC via Waku "invoice approved"">
<bpmn:extensionElements>
<spiffworkflow:serviceTaskOperator id="waku/SendMessage" resultVariable="waku_response">
<spiffworkflow:parameters>
2022-10-23 06:06:10 +00:00
<spiffworkflow:parameter id="message" type="str" value="waku_message_body + "\n- - - - - - - - - - - - - - - - - - - - - - -" + waku_message_variables" />
2022-10-23 05:39:21 +00:00
<spiffworkflow:parameter id="message_type" type="str" value=""wakuext_sendOneToOneMessage"" />
<spiffworkflow:parameter id="recipient" type="str" value="current_user_extras["status_key"]" />
</spiffworkflow:parameters>
</spiffworkflow:serviceTaskOperator>
<spiffworkflow:preScript />
</bpmn:extensionElements>
2022-10-23 06:06:10 +00:00
<bpmn:incoming>Flow_1ca84s5</bpmn:incoming>
2022-10-23 05:39:21 +00:00
<bpmn:outgoing>Flow_1buk0a2</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:sequenceFlow id="Flow_1buk0a2" sourceRef="waku_payment_pending" targetRef="Event_0fbz176" />
2022-10-23 05:46:12 +00:00
<bpmn:sequenceFlow id="Flow_1kwmbz2" sourceRef="Activity_0iquip7" targetRef="Get_Waku_Messages_Message_Body" />
2022-10-23 06:14:21 +00:00
<bpmn:scriptTask id="Activity_0iquip7" name="Set Which Message" scriptFormat="python">
2022-10-23 05:46:12 +00:00
<bpmn:incoming>Flow_1wnjy2u</bpmn:incoming>
<bpmn:outgoing>Flow_1kwmbz2</bpmn:outgoing>
2022-10-23 05:48:27 +00:00
<bpmn:script>if isMatch:
2022-10-23 06:14:21 +00:00
task_id = "waku_payment_pending_ismatch"
2022-10-23 05:48:27 +00:00
else:
2022-10-23 06:14:21 +00:00
task_id = "waku_payment_pending_not_ismatch"</bpmn:script>
2022-10-23 05:46:12 +00:00
</bpmn:scriptTask>
2022-10-23 05:31:34 +00:00
</bpmn:subProcess>
2022-10-23 06:04:40 +00:00
<bpmn:endEvent id="Event_1usbnt0">
<bpmn:incoming>Flow_1jfb24q</bpmn:incoming>
</bpmn:endEvent>
2022-10-23 06:28:19 +00:00
<bpmn:subProcess id="Activity_0rae8g6" name="Waku Message: Invoice Rejected">
2022-10-23 19:17:40 +00:00
<bpmn:incoming>Flow_0bfs2xe</bpmn:incoming>
<bpmn:outgoing>Flow_0c0c9mw</bpmn:outgoing>
2022-10-23 06:28:19 +00:00
<bpmn:startEvent id="Event_0ialhor">
<bpmn:outgoing>Flow_14x1v12</bpmn:outgoing>
</bpmn:startEvent>
2022-10-23 20:18:47 +00:00
<bpmn:callActivity id="Activity_0eh4so1" name="Call Waku Messages: Message" calledElement="Waku_Messages_Message">
2022-10-23 06:28:19 +00:00
<bpmn:extensionElements>
<spiffworkflow:preScript>task_id = "waku_invoice_submitted"</spiffworkflow:preScript>
</bpmn:extensionElements>
2022-10-23 06:32:25 +00:00
<bpmn:incoming>Flow_0umhf4u</bpmn:incoming>
2022-10-23 06:28:19 +00:00
<bpmn:outgoing>Flow_1wq6gzs</bpmn:outgoing>
</bpmn:callActivity>
<bpmn:endEvent id="Event_0ihhn4w">
<bpmn:incoming>Flow_01i59kw</bpmn:incoming>
</bpmn:endEvent>
<bpmn:serviceTask id="waku_invoice_rejected" name="3. Notify CC via Waku "invoice rejected"">
<bpmn:extensionElements>
<spiffworkflow:serviceTaskOperator id="waku/SendMessage" resultVariable="wr_invoice_rejected">
<spiffworkflow:parameters>
<spiffworkflow:parameter id="message" type="str" value="waku_message_body + "\n- - - - - - - - - - - - - - - - - - - - - - -" + waku_message_variables" />
<spiffworkflow:parameter id="message_type" type="str" value=""wakuext_sendOneToOneMessage"" />
<spiffworkflow:parameter id="recipient" type="str" value="current_user_extras["status_key"]" />
</spiffworkflow:parameters>
</spiffworkflow:serviceTaskOperator>
</bpmn:extensionElements>
2022-10-23 19:15:57 +00:00
<bpmn:incoming>Flow_1d0phao</bpmn:incoming>
2022-10-23 06:28:19 +00:00
<bpmn:outgoing>Flow_01i59kw</bpmn:outgoing>
</bpmn:serviceTask>
2022-10-23 06:32:25 +00:00
<bpmn:sequenceFlow id="Flow_14x1v12" sourceRef="Event_0ialhor" targetRef="Activity_04kw0jc" />
2022-10-23 20:18:47 +00:00
<bpmn:sequenceFlow id="Flow_1wq6gzs" sourceRef="Activity_0eh4so1" targetRef="Activity_03duc95" />
2022-10-23 06:28:19 +00:00
<bpmn:sequenceFlow id="Flow_01i59kw" sourceRef="waku_invoice_rejected" targetRef="Event_0ihhn4w" />
2022-10-23 06:32:25 +00:00
<bpmn:sequenceFlow id="Flow_0umhf4u" sourceRef="Activity_04kw0jc" targetRef="Activity_0eh4so1" />
2022-10-23 06:47:37 +00:00
<bpmn:scriptTask id="Activity_04kw0jc" name="Set Which Message" scriptFormat="python">
2022-10-23 06:32:25 +00:00
<bpmn:incoming>Flow_14x1v12</bpmn:incoming>
<bpmn:outgoing>Flow_0umhf4u</bpmn:outgoing>
2022-10-23 06:47:37 +00:00
<bpmn:script># Set who rejected
if not(invoice.isTeamLeadApprove):
2022-10-23 06:49:32 +00:00
task_id = "waku_invoice_rejected-Team_Lead"
2022-10-23 06:47:37 +00:00
else:
2022-10-23 20:18:07 +00:00
task_id = "waku_invoice_rejected-Finance"
# Set Message should not be set
isSetMessage = False</bpmn:script>
2022-10-23 06:32:25 +00:00
</bpmn:scriptTask>
2022-10-23 19:15:57 +00:00
<bpmn:sequenceFlow id="Flow_1d0phao" sourceRef="Activity_03duc95" targetRef="waku_invoice_rejected" />
<bpmn:scriptTask id="Activity_03duc95" name="Set Message" scriptFormat="python">
2022-10-23 20:18:47 +00:00
<bpmn:incoming>Flow_1wq6gzs</bpmn:incoming>
2022-10-23 19:15:57 +00:00
<bpmn:outgoing>Flow_1d0phao</bpmn:outgoing>
<bpmn:script># Set who rejected
if not(invoice.isTeamLeadApprove):
2022-10-23 20:25:41 +00:00
waku_message = waku_message_body + "\n- - - - - - - - - - - - - - - - - - - - - - -" + "\nSent: " + local_date_str + " @ " + local_time_str + "\n- - - - - - - - - - - - - - - - - - - - - - -" + waku_message_variables + waku_message_footer
2022-10-23 19:15:57 +00:00
else:
2022-10-23 20:25:41 +00:00
waku_message = waku_message_body + "\n- - - - - - - - - - - - - - - - - - - - - - -" + "\nSent: " + local_date_str + " @ " + local_time_str + "\n- - - - - - - - - - - - - - - - - - - - - - -" + waku_message_variables * "\nTeam Lead Comments: " + invoice.commentsTeamLead + waku_message_footer</bpmn:script>
2022-10-23 19:15:57 +00:00
</bpmn:scriptTask>
2022-10-23 06:28:19 +00:00
</bpmn:subProcess>
2022-10-23 20:22:20 +00:00
<bpmn:dataObjectReference id="DataObjectReference_12rfrua" name="wr" dataObjectRef="wr" />
<bpmn:dataObject id="wr" />
2022-10-23 22:29:17 +00:00
<bpmn:subProcess id="Activity_1kgaqpf" name="Waku Message: Notify Finance">
2022-10-23 22:40:49 +00:00
<bpmn:incoming>Flow_18xvx8w</bpmn:incoming>
<bpmn:incoming>Flow_04ccp12</bpmn:incoming>
<bpmn:outgoing>Flow_1ds4s8o</bpmn:outgoing>
2022-10-23 22:29:17 +00:00
<bpmn:startEvent id="Event_0k7eiau">
<bpmn:outgoing>Flow_0xh27vy</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:callActivity id="Activity_1wqf9dm" name="Call Waku Messages: Message" calledElement="Waku_Messages_Message">
<bpmn:extensionElements>
<spiffworkflow:preScript>task_id = "waku_invoice_submitted"</spiffworkflow:preScript>
</bpmn:extensionElements>
<bpmn:incoming>Flow_0tbbryo</bpmn:incoming>
<bpmn:outgoing>Flow_0n3djvs</bpmn:outgoing>
</bpmn:callActivity>
<bpmn:endEvent id="Event_0czwuqb">
<bpmn:incoming>Flow_0lr2fpj</bpmn:incoming>
</bpmn:endEvent>
2022-10-23 22:40:03 +00:00
<bpmn:serviceTask id="Activity_0ez288q" name="Send Waku Message: Notify Finance">
2022-10-23 22:29:17 +00:00
<bpmn:extensionElements>
<spiffworkflow:serviceTaskOperator id="waku/SendMessage" resultVariable="wr_invoice_rejected">
<spiffworkflow:parameters>
2022-10-23 22:40:03 +00:00
<spiffworkflow:parameter id="message" type="str" value="waku_message" />
2022-10-23 22:29:17 +00:00
<spiffworkflow:parameter id="message_type" type="str" value=""wakuext_sendOneToOneMessage"" />
<spiffworkflow:parameter id="recipient" type="str" value="current_user_extras["status_key"]" />
</spiffworkflow:parameters>
</spiffworkflow:serviceTaskOperator>
</bpmn:extensionElements>
2022-10-23 22:40:03 +00:00
<bpmn:incoming>Flow_0n3djvs</bpmn:incoming>
2022-10-23 22:29:17 +00:00
<bpmn:outgoing>Flow_0lr2fpj</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:scriptTask id="Activity_01g159b" name="Set Which Message" scriptFormat="python">
<bpmn:incoming>Flow_0xh27vy</bpmn:incoming>
<bpmn:outgoing>Flow_0tbbryo</bpmn:outgoing>
2022-10-23 22:38:14 +00:00
<bpmn:script># Set Task Id
task_id = "waku_notify_finance"
2022-10-23 22:29:17 +00:00
# Set Message should not be set
2022-10-23 22:38:14 +00:00
isSetMessage = True</bpmn:script>
2022-10-23 22:29:17 +00:00
</bpmn:scriptTask>
<bpmn:sequenceFlow id="Flow_0xh27vy" sourceRef="Event_0k7eiau" targetRef="Activity_01g159b" />
<bpmn:sequenceFlow id="Flow_0tbbryo" sourceRef="Activity_01g159b" targetRef="Activity_1wqf9dm" />
2022-10-23 22:40:03 +00:00
<bpmn:sequenceFlow id="Flow_0n3djvs" sourceRef="Activity_1wqf9dm" targetRef="Activity_0ez288q" />
2022-10-23 22:29:17 +00:00
<bpmn:sequenceFlow id="Flow_0lr2fpj" sourceRef="Activity_0ez288q" targetRef="Event_0czwuqb" />
</bpmn:subProcess>
2022-06-30 11:30:02 -04:00
</bpmn:process>
2022-09-16 16:45:07 -04:00
<bpmn:process id="Process_cc_invoice_approval_process_v2_c" isExecutable="false" />
<bpmn:process id="Process_cc_invoice_approval_process_v2_d" isExecutable="false" />
<bpmn:process id="Process_cc_invoice_approval_process_v2_e" isExecutable="false" />
2022-09-26 23:10:59 -04:00
<bpmn:correlationProperty id="CorrelationProperty_Submit_Invoice" name="Correlation Property: Submit Invoice">
2022-09-14 18:09:13 -04:00
<bpmn:correlationPropertyRetrievalExpression messageRef="Message_Submit_Invoice">
<bpmn:formalExpression>topica_one</bpmn:formalExpression>
</bpmn:correlationPropertyRetrievalExpression>
</bpmn:correlationProperty>
<bpmn:message id="Message_Submit_Invoice" name="Message: Submit Invoice">
<bpmn:extensionElements>
<spiffworkflow:messageVariable>topica_one</spiffworkflow:messageVariable>
2022-09-26 23:10:59 -04:00
<spiffworkflow:messagePayload>{
"topica_one": "Invoice successfully submitted"
}</spiffworkflow:messagePayload>
2022-09-14 18:09:13 -04:00
</bpmn:extensionElements>
</bpmn:message>
2022-06-30 11:30:02 -04:00
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_130jph2">
<bpmndi:BPMNShape id="Participant_1fsb6gv_di" bpmnElement="Participant_1fsb6gv" isHorizontal="true">
2022-10-23 06:04:40 +00:00
<dc:Bounds x="280" y="-70" width="4350" height="220" />
2022-06-30 11:30:02 -04:00
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Participant_11ab2hx_di" bpmnElement="Participant_11ab2hx" isHorizontal="true">
2022-10-23 06:04:40 +00:00
<dc:Bounds x="280" y="210" width="4350" height="920" />
2022-06-30 11:30:02 -04:00
</bpmndi:BPMNShape>
2022-10-05 13:51:56 +00:00
<bpmndi:BPMNShape id="Lane_1b7abal_di" bpmnElement="Lane_1b7abal" isHorizontal="true">
2022-10-23 06:04:40 +00:00
<dc:Bounds x="310" y="800" width="4320" height="212" />
2022-09-07 21:26:22 -04:00
<bpmndi:BPMNLabel />
2022-06-30 11:30:02 -04:00
</bpmndi:BPMNShape>
2022-10-05 13:49:14 +00:00
<bpmndi:BPMNShape id="Lane_1so23vf_di" bpmnElement="Lane_1so23vf" isHorizontal="true">
2022-10-23 06:04:40 +00:00
<dc:Bounds x="310" y="1012" width="4320" height="118" />
2022-10-05 13:49:14 +00:00
</bpmndi:BPMNShape>
2022-10-05 13:51:56 +00:00
<bpmndi:BPMNShape id="Lane_1a0qu8e_di" bpmnElement="Lane_1a0qu8e" isHorizontal="true">
2022-10-23 06:04:40 +00:00
<dc:Bounds x="310" y="210" width="4320" height="590" />
2022-10-21 21:14:40 +00:00
<bpmndi:BPMNLabel />
2022-10-05 13:49:14 +00:00
</bpmndi:BPMNShape>
2022-10-11 13:06:25 +00:00
<bpmndi:BPMNShape id="Activity_1h7igan_di" bpmnElement="Submit_the_invoice">
2022-10-19 23:41:35 +00:00
<dc:Bounds x="985" y="482" width="100" height="80" />
2022-10-11 13:06:25 +00:00
</bpmndi:BPMNShape>
2022-09-30 11:18:04 -04:00
<bpmndi:BPMNShape id="Gateway_0wt7ine_di" bpmnElement="Gateway_validation_successful_question_mark" isMarkerVisible="true">
2022-10-19 23:41:35 +00:00
<dc:Bounds x="1345" y="497" width="50" height="50" />
2022-06-30 11:30:02 -04:00
<bpmndi:BPMNLabel>
2022-10-19 23:41:35 +00:00
<dc:Bounds x="1340" y="557" width="60" height="14" />
2022-06-30 11:30:02 -04:00
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
2022-10-23 05:08:05 +00:00
<bpmndi:BPMNShape id="Activity_0z13hw3_di" bpmnElement="SubProcess_Data_validation_rules">
<dc:Bounds x="1170" y="482" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0qtkhpi_di" bpmnElement="Activity_show_errors">
<dc:Bounds x="1080" y="320" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0svbvjn_di" bpmnElement="Event_invoice_validation_failed">
<dc:Bounds x="1352" y="412" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1262" y="411" width="85" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_13dc2qg_di" bpmnElement="Activity_1colhao">
<dc:Bounds x="810" y="482" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_16gxu6s_di" bpmnElement="Gateway_16gxu6s" isMarkerVisible="true">
<dc:Bounds x="685" y="495" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_193pz3d_di" bpmnElement="Activity_1u89kok">
<dc:Bounds x="510" y="480" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1r3yh2k_di" bpmnElement="Event_1r3yh2k">
<dc:Bounds x="402" y="502" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_10gbs8m_di" bpmnElement="Gateway_05ov5p5">
<dc:Bounds x="1605" y="497" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_076kb81_di" bpmnElement="Activity_0o1vc0a">
<dc:Bounds x="1750" y="400" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0zssftc_di" bpmnElement="Activity_0p88elm">
<dc:Bounds x="1880" y="560" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0bgyf4i_di" bpmnElement="Activity_104xpp8">
<dc:Bounds x="1670" y="560" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_08ykqm8_di" bpmnElement="Activity_109lq0m">
<dc:Bounds x="1450" y="482" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1xg4kby_di" bpmnElement="Activity_10p5t0r">
<dc:Bounds x="2130" y="482" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_05ztwup_di" bpmnElement="Gateway_1717c0p">
<dc:Bounds x="2004" y="495" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1xkyv08_di" bpmnElement="Activity_0gkpa9s">
<dc:Bounds x="2280" y="482" width="100" height="80" />
</bpmndi:BPMNShape>
2022-06-30 11:30:02 -04:00
<bpmndi:BPMNShape id="Gateway_1lbghql_di" bpmnElement="Gateway_1lbghql" isMarkerVisible="true">
2022-10-23 04:48:45 +00:00
<dc:Bounds x="2674" y="497" width="50" height="50" />
2022-06-30 11:30:02 -04:00
<bpmndi:BPMNLabel>
2022-10-23 04:48:45 +00:00
<dc:Bounds x="2730" y="513" width="37" height="14" />
2022-06-30 11:30:02 -04:00
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0x83ruk_di" bpmnElement="Event_0x83ruk">
2022-10-23 04:48:45 +00:00
<dc:Bounds x="2731" y="394" width="36" height="36" />
2022-06-30 11:30:02 -04:00
<bpmndi:BPMNLabel>
2022-10-23 04:48:45 +00:00
<dc:Bounds x="2709" y="358" width="81" height="27" />
2022-06-30 11:30:02 -04:00
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0m3ri6v_di" bpmnElement="Event_0m3ri6v">
2022-10-23 04:48:45 +00:00
<dc:Bounds x="2731" y="582" width="36" height="36" />
2022-06-30 11:30:02 -04:00
<bpmndi:BPMNLabel>
2022-10-23 04:48:45 +00:00
<dc:Bounds x="2722" y="625" width="57" height="40" />
2022-06-30 11:30:02 -04:00
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
2022-10-05 14:03:31 +00:00
<bpmndi:BPMNShape id="Gateway_1l4tz4i_di" bpmnElement="Gateway_1l4tz4i" isMarkerVisible="true">
2022-10-23 04:48:45 +00:00
<dc:Bounds x="3475" y="387" width="50" height="50" />
2022-10-05 14:03:31 +00:00
<bpmndi:BPMNLabel>
2022-10-23 19:17:55 +00:00
<dc:Bounds x="3423" y="383" width="54" height="14" />
2022-10-05 14:03:31 +00:00
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
2022-10-19 14:44:05 +00:00
<bpmndi:BPMNShape id="Activity_0dh2tfy_di" bpmnElement="Activity_1ftzr6x">
2022-10-23 04:48:45 +00:00
<dc:Bounds x="3150" y="898" width="100" height="80" />
2022-10-13 02:32:11 +00:00
</bpmndi:BPMNShape>
2022-10-19 14:44:05 +00:00
<bpmndi:BPMNShape id="Event_0f3d2bp_di" bpmnElement="Event_0f3d2bp">
2022-10-23 04:48:45 +00:00
<dc:Bounds x="3302" y="920" width="36" height="36" />
2022-10-19 14:44:05 +00:00
<bpmndi:BPMNLabel>
2022-10-23 04:48:45 +00:00
<dc:Bounds x="3280" y="966" width="86" height="40" />
2022-10-19 14:44:05 +00:00
</bpmndi:BPMNLabel>
2022-10-11 13:06:25 +00:00
</bpmndi:BPMNShape>
2022-10-19 14:44:05 +00:00
<bpmndi:BPMNShape id="Activity_05nao2p_di" bpmnElement="Activity_06b32ar">
2022-10-23 04:48:45 +00:00
<dc:Bounds x="2990" y="820" width="100" height="80" />
2022-10-22 20:12:45 +00:00
<bpmndi:BPMNLabel />
2022-10-19 14:44:05 +00:00
</bpmndi:BPMNShape>
2022-10-20 14:32:02 +00:00
<bpmndi:BPMNShape id="Activity_0xwniza_di" bpmnElement="Activity_0cdgqi0">
2022-10-23 04:48:45 +00:00
<dc:Bounds x="3450" y="1030" width="100" height="80" />
2022-10-20 14:32:02 +00:00
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1b58a3z_di" bpmnElement="Event_1b58a3z">
2022-10-23 04:48:45 +00:00
<dc:Bounds x="3582" y="282" width="36" height="36" />
2022-10-20 14:32:02 +00:00
<bpmndi:BPMNLabel>
2022-10-23 04:48:45 +00:00
<dc:Bounds x="3576" y="325" width="54" height="40" />
2022-10-20 14:32:02 +00:00
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
2022-10-20 19:24:22 +00:00
<bpmndi:BPMNShape id="DataObjectReference_0okfp91_di" bpmnElement="DataObjectReference_0okfp91">
2022-10-23 04:48:45 +00:00
<dc:Bounds x="2532" y="315" width="36" height="50" />
2022-10-20 19:24:22 +00:00
<bpmndi:BPMNLabel>
2022-10-23 04:48:45 +00:00
<dc:Bounds x="2511" y="355" width="78" height="40" />
2022-10-20 19:24:22 +00:00
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
2022-10-23 05:08:05 +00:00
<bpmndi:BPMNShape id="Activity_1rn2mgi_di" bpmnElement="Activity_0gkejaj">
<dc:Bounds x="2519" y="482" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0j807g0_di" bpmnElement="Activity_1ucvkk4">
<dc:Bounds x="2990" y="372" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
2022-10-22 23:20:19 +00:00
<bpmndi:BPMNShape id="Activity_1vzea12_di" bpmnElement="Activity_0faln91">
2022-10-23 04:48:45 +00:00
<dc:Bounds x="3310" y="670" width="100" height="80" />
2022-10-22 23:20:19 +00:00
</bpmndi:BPMNShape>
2022-10-23 01:24:48 +00:00
<bpmndi:BPMNShape id="Activity_0ejn04g_di" bpmnElement="Activity_0fq1nb4">
2022-10-23 04:48:45 +00:00
<dc:Bounds x="4020" y="560" width="100" height="80" />
2022-10-23 01:24:48 +00:00
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0pne05v_di" bpmnElement="Activity_1b6tead">
2022-10-23 04:48:45 +00:00
<dc:Bounds x="4190" y="560" width="100" height="80" />
2022-10-23 01:41:57 +00:00
<bpmndi:BPMNLabel />
2022-10-23 01:24:48 +00:00
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_1ytq6m7_di" bpmnElement="Gateway_1ytq6m7" isMarkerVisible="true">
2022-10-23 04:48:45 +00:00
<dc:Bounds x="3735" y="1045" width="50" height="50" />
2022-10-23 01:24:48 +00:00
<bpmndi:BPMNLabel>
2022-10-23 04:48:45 +00:00
<dc:Bounds x="3733" y="1102" width="54" height="14" />
2022-10-23 01:24:48 +00:00
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1j1zo4f_di" bpmnElement="Activity_11stdua">
2022-10-23 04:48:45 +00:00
<dc:Bounds x="3590" y="1030" width="100" height="80" />
2022-10-23 01:24:48 +00:00
</bpmndi:BPMNShape>
2022-10-23 04:48:45 +00:00
<bpmndi:BPMNShape id="Event_15y55nw_di" bpmnElement="Event_15y55nw">
<dc:Bounds x="2432" y="504" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="2426" y="547" width="48" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
2022-10-23 05:31:34 +00:00
<bpmndi:BPMNShape id="Activity_1tlgf7q_di" bpmnElement="Waku_Message_Pending_Payment">
<dc:Bounds x="4360" y="560" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
2022-10-23 06:08:28 +00:00
<bpmndi:BPMNShape id="Event_1usbnt0_di" bpmnElement="Event_1usbnt0">
<dc:Bounds x="4522" y="582" width="36" height="36" />
</bpmndi:BPMNShape>
2022-10-23 06:28:19 +00:00
<bpmndi:BPMNShape id="Activity_0n0ue58_di" bpmnElement="Activity_0rae8g6">
2022-10-23 19:17:40 +00:00
<dc:Bounds x="3450" y="260" width="100" height="80" />
2022-10-23 06:28:19 +00:00
</bpmndi:BPMNShape>
2022-10-23 20:57:15 +00:00
<bpmndi:BPMNShape id="DataObjectReference_12rfrua_di" bpmnElement="DataObjectReference_12rfrua">
<dc:Bounds x="2382" y="365" width="36" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="2394" y="418" width="12" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1tb6ao6_di" bpmnElement="Activity_1kgaqpf">
2022-10-23 22:40:49 +00:00
<dc:Bounds x="3450" y="560" width="100" height="80" />
2022-10-23 20:57:15 +00:00
</bpmndi:BPMNShape>
2022-10-05 14:02:52 +00:00
<bpmndi:BPMNShape id="Event_1n1umf8_di" bpmnElement="Event_09q0ym0">
2022-10-23 04:48:45 +00:00
<dc:Bounds x="3052" y="882" width="36" height="36" />
2022-06-30 11:30:02 -04:00
<bpmndi:BPMNLabel>
2022-10-23 04:48:45 +00:00
<dc:Bounds x="3054" y="925" width="33" height="14" />
2022-06-30 11:30:02 -04:00
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
2022-09-07 21:26:22 -04:00
<bpmndi:BPMNEdge id="Flow_1x4rtop_di" bpmnElement="Flow_1x4rtop">
2022-10-19 23:41:35 +00:00
<di:waypoint x="1395" y="522" />
2022-10-22 19:10:00 +00:00
<di:waypoint x="1450" y="522" />
2022-09-07 21:26:22 -04:00
<bpmndi:BPMNLabel>
2022-10-22 19:10:00 +00:00
<dc:Bounds x="1407" y="498" width="18" height="14" />
2022-09-07 21:26:22 -04:00
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_05ffq52_di" bpmnElement="Flow_05ffq52">
2022-10-19 23:41:35 +00:00
<di:waypoint x="1370" y="497" />
<di:waypoint x="1370" y="448" />
2022-09-07 21:26:22 -04:00
<bpmndi:BPMNLabel>
2022-10-19 23:41:35 +00:00
<dc:Bounds x="1378" y="475" width="15" height="14" />
2022-09-07 21:26:22 -04:00
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1c5u447_di" bpmnElement="Flow_1c5u447">
2022-10-23 04:48:45 +00:00
<di:waypoint x="2619" y="522" />
<di:waypoint x="2674" y="522" />
2022-09-07 21:26:22 -04:00
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1gohkts_di" bpmnElement="Flow_1gohkts">
2022-10-23 04:48:45 +00:00
<di:waypoint x="2699" y="547" />
<di:waypoint x="2699" y="600" />
<di:waypoint x="2731" y="600" />
2022-09-07 21:26:22 -04:00
<bpmndi:BPMNLabel>
2022-10-23 04:48:45 +00:00
<dc:Bounds x="2706" y="570" width="18" height="14" />
2022-09-07 21:26:22 -04:00
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_18xvx8w_di" bpmnElement="Flow_18xvx8w">
2022-10-23 04:48:45 +00:00
<di:waypoint x="3500" y="437" />
<di:waypoint x="3500" y="560" />
2022-09-07 21:26:22 -04:00
<bpmndi:BPMNLabel>
2022-10-23 22:40:49 +00:00
<dc:Bounds x="3507" y="496" width="18" height="14" />
2022-09-07 21:26:22 -04:00
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1ex5hfx_di" bpmnElement="Flow_1ex5hfx">
2022-10-23 04:48:45 +00:00
<di:waypoint x="2468" y="522" />
<di:waypoint x="2519" y="522" />
2022-09-07 21:26:22 -04:00
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_16bw9hx_di" bpmnElement="Flow_16bw9hx">
2022-10-23 04:48:45 +00:00
<di:waypoint x="2699" y="497" />
<di:waypoint x="2699" y="412" />
<di:waypoint x="2731" y="412" />
2022-09-07 21:26:22 -04:00
<bpmndi:BPMNLabel>
2022-10-23 04:48:45 +00:00
<dc:Bounds x="2707" y="454" width="15" height="14" />
2022-09-07 21:26:22 -04:00
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1wturr2_di" bpmnElement="Flow_1wturr2">
2022-10-23 04:48:45 +00:00
<di:waypoint x="3250" y="938" />
<di:waypoint x="3302" y="938" />
2022-09-07 21:26:22 -04:00
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0bfs2xe_di" bpmnElement="Flow_0bfs2xe">
2022-10-23 04:48:45 +00:00
<di:waypoint x="3500" y="387" />
<di:waypoint x="3500" y="340" />
2022-09-07 21:26:22 -04:00
<bpmndi:BPMNLabel>
2022-10-23 19:17:40 +00:00
<dc:Bounds x="3512" y="363" width="15" height="14" />
2022-09-07 21:26:22 -04:00
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0c0c9mw_di" bpmnElement="Flow_0c0c9mw">
2022-10-23 04:48:45 +00:00
<di:waypoint x="3550" y="300" />
<di:waypoint x="3582" y="300" />
2022-09-07 21:26:22 -04:00
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_13ng1f4_di" bpmnElement="Flow_13ng1f4">
2022-10-19 23:41:35 +00:00
<di:waypoint x="1370" y="412" />
<di:waypoint x="1370" y="360" />
<di:waypoint x="1180" y="360" />
2022-09-07 21:26:22 -04:00
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_18cic3h_di" bpmnElement="Flow_18cic3h">
2022-10-19 23:41:35 +00:00
<di:waypoint x="1080" y="360" />
<di:waypoint x="710" y="360" />
2022-10-21 03:34:12 +00:00
<di:waypoint x="710" y="495" />
2022-06-30 11:30:02 -04:00
</bpmndi:BPMNEdge>
2022-09-12 16:12:36 -04:00
<bpmndi:BPMNEdge id="Flow_02moyg7_di" bpmnElement="Flow_02moyg7">
2022-10-19 23:41:35 +00:00
<di:waypoint x="1085" y="522" />
<di:waypoint x="1170" y="522" />
2022-09-12 16:12:36 -04:00
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1ck27i7_di" bpmnElement="Flow_1ck27i7">
2022-10-19 23:41:35 +00:00
<di:waypoint x="1270" y="522" />
<di:waypoint x="1345" y="522" />
2022-09-12 16:12:36 -04:00
</bpmndi:BPMNEdge>
2022-10-05 14:02:52 +00:00
<bpmndi:BPMNEdge id="Flow_1v8dszb_di" bpmnElement="Flow_1v8dszb">
2022-10-23 04:48:45 +00:00
<di:waypoint x="3070" y="918" />
<di:waypoint x="3070" y="938" />
<di:waypoint x="3150" y="938" />
2022-10-05 14:02:52 +00:00
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0yvmfqu_di" bpmnElement="Flow_0yvmfqu">
2022-10-23 04:48:45 +00:00
<di:waypoint x="3090" y="860" />
<di:waypoint x="3360" y="860" />
<di:waypoint x="3360" y="750" />
2022-10-05 14:02:52 +00:00
</bpmndi:BPMNEdge>
2022-10-13 02:12:30 +00:00
<bpmndi:BPMNEdge id="Flow_12cqm3u_di" bpmnElement="Flow_12cqm3u">
2022-10-22 19:10:00 +00:00
<di:waypoint x="1630" y="547" />
<di:waypoint x="1630" y="600" />
<di:waypoint x="1670" y="600" />
2022-10-13 02:22:20 +00:00
</bpmndi:BPMNEdge>
2022-10-13 10:47:10 +00:00
<bpmndi:BPMNEdge id="Flow_0hev3yn_di" bpmnElement="Flow_0hev3yn">
2022-10-22 19:10:00 +00:00
<di:waypoint x="1630" y="497" />
<di:waypoint x="1630" y="440" />
<di:waypoint x="1750" y="440" />
2022-10-13 10:47:10 +00:00
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_02o270g_di" bpmnElement="Flow_02o270g">
2022-10-22 19:10:00 +00:00
<di:waypoint x="1850" y="440" />
<di:waypoint x="2029" y="440" />
2022-10-22 19:11:54 +00:00
<di:waypoint x="2029" y="495" />
2022-10-13 02:34:04 +00:00
</bpmndi:BPMNEdge>
2022-10-18 22:22:46 +00:00
<bpmndi:BPMNEdge id="Flow_0o94g4u_di" bpmnElement="Flow_0o94g4u">
2022-10-22 19:10:00 +00:00
<di:waypoint x="1980" y="600" />
<di:waypoint x="2029" y="600" />
2022-10-22 19:11:54 +00:00
<di:waypoint x="2029" y="545" />
2022-10-19 15:36:21 +00:00
</bpmndi:BPMNEdge>
2022-10-19 22:16:35 +00:00
<bpmndi:BPMNEdge id="Flow_1vxagrf_di" bpmnElement="Flow_1vxagrf">
2022-10-21 03:34:12 +00:00
<di:waypoint x="438" y="520" />
<di:waypoint x="510" y="520" />
2022-10-19 23:41:35 +00:00
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0bipj9q_di" bpmnElement="Flow_0bipj9q">
2022-10-21 03:34:12 +00:00
<di:waypoint x="610" y="520" />
<di:waypoint x="685" y="520" />
2022-10-19 14:44:05 +00:00
</bpmndi:BPMNEdge>
2022-10-20 01:15:49 +00:00
<bpmndi:BPMNEdge id="Flow_04ccp12_di" bpmnElement="Flow_04ccp12">
2022-10-23 04:48:45 +00:00
<di:waypoint x="2767" y="600" />
<di:waypoint x="3450" y="600" />
2022-10-20 01:15:49 +00:00
</bpmndi:BPMNEdge>
2022-10-20 03:40:29 +00:00
<bpmndi:BPMNEdge id="Flow_0kngdw4_di" bpmnElement="Flow_0kngdw4">
2022-10-23 04:48:45 +00:00
<di:waypoint x="2767" y="412" />
<di:waypoint x="2990" y="412" />
2022-10-20 03:40:29 +00:00
</bpmndi:BPMNEdge>
2022-10-20 06:36:37 +00:00
<bpmndi:BPMNEdge id="Flow_0lfqk0y_di" bpmnElement="Flow_0lfqk0y">
2022-10-23 04:48:45 +00:00
<di:waypoint x="3040" y="452" />
<di:waypoint x="3040" y="820" />
2022-10-20 03:40:29 +00:00
</bpmndi:BPMNEdge>
2022-10-20 14:27:58 +00:00
<bpmndi:BPMNEdge id="Flow_1ds4s8o_di" bpmnElement="Flow_1ds4s8o">
2022-10-23 04:48:45 +00:00
<di:waypoint x="3500" y="640" />
<di:waypoint x="3500" y="1030" />
2022-10-20 14:27:58 +00:00
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_09wwily_di" bpmnElement="Flow_09wwily">
2022-10-23 04:48:45 +00:00
<di:waypoint x="3550" y="1070" />
<di:waypoint x="3590" y="1070" />
2022-10-20 14:27:58 +00:00
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_00kky3k_di" bpmnElement="Flow_00kky3k">
2022-10-23 04:48:45 +00:00
<di:waypoint x="3760" y="1045" />
<di:waypoint x="3760" y="412" />
<di:waypoint x="3525" y="412" />
2022-10-20 14:28:12 +00:00
<bpmndi:BPMNLabel>
2022-10-23 04:48:45 +00:00
<dc:Bounds x="3768" y="913" width="15" height="14" />
2022-10-20 14:28:12 +00:00
</bpmndi:BPMNLabel>
2022-10-20 14:27:58 +00:00
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0h96w9j_di" bpmnElement="Flow_0h96w9j">
2022-10-23 04:48:45 +00:00
<di:waypoint x="3785" y="1070" />
<di:waypoint x="3900" y="1070" />
<di:waypoint x="3900" y="600" />
<di:waypoint x="4020" y="600" />
2022-10-20 14:28:12 +00:00
<bpmndi:BPMNLabel>
2022-10-23 04:48:45 +00:00
<dc:Bounds x="3828" y="1053" width="18" height="14" />
2022-10-20 14:28:12 +00:00
</bpmndi:BPMNLabel>
2022-10-20 14:27:58 +00:00
</bpmndi:BPMNEdge>
2022-10-20 14:28:34 +00:00
<bpmndi:BPMNEdge id="Flow_053ca95_di" bpmnElement="Flow_053ca95">
2022-10-23 04:48:45 +00:00
<di:waypoint x="4120" y="600" />
<di:waypoint x="4190" y="600" />
2022-10-20 14:28:34 +00:00
</bpmndi:BPMNEdge>
2022-10-20 16:44:27 +00:00
<bpmndi:BPMNEdge id="Flow_0p6vvu0_di" bpmnElement="Flow_0p6vvu0">
2022-10-22 19:10:00 +00:00
<di:waypoint x="1770" y="600" />
<di:waypoint x="1880" y="600" />
2022-10-20 16:44:27 +00:00
</bpmndi:BPMNEdge>
2022-10-21 03:34:12 +00:00
<bpmndi:BPMNEdge id="Flow_0v2hmuf_di" bpmnElement="Flow_0v2hmuf">
<di:waypoint x="735" y="520" />
<di:waypoint x="810" y="520" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_00p30u2_di" bpmnElement="Flow_00p30u2">
<di:waypoint x="910" y="522" />
<di:waypoint x="985" y="522" />
</bpmndi:BPMNEdge>
2022-10-22 19:10:00 +00:00
<bpmndi:BPMNEdge id="Flow_0u5z1vc_di" bpmnElement="Flow_0u5z1vc">
<di:waypoint x="1550" y="522" />
<di:waypoint x="1605" y="522" />
</bpmndi:BPMNEdge>
2022-10-22 19:11:54 +00:00
<bpmndi:BPMNEdge id="Flow_0a9w301_di" bpmnElement="Flow_0a9w301">
<di:waypoint x="2054" y="520" />
<di:waypoint x="2130" y="520" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0h1x7y6_di" bpmnElement="Flow_0h1x7y6">
<di:waypoint x="2230" y="522" />
2022-10-23 04:34:34 +00:00
<di:waypoint x="2280" y="522" />
2022-10-22 19:11:54 +00:00
</bpmndi:BPMNEdge>
2022-10-22 23:09:17 +00:00
<bpmndi:BPMNEdge id="Flow_15pzvrr_di" bpmnElement="Flow_15pzvrr">
2022-10-23 04:48:45 +00:00
<di:waypoint x="3360" y="670" />
<di:waypoint x="3360" y="412" />
<di:waypoint x="3475" y="412" />
2022-10-22 23:09:17 +00:00
</bpmndi:BPMNEdge>
2022-10-22 23:20:19 +00:00
<bpmndi:BPMNEdge id="Flow_00tndkb_di" bpmnElement="Flow_00tndkb">
2022-10-23 04:48:45 +00:00
<di:waypoint x="4290" y="600" />
<di:waypoint x="4360" y="600" />
2022-10-23 01:14:21 +00:00
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_02v6lr2_di" bpmnElement="Flow_02v6lr2">
2022-10-23 04:48:45 +00:00
<di:waypoint x="3690" y="1070" />
<di:waypoint x="3735" y="1070" />
2022-10-23 04:34:34 +00:00
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_04fl87d_di" bpmnElement="Flow_04fl87d">
<di:waypoint x="2380" y="522" />
2022-10-23 04:48:45 +00:00
<di:waypoint x="2432" y="522" />
2022-10-22 23:20:19 +00:00
</bpmndi:BPMNEdge>
2022-10-23 05:27:16 +00:00
<bpmndi:BPMNEdge id="Flow_1jfb24q_di" bpmnElement="Flow_1jfb24q">
<di:waypoint x="4460" y="600" />
2022-10-23 06:04:40 +00:00
<di:waypoint x="4522" y="600" />
2022-10-23 05:27:16 +00:00
</bpmndi:BPMNEdge>
2022-10-13 02:36:37 +00:00
<bpmndi:BPMNShape id="Participant_0a8arrz_di" bpmnElement="Participant_0a8arrz" isHorizontal="true">
2022-10-22 19:10:00 +00:00
<dc:Bounds x="1480" y="1180" width="370" height="80" />
2022-06-30 11:30:02 -04:00
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Participant_1qabwrg_di" bpmnElement="Participant_1qabwrg" isHorizontal="true">
2022-10-23 04:34:34 +00:00
<dc:Bounds x="1890" y="1180" width="629" height="80" />
2022-06-30 11:30:02 -04:00
</bpmndi:BPMNShape>
2022-10-13 02:36:37 +00:00
<bpmndi:BPMNShape id="Participant_0b27sri_di" bpmnElement="Participant_0b27sri" isHorizontal="true">
2022-10-23 04:48:45 +00:00
<dc:Bounds x="3345" y="1160" width="747" height="80" />
2022-06-30 11:30:02 -04:00
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="TextAnnotation_1uaw1w7_di" bpmnElement="TextAnnotation_1uaw1w7">
2022-10-19 23:41:35 +00:00
<dc:Bounds x="640" y="-170" width="580" height="30" />
2022-06-30 11:30:02 -04:00
</bpmndi:BPMNShape>
2022-10-23 05:27:16 +00:00
<bpmndi:BPMNEdge id="DataOutputAssociation_1q29emf_di" bpmnElement="DataOutputAssociation_1q29emf">
2022-10-23 20:22:20 +00:00
<di:waypoint x="2349" y="482" />
<di:waypoint x="2382" y="413" />
2022-10-23 05:27:16 +00:00
</bpmndi:BPMNEdge>
2022-06-30 11:30:02 -04:00
<bpmndi:BPMNEdge id="Association_1eygti7_di" bpmnElement="Association_1eygti7">
2022-10-19 23:41:35 +00:00
<di:waypoint x="906" y="-70" />
<di:waypoint x="973" y="-140" />
2022-06-30 11:30:02 -04:00
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0ppupld_di" bpmnElement="Flow_0ppupld">
2022-10-22 19:10:00 +00:00
<di:waypoint x="1800" y="480" />
<di:waypoint x="1800" y="1180" />
2022-06-30 11:30:02 -04:00
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0yfnc92_di" bpmnElement="Flow_0yfnc92">
2022-10-22 19:10:00 +00:00
<di:waypoint x="1930" y="640" />
<di:waypoint x="1930" y="1180" />
2022-06-30 11:30:02 -04:00
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0jciftq_di" bpmnElement="Flow_0jciftq">
2022-10-23 20:22:20 +00:00
<di:waypoint x="2330" y="480" />
<di:waypoint x="2330" y="150" />
2022-06-30 11:30:02 -04:00
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0p0bc5u_di" bpmnElement="Flow_0p0bc5u">
2022-10-23 04:48:45 +00:00
<di:waypoint x="4070" y="640" />
<di:waypoint x="4070" y="1160" />
2022-06-30 11:30:02 -04:00
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0n9qxyw_di" bpmnElement="Flow_0n9qxyw">
2022-10-19 23:41:35 +00:00
<di:waypoint x="1010" y="482" />
<di:waypoint x="1010" y="150" />
2022-09-07 21:26:22 -04:00
<bpmndi:BPMNLabel>
<dc:Bounds x="660" y="312" width="73" height="14" />
</bpmndi:BPMNLabel>
2022-06-30 11:30:02 -04:00
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1getkzr_di" bpmnElement="Flow_1getkzr">
2022-10-23 04:48:45 +00:00
<di:waypoint x="3500" y="260" />
<di:waypoint x="3500" y="150" />
2022-06-30 11:30:02 -04:00
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0ozze4c_di" bpmnElement="Flow_0ozze4c">
2022-10-23 04:48:45 +00:00
<di:waypoint x="3200" y="898" />
<di:waypoint x="3200" y="150" />
2022-06-30 11:30:02 -04:00
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1dgkwzr_di" bpmnElement="Flow_1dgkwzr">
2022-10-23 06:04:40 +00:00
<di:waypoint x="4410" y="560" />
<di:waypoint x="4410" y="150" />
2022-10-23 05:20:33 +00:00
</bpmndi:BPMNEdge>
2022-06-30 11:30:02 -04:00
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
2022-07-13 23:46:34 -04:00
<bpmndi:BPMNDiagram>
2022-09-20 14:28:53 -04:00
<bpmndi:BPMNPlane bpmnElement="Activity_0gkejaj">
<bpmndi:BPMNShape id="Event_0w5o6hr_di" bpmnElement="Event_0w5o6hr">
<dc:Bounds x="172" y="212" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_17f2ctd_di" bpmnElement="Activity_108oe6k">
<dc:Bounds x="270" y="190" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_08gpeul_di" bpmnElement="Activity_1yhwhps">
<dc:Bounds x="610" y="190" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_1vplgf6_di" bpmnElement="Gateway_1vplgf6" isMarkerVisible="true">
<dc:Bounds x="785" y="205" width="50" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="766" y="150" width="88" height="40" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1f0247l_di" bpmnElement="Event_1f0247l">
<dc:Bounds x="912" y="212" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="896" y="255" width="69" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0fuvvnn_di" bpmnElement="Activity_1y0uwth">
<dc:Bounds x="860" y="350" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1kaun82_di" bpmnElement="Activity_081j8i8">
<dc:Bounds x="1030" y="350" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_01zi4az_di" bpmnElement="Gateway_01zi4az" isMarkerVisible="true">
<dc:Bounds x="1205" y="365" width="50" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1203" y="343" width="53" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_13uw548_di" bpmnElement="Event_13uw548">
<dc:Bounds x="1332" y="372" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_12r2wsg_di" bpmnElement="Activity_0ayubx4">
<dc:Bounds x="1300" y="450" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_04023ne_di" bpmnElement="Event_04023ne">
<dc:Bounds x="1452" y="472" width="36" height="36" />
</bpmndi:BPMNShape>
2022-10-20 02:36:57 +00:00
<bpmndi:BPMNShape id="Activity_0fzlb0w_di" bpmnElement="Activity_02go8ec">
<dc:Bounds x="230" y="350" width="100" height="80" />
2022-10-20 00:13:40 +00:00
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1f5dpwy_di" bpmnElement="Activity_0b87ocm">
2022-10-20 02:34:59 +00:00
<dc:Bounds x="520" y="350" width="100" height="80" />
2022-10-20 00:13:40 +00:00
</bpmndi:BPMNShape>
2022-10-20 02:36:57 +00:00
<bpmndi:BPMNShape id="Event_0cmri19_di" bpmnElement="Event_0cmri19">
<dc:Bounds x="642" y="62" width="36" height="36" />
2022-10-20 00:36:37 +00:00
</bpmndi:BPMNShape>
2022-10-20 21:00:54 +00:00
<bpmndi:BPMNShape id="Activity_150gd1q_di" bpmnElement="Activity_0j1a5yh">
<dc:Bounds x="370" y="350" width="100" height="80" />
</bpmndi:BPMNShape>
2022-09-20 14:28:53 -04:00
<bpmndi:BPMNEdge id="Flow_08ftr1r_di" bpmnElement="Flow_08ftr1r">
<di:waypoint x="835" y="230" />
<di:waypoint x="912" y="230" />
<bpmndi:BPMNLabel>
<dc:Bounds x="865" y="212" width="17" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0lf2mw4_di" bpmnElement="Flow_0lf2mw4">
<di:waypoint x="810" y="255" />
<di:waypoint x="810" y="390" />
<di:waypoint x="860" y="390" />
<bpmndi:BPMNLabel>
<dc:Bounds x="819" y="320" width="13" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_12mq72f_di" bpmnElement="Flow_12mq72f">
<di:waypoint x="960" y="390" />
<di:waypoint x="1030" y="390" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_02ikttr_di" bpmnElement="Flow_02ikttr">
<di:waypoint x="1130" y="390" />
<di:waypoint x="1205" y="390" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1oyagpu_di" bpmnElement="Flow_1oyagpu">
<di:waypoint x="1255" y="390" />
<di:waypoint x="1332" y="390" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1285" y="372" width="17" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_115g94n_di" bpmnElement="Flow_115g94n">
<di:waypoint x="1230" y="415" />
<di:waypoint x="1230" y="490" />
<di:waypoint x="1300" y="490" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1239" y="450" width="13" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1iz4xwz_di" bpmnElement="Flow_1iz4xwz">
<di:waypoint x="1400" y="490" />
<di:waypoint x="1452" y="490" />
</bpmndi:BPMNEdge>
2022-10-20 00:13:40 +00:00
<bpmndi:BPMNEdge id="Flow_1sc1v4y_di" bpmnElement="Flow_1sc1v4y">
<di:waypoint x="190" y="248" />
<di:waypoint x="190" y="390" />
2022-10-20 02:34:59 +00:00
<di:waypoint x="230" y="390" />
2022-10-20 00:13:40 +00:00
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1m8uxeg_di" bpmnElement="Flow_1m8uxeg">
2022-10-20 02:34:59 +00:00
<di:waypoint x="620" y="390" />
2022-10-20 00:13:40 +00:00
<di:waypoint x="660" y="390" />
<di:waypoint x="660" y="270" />
</bpmndi:BPMNEdge>
2022-10-20 00:36:37 +00:00
<bpmndi:BPMNEdge id="Flow_04do8x7_di" bpmnElement="Flow_04do8x7">
<di:waypoint x="660" y="190" />
<di:waypoint x="660" y="98" />
</bpmndi:BPMNEdge>
2022-10-20 11:58:08 +00:00
<bpmndi:BPMNEdge id="Flow_1nlal9u_di" bpmnElement="Flow_1nlal9u">
2022-10-20 02:57:57 +00:00
<di:waypoint x="330" y="390" />
2022-10-20 21:00:54 +00:00
<di:waypoint x="370" y="390" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_01eh2ws_di" bpmnElement="Flow_01eh2ws">
<di:waypoint x="470" y="390" />
2022-10-20 02:34:59 +00:00
<di:waypoint x="520" y="390" />
</bpmndi:BPMNEdge>
2022-09-20 14:28:53 -04:00
</bpmndi:BPMNPlane>
2022-07-13 23:46:34 -04:00
</bpmndi:BPMNDiagram>
<bpmndi:BPMNDiagram>
2022-10-05 13:51:56 +00:00
<bpmndi:BPMNPlane bpmnElement="Activity_1ucvkk4">
<bpmndi:BPMNShape id="Gateway_1l74xlc_di" bpmnElement="Gateway_1l74xlc" isMarkerVisible="true">
<dc:Bounds x="245" y="215" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_01bnz9l_di" bpmnElement="Activity_1w6kg4p">
<dc:Bounds x="360" y="200" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0respgl_di" bpmnElement="Activity_0respgl">
<dc:Bounds x="490" y="90" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
2022-10-05 13:53:01 +00:00
<bpmndi:BPMNShape id="Gateway_1vl3ipe_di" bpmnElement="Gateway_1vl3ipe" isMarkerVisible="true">
2022-10-05 13:53:27 +00:00
<dc:Bounds x="625" y="215" width="50" height="50" />
</bpmndi:BPMNShape>
2022-10-20 03:40:29 +00:00
<bpmndi:BPMNShape id="Event_00px1yx_di" bpmnElement="Event_00px1yx">
<dc:Bounds x="142" y="402" width="36" height="36" />
2022-10-05 13:56:18 +00:00
</bpmndi:BPMNShape>
2022-10-20 05:27:50 +00:00
<bpmndi:BPMNShape id="Event_1nkaxn4_di" bpmnElement="Event_1nkaxn4">
<dc:Bounds x="762" y="402" width="36" height="36" />
</bpmndi:BPMNShape>
2022-10-20 03:57:51 +00:00
<bpmndi:BPMNShape id="Activity_1gex892_di" bpmnElement="Activity_00b66gy">
<dc:Bounds x="250" y="380" width="100" height="80" />
2022-10-20 04:18:27 +00:00
<bpmndi:BPMNLabel />
2022-10-20 03:57:51 +00:00
</bpmndi:BPMNShape>
2022-10-20 16:41:35 +00:00
<bpmndi:BPMNShape id="Activity_0z9h5bp_di" bpmnElement="Activity_0lmpdui">
<dc:Bounds x="430" y="380" width="100" height="80" />
</bpmndi:BPMNShape>
2022-10-20 05:27:50 +00:00
<bpmndi:BPMNShape id="Activity_0s32al0_di" bpmnElement="Activity_1ve0iqu">
<dc:Bounds x="610" y="380" width="100" height="80" />
<bpmndi:BPMNLabel />
2022-10-20 05:26:13 +00:00
</bpmndi:BPMNShape>
2022-10-05 13:51:56 +00:00
<bpmndi:BPMNEdge id="Flow_1am9jcz_di" bpmnElement="Flow_1am9jcz">
<di:waypoint x="295" y="240" />
<di:waypoint x="360" y="240" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0kx6gsl_di" bpmnElement="Flow_0kx6gsl">
<di:waypoint x="270" y="215" />
<di:waypoint x="270" y="130" />
<di:waypoint x="490" y="130" />
</bpmndi:BPMNEdge>
2022-10-05 13:53:01 +00:00
<bpmndi:BPMNEdge id="Flow_0rbij5a_di" bpmnElement="Flow_0rbij5a">
<di:waypoint x="460" y="240" />
2022-10-05 13:53:27 +00:00
<di:waypoint x="625" y="240" />
2022-10-05 13:53:01 +00:00
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0lyg5zb_di" bpmnElement="Flow_0lyg5zb">
<di:waypoint x="590" y="130" />
2022-10-05 13:53:27 +00:00
<di:waypoint x="650" y="130" />
<di:waypoint x="650" y="215" />
2022-10-05 13:53:01 +00:00
</bpmndi:BPMNEdge>
2022-10-20 03:40:29 +00:00
<bpmndi:BPMNEdge id="Flow_0idsdf0_di" bpmnElement="Flow_0idsdf0">
<di:waypoint x="178" y="420" />
2022-10-20 03:57:51 +00:00
<di:waypoint x="250" y="420" />
</bpmndi:BPMNEdge>
2022-10-20 05:27:50 +00:00
<bpmndi:BPMNEdge id="Flow_1cynsak_di" bpmnElement="Flow_1cynsak">
<di:waypoint x="710" y="420" />
2022-10-20 05:26:13 +00:00
<di:waypoint x="762" y="420" />
2022-10-05 13:53:27 +00:00
</bpmndi:BPMNEdge>
2022-10-20 15:56:57 +00:00
<bpmndi:BPMNEdge id="Flow_0mwwhvb_di" bpmnElement="Flow_0mwwhvb">
2022-10-20 14:37:50 +00:00
<di:waypoint x="350" y="420" />
2022-10-20 15:59:29 +00:00
<di:waypoint x="430" y="420" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_04uuejh_di" bpmnElement="Flow_04uuejh">
<di:waypoint x="530" y="420" />
2022-10-20 14:37:50 +00:00
<di:waypoint x="610" y="420" />
</bpmndi:BPMNEdge>
2022-10-05 13:51:56 +00:00
</bpmndi:BPMNPlane>
2022-07-13 23:46:34 -04:00
</bpmndi:BPMNDiagram>
2022-09-12 16:12:36 -04:00
<bpmndi:BPMNDiagram id="BPMNDiagram_0e5tdrz">
2022-09-15 15:16:06 -04:00
<bpmndi:BPMNPlane id="BPMNPlane_04v9fws" bpmnElement="SubProcess_Data_validation_rules">
2022-09-12 16:12:36 -04:00
<bpmndi:BPMNShape id="Event_1qkuk5g_di" bpmnElement="Event_1qkuk5g">
<dc:Bounds x="232" y="192" width="36" height="36" />
</bpmndi:BPMNShape>
2022-10-18 21:04:12 +00:00
<bpmndi:BPMNShape id="Activity_05nw8eq_di" bpmnElement="Activity_Check_Due_Date">
<dc:Bounds x="840" y="170" width="100" height="80" />
</bpmndi:BPMNShape>
2022-09-12 16:12:36 -04:00
<bpmndi:BPMNShape id="Event_015l7j8_di" bpmnElement="Event_015l7j8">
2022-10-03 12:42:47 -04:00
<dc:Bounds x="1182" y="192" width="36" height="36" />
2022-09-12 16:12:36 -04:00
</bpmndi:BPMNShape>
2022-09-30 11:18:04 -04:00
<bpmndi:BPMNShape id="Activity_0ynnab7_di" bpmnElement="Activity_check_contributor_name">
2022-09-12 16:12:36 -04:00
<dc:Bounds x="340" y="170" width="100" height="80" />
</bpmndi:BPMNShape>
2022-10-20 00:10:26 +00:00
<bpmndi:BPMNShape id="Activity_07pdvk2_di" bpmnElement="Activity_check_invoice_amount">
<dc:Bounds x="510" y="170" width="100" height="80" />
</bpmndi:BPMNShape>
2022-09-30 11:18:04 -04:00
<bpmndi:BPMNShape id="Activity_1l7rl3o_di" bpmnElement="Activity_check_validation_rules">
2022-09-14 18:09:13 -04:00
<dc:Bounds x="1020" y="170" width="100" height="80" />
2022-09-12 16:12:36 -04:00
</bpmndi:BPMNShape>
2022-10-18 20:08:58 +00:00
<bpmndi:BPMNShape id="Activity_0fc4t79_di" bpmnElement="Activity_call_local_date_and_time">
2022-10-18 20:44:29 +00:00
<dc:Bounds x="670" y="170" width="100" height="80" />
2022-10-18 20:08:58 +00:00
<bpmndi:BPMNLabel />
2022-10-11 19:11:27 +00:00
</bpmndi:BPMNShape>
2022-09-12 16:12:36 -04:00
<bpmndi:BPMNEdge id="Flow_1avkxpe_di" bpmnElement="Flow_1avkxpe">
<di:waypoint x="268" y="210" />
<di:waypoint x="340" y="210" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0tzjowk_di" bpmnElement="Flow_0tzjowk">
2022-09-14 18:09:13 -04:00
<di:waypoint x="1120" y="210" />
2022-10-03 12:42:47 -04:00
<di:waypoint x="1182" y="210" />
2022-09-12 16:12:36 -04:00
</bpmndi:BPMNEdge>
2022-10-18 20:44:29 +00:00
<bpmndi:BPMNEdge id="Flow_18i6dlo_di" bpmnElement="Flow_18i6dlo">
<di:waypoint x="770" y="210" />
<di:waypoint x="840" y="210" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1d7sgm2_di" bpmnElement="Flow_1d7sgm2">
<di:waypoint x="940" y="210" />
2022-10-18 19:40:48 +00:00
<di:waypoint x="1020" y="210" />
2022-10-13 15:21:10 +00:00
</bpmndi:BPMNEdge>
2022-10-19 23:57:42 +00:00
<bpmndi:BPMNEdge id="Flow_0mvmd06_di" bpmnElement="Flow_0mvmd06">
<di:waypoint x="440" y="210" />
<di:waypoint x="510" y="210" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0wp2mcf_di" bpmnElement="Flow_0wp2mcf">
<di:waypoint x="610" y="210" />
<di:waypoint x="670" y="210" />
</bpmndi:BPMNEdge>
2022-09-12 16:12:36 -04:00
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
2022-10-23 04:34:34 +00:00
<bpmndi:BPMNDiagram id="BPMNDiagram_1wh5lkq">
2022-10-23 04:41:48 +00:00
<bpmndi:BPMNPlane id="BPMNPlane_1b2zhk5" bpmnElement="Activity_0gkpa9s">
2022-10-23 14:59:07 +00:00
<bpmndi:BPMNShape id="Event_0a4hscg_di" bpmnElement="Event_0a4hscg">
<dc:Bounds x="262" y="192" width="36" height="36" />
</bpmndi:BPMNShape>
2022-10-23 04:49:49 +00:00
<bpmndi:BPMNShape id="Event_0xohu5m_di" bpmnElement="Event_0xohu5m">
2022-10-23 15:18:23 +00:00
<dc:Bounds x="832" y="192" width="36" height="36" />
2022-10-23 04:49:49 +00:00
</bpmndi:BPMNShape>
2022-10-23 20:18:07 +00:00
<bpmndi:BPMNShape id="BPMNShape_0pcr7bl" bpmnElement="Activity_1fsffcq">
<dc:Bounds x="680" y="170" width="100" height="80" />
<bpmndi:BPMNLabel />
2022-10-23 04:43:03 +00:00
</bpmndi:BPMNShape>
2022-10-23 15:51:26 +00:00
<bpmndi:BPMNShape id="Activity_17rdv3g_di" bpmnElement="Call_Waku_Messages_Message">
2022-10-23 20:14:57 +00:00
<dc:Bounds x="510" y="170" width="100" height="80" />
2022-10-23 15:51:26 +00:00
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
2022-10-23 20:18:07 +00:00
<bpmndi:BPMNShape id="Activity_0sjnk6j_di" bpmnElement="Activity_1mndvag">
<dc:Bounds x="340" y="170" width="100" height="80" />
2022-10-23 05:09:31 +00:00
</bpmndi:BPMNShape>
2022-10-23 04:41:48 +00:00
<bpmndi:BPMNEdge id="Flow_0h40vf3_di" bpmnElement="Flow_0h40vf3">
2022-10-23 13:09:48 +00:00
<di:waypoint x="298" y="210" />
2022-10-23 16:11:56 +00:00
<di:waypoint x="340" y="210" />
2022-10-23 04:47:56 +00:00
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_17xbb2s_di" bpmnElement="Flow_17xbb2s">
2022-10-23 20:14:57 +00:00
<di:waypoint x="780" y="210" />
2022-10-23 15:18:23 +00:00
<di:waypoint x="832" y="210" />
2022-10-23 05:09:31 +00:00
</bpmndi:BPMNEdge>
2022-10-23 16:11:56 +00:00
<bpmndi:BPMNEdge id="Flow_0j4xxzp_di" bpmnElement="Flow_0j4xxzp">
2022-10-23 20:14:57 +00:00
<di:waypoint x="610" y="210" />
<di:waypoint x="680" y="210" />
2022-10-23 04:41:48 +00:00
</bpmndi:BPMNEdge>
2022-10-23 16:11:56 +00:00
<bpmndi:BPMNEdge id="Flow_05xzdav_di" bpmnElement="Flow_05xzdav">
<di:waypoint x="440" y="210" />
2022-10-23 20:14:57 +00:00
<di:waypoint x="510" y="210" />
2022-10-23 16:11:56 +00:00
</bpmndi:BPMNEdge>
2022-10-23 04:41:48 +00:00
</bpmndi:BPMNPlane>
2022-10-23 04:34:34 +00:00
</bpmndi:BPMNDiagram>
2022-10-23 05:31:34 +00:00
<bpmndi:BPMNDiagram id="BPMNDiagram_03yq39k">
<bpmndi:BPMNPlane id="BPMNPlane_19vekoo" bpmnElement="Waku_Message_Pending_Payment">
2022-10-23 06:04:40 +00:00
<bpmndi:BPMNShape id="Event_13cibxi_di" bpmnElement="Event_13cibxi">
<dc:Bounds x="72" y="162" width="36" height="36" />
</bpmndi:BPMNShape>
2022-10-23 05:31:34 +00:00
<bpmndi:BPMNShape id="Activity_0848qfu_di" bpmnElement="Get_Waku_Messages_Message_Body">
<dc:Bounds x="340" y="140" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_07h8k4e_di" bpmnElement="Get_Waku_Messages_Message_Variables-Payment_Pending">
<dc:Bounds x="500" y="140" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
2022-10-23 06:08:28 +00:00
<bpmndi:BPMNShape id="Event_0fbz176_di" bpmnElement="Event_0fbz176">
<dc:Bounds x="852" y="162" width="36" height="36" />
2022-10-23 05:46:12 +00:00
</bpmndi:BPMNShape>
2022-10-23 06:04:40 +00:00
<bpmndi:BPMNShape id="BPMNShape_0h6o7ep" bpmnElement="waku_payment_pending">
2022-10-23 06:06:10 +00:00
<dc:Bounds x="680" y="140" width="100" height="80" />
</bpmndi:BPMNShape>
2022-10-23 06:08:28 +00:00
<bpmndi:BPMNShape id="Activity_0tevtzs_di" bpmnElement="Activity_0iquip7">
<dc:Bounds x="170" y="140" width="100" height="80" />
<bpmndi:BPMNLabel />
2022-10-23 06:04:40 +00:00
</bpmndi:BPMNShape>
2022-10-23 05:31:34 +00:00
<bpmndi:BPMNEdge id="Flow_1wnjy2u_di" bpmnElement="Flow_1wnjy2u">
2022-10-23 05:46:12 +00:00
<di:waypoint x="108" y="180" />
<di:waypoint x="170" y="180" />
2022-10-23 05:31:34 +00:00
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1w7kqay_di" bpmnElement="Flow_1w7kqay">
<di:waypoint x="440" y="180" />
<di:waypoint x="500" y="180" />
</bpmndi:BPMNEdge>
2022-10-23 05:31:45 +00:00
<bpmndi:BPMNEdge id="Flow_1ca84s5_di" bpmnElement="Flow_1ca84s5">
<di:waypoint x="600" y="180" />
2022-10-23 06:06:10 +00:00
<di:waypoint x="680" y="180" />
2022-10-23 05:39:21 +00:00
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1buk0a2_di" bpmnElement="Flow_1buk0a2">
2022-10-23 06:06:10 +00:00
<di:waypoint x="780" y="180" />
<di:waypoint x="852" y="180" />
2022-10-23 05:31:45 +00:00
</bpmndi:BPMNEdge>
2022-10-23 05:46:12 +00:00
<bpmndi:BPMNEdge id="Flow_1kwmbz2_di" bpmnElement="Flow_1kwmbz2">
<di:waypoint x="270" y="180" />
<di:waypoint x="340" y="180" />
</bpmndi:BPMNEdge>
2022-10-23 05:31:34 +00:00
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
2022-10-23 06:28:19 +00:00
<bpmndi:BPMNDiagram id="BPMNDiagram_0pf7nxs">
<bpmndi:BPMNPlane id="BPMNPlane_0obk4d1" bpmnElement="Activity_0rae8g6">
2022-10-23 06:45:30 +00:00
<bpmndi:BPMNShape id="BPMNShape_0md80al" bpmnElement="Event_0ialhor">
<dc:Bounds x="-38" y="202" width="36" height="36" />
</bpmndi:BPMNShape>
2022-10-23 06:28:19 +00:00
<bpmndi:BPMNShape id="BPMNShape_0u0hy9z" bpmnElement="Activity_0eh4so1">
<dc:Bounds x="250" y="180" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
2022-10-23 19:15:57 +00:00
<bpmndi:BPMNShape id="BPMNShape_06ie9hh" bpmnElement="Event_0ihhn4w">
2022-10-23 20:18:47 +00:00
<dc:Bounds x="762" y="202" width="36" height="36" />
2022-10-23 19:15:57 +00:00
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="BPMNShape_1lk7fz8" bpmnElement="waku_invoice_rejected">
2022-10-23 20:18:47 +00:00
<dc:Bounds x="600" y="180" width="100" height="80" />
2022-10-23 19:15:57 +00:00
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
2022-10-23 20:22:20 +00:00
<bpmndi:BPMNShape id="Activity_0py9spx_di" bpmnElement="Activity_04kw0jc">
<dc:Bounds x="70" y="180" width="100" height="80" />
</bpmndi:BPMNShape>
2022-10-23 19:15:57 +00:00
<bpmndi:BPMNShape id="Activity_08c60j8_di" bpmnElement="Activity_03duc95">
2022-10-23 20:18:47 +00:00
<dc:Bounds x="430" y="180" width="100" height="80" />
2022-10-23 19:15:57 +00:00
</bpmndi:BPMNShape>
2022-10-23 06:28:19 +00:00
<bpmndi:BPMNEdge id="BPMNEdge_04mzj46" bpmnElement="Flow_14x1v12">
2022-10-23 06:32:25 +00:00
<di:waypoint x="-2" y="220" />
<di:waypoint x="70" y="220" />
2022-10-23 06:28:19 +00:00
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="BPMNEdge_0j3b6zk" bpmnElement="Flow_1wq6gzs">
<di:waypoint x="350" y="220" />
2022-10-23 20:18:47 +00:00
<di:waypoint x="430" y="220" />
2022-10-23 06:28:19 +00:00
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="BPMNEdge_16ht4ok" bpmnElement="Flow_01i59kw">
2022-10-23 20:18:47 +00:00
<di:waypoint x="700" y="220" />
<di:waypoint x="762" y="220" />
2022-10-23 06:28:19 +00:00
</bpmndi:BPMNEdge>
2022-10-23 06:32:25 +00:00
<bpmndi:BPMNEdge id="Flow_0umhf4u_di" bpmnElement="Flow_0umhf4u">
<di:waypoint x="170" y="220" />
<di:waypoint x="250" y="220" />
</bpmndi:BPMNEdge>
2022-10-23 19:15:57 +00:00
<bpmndi:BPMNEdge id="Flow_1d0phao_di" bpmnElement="Flow_1d0phao">
2022-10-23 20:18:47 +00:00
<di:waypoint x="530" y="220" />
<di:waypoint x="600" y="220" />
2022-10-23 19:15:57 +00:00
</bpmndi:BPMNEdge>
2022-10-23 06:28:19 +00:00
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
2022-10-23 20:57:15 +00:00
<bpmndi:BPMNDiagram id="BPMNDiagram_1vlf9fh">
2022-10-23 22:29:17 +00:00
<bpmndi:BPMNPlane id="BPMNPlane_0pej8du" bpmnElement="Activity_1kgaqpf">
<bpmndi:BPMNShape id="BPMNShape_1r0xe85" bpmnElement="Event_0k7eiau">
<dc:Bounds x="172" y="222" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="BPMNShape_0brjin6" bpmnElement="Activity_1wqf9dm">
<dc:Bounds x="460" y="200" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
2022-10-23 22:40:03 +00:00
<bpmndi:BPMNShape id="BPMNShape_13jsep6" bpmnElement="Activity_01g159b">
<dc:Bounds x="280" y="200" width="100" height="80" />
2022-10-23 22:29:17 +00:00
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="BPMNShape_0x5xk93" bpmnElement="Activity_0ez288q">
2022-10-23 22:40:03 +00:00
<dc:Bounds x="660" y="200" width="100" height="80" />
2022-10-23 22:29:17 +00:00
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
2022-10-23 22:40:03 +00:00
<bpmndi:BPMNShape id="BPMNShape_1kkvray" bpmnElement="Event_0czwuqb">
<dc:Bounds x="882" y="222" width="36" height="36" />
2022-10-23 22:29:17 +00:00
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="BPMNEdge_0pim44o" bpmnElement="Flow_0xh27vy">
<di:waypoint x="208" y="240" />
<di:waypoint x="280" y="240" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="BPMNEdge_0fqyd9w" bpmnElement="Flow_0tbbryo">
<di:waypoint x="380" y="240" />
<di:waypoint x="460" y="240" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="BPMNEdge_1d397qp" bpmnElement="Flow_0n3djvs">
<di:waypoint x="560" y="240" />
2022-10-23 22:40:03 +00:00
<di:waypoint x="660" y="240" />
2022-10-23 22:29:17 +00:00
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="BPMNEdge_0u6zjo7" bpmnElement="Flow_0lr2fpj">
2022-10-23 22:40:03 +00:00
<di:waypoint x="760" y="240" />
<di:waypoint x="882" y="240" />
2022-10-23 22:29:17 +00:00
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
2022-10-23 20:57:15 +00:00
</bpmndi:BPMNDiagram>
2022-07-13 23:46:34 -04:00
</bpmn:definitions>