User: alex clicked save for execute-procure-to-pay/cc-invoice-approval-process/cc-invoice-approval-process-v2.bpmn

This commit is contained in:
demo 2022-10-20 02:57:57 +00:00
parent d47054d4b5
commit d383eba576
1 changed files with 9 additions and 16 deletions

View File

@ -386,8 +386,6 @@ Please fix.
</spiffworkflow:parameters>
</spiffworkflow:serviceTaskOperator>
</bpmn:extensionElements>
<bpmn:incoming>Flow_02u9thp</bpmn:incoming>
<bpmn:outgoing>Flow_0wo4cx5</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:businessRuleTask id="Activity_1yhwhps" name="Compare the BambooHR.compensation/12 amount with invoice amount">
<bpmn:extensionElements>
@ -435,12 +433,11 @@ Please fix.
<bpmn:sequenceFlow id="Flow_1iz4xwz" sourceRef="Activity_0ayubx4" targetRef="Event_04023ne" />
<bpmn:scriptTask id="Activity_02go8ec" name="Get Annual Salary">
<bpmn:incoming>Flow_1sc1v4y</bpmn:incoming>
<bpmn:outgoing>Flow_02u9thp</bpmn:outgoing>
<bpmn:outgoing>Flow_0zx2qx4</bpmn:outgoing>
<bpmn:script>annual_salary = 24000</bpmn:script>
</bpmn:scriptTask>
<bpmn:sequenceFlow id="Flow_02u9thp" sourceRef="Activity_02go8ec" targetRef="Activity_0ymkf8l" />
<bpmn:scriptTask id="Activity_0b87ocm" name="Get Invoice Amount" scriptFormat="python">
<bpmn:incoming>Flow_0wo4cx5</bpmn:incoming>
<bpmn:incoming>Flow_0zx2qx4</bpmn:incoming>
<bpmn:outgoing>Flow_1m8uxeg</bpmn:outgoing>
<bpmn:script>invoice_amount = invoice.invoiceAmount
match_test = (annual_salary/12)/invoice_amount</bpmn:script>
@ -451,7 +448,7 @@ match_test = (annual_salary/12)/invoice_amount</bpmn:script>
<bpmn:incoming>Flow_04do8x7</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_04do8x7" sourceRef="Activity_1yhwhps" targetRef="Event_0cmri19" />
<bpmn:sequenceFlow id="Flow_0wo4cx5" sourceRef="Activity_0ymkf8l" targetRef="Activity_0b87ocm" />
<bpmn:sequenceFlow id="Flow_0zx2qx4" sourceRef="Activity_02go8ec" targetRef="Activity_0b87ocm" />
</bpmn:subProcess>
<bpmn:serviceTask id="Activity_1ftzr6x" name="4b. Notify CC via Waku&#10;&#34;invoice rejected&#34;">
<bpmn:extensionElements>
@ -977,10 +974,6 @@ temp_test = invoice["invoiceStatus"]
<dc:Bounds x="270" y="190" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1rv8bm9_di" bpmnElement="Activity_0ymkf8l">
<dc:Bounds x="370" y="350" 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>
@ -1027,6 +1020,10 @@ temp_test = invoice["invoiceStatus"]
<bpmndi:BPMNShape id="Event_0cmri19_di" bpmnElement="Event_0cmri19">
<dc:Bounds x="642" y="62" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1rv8bm9_di" bpmnElement="Activity_0ymkf8l">
<dc:Bounds x="440" y="190" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_08ftr1r_di" bpmnElement="Flow_08ftr1r">
<di:waypoint x="835" y="230" />
<di:waypoint x="912" y="230" />
@ -1069,10 +1066,6 @@ temp_test = invoice["invoiceStatus"]
<di:waypoint x="1400" y="490" />
<di:waypoint x="1452" y="490" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_02u9thp_di" bpmnElement="Flow_02u9thp">
<di:waypoint x="330" y="390" />
<di:waypoint x="370" y="390" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1sc1v4y_di" bpmnElement="Flow_1sc1v4y">
<di:waypoint x="190" y="248" />
<di:waypoint x="190" y="390" />
@ -1087,8 +1080,8 @@ temp_test = invoice["invoiceStatus"]
<di:waypoint x="660" y="190" />
<di:waypoint x="660" y="98" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0wo4cx5_di" bpmnElement="Flow_0wo4cx5">
<di:waypoint x="470" y="390" />
<bpmndi:BPMNEdge id="Flow_0zx2qx4_di" bpmnElement="Flow_0zx2qx4">
<di:waypoint x="330" y="390" />
<di:waypoint x="520" y="390" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>