mirror of
https://github.com/sartography/sample-process-models.git
synced 2025-02-20 11:48:21 +00:00
User: alex clicked save for execute-procure-to-pay/cc-invoice-approval-process/cc-invoice-approval-process-v2.bpmn
This commit is contained in:
parent
0777ac19d8
commit
9358885a06
@ -32,7 +32,6 @@
|
||||
<bpmn:flowNodeRef>Event_0x83ruk</bpmn:flowNodeRef>
|
||||
<bpmn:flowNodeRef>Event_0m3ri6v</bpmn:flowNodeRef>
|
||||
<bpmn:flowNodeRef>Gateway_1l4tz4i</bpmn:flowNodeRef>
|
||||
<bpmn:flowNodeRef>Activity_0fq1nb4</bpmn:flowNodeRef>
|
||||
<bpmn:flowNodeRef>Event_1usbnt0</bpmn:flowNodeRef>
|
||||
<bpmn:flowNodeRef>Event_0lhkxwc</bpmn:flowNodeRef>
|
||||
<bpmn:flowNodeRef>Event_1b58a3z</bpmn:flowNodeRef>
|
||||
@ -65,6 +64,7 @@
|
||||
<bpmn:flowNodeRef>Activity_10p5t0r</bpmn:flowNodeRef>
|
||||
<bpmn:flowNodeRef>Activity_0twki30</bpmn:flowNodeRef>
|
||||
<bpmn:flowNodeRef>Activity_1864qj2</bpmn:flowNodeRef>
|
||||
<bpmn:flowNodeRef>Activity_0fq1nb4</bpmn:flowNodeRef>
|
||||
</bpmn:lane>
|
||||
<bpmn:lane id="Lane_1b7abal" name="Project Lead">
|
||||
<bpmn:flowNodeRef>Activity_06b32ar</bpmn:flowNodeRef>
|
||||
@ -111,8 +111,7 @@
|
||||
<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" />
|
||||
<bpmn:sequenceFlow id="Flow_053ca95" sourceRef="Activity_0fq1nb4" targetRef="Event_0lhkxwc" />
|
||||
<bpmn:sequenceFlow id="Flow_0h96w9j" name="Yes" sourceRef="Gateway_1ytq6m7" targetRef="Event_0lhkxwc" />
|
||||
<bpmn:sequenceFlow id="Flow_0a9w301" sourceRef="Gateway_1717c0p" targetRef="Delete_File" />
|
||||
<bpmn:sequenceFlow id="Flow_15pzvrr" sourceRef="Activity_0faln91" targetRef="Gateway_1l4tz4i" />
|
||||
<bpmn:sequenceFlow id="Flow_02v6lr2" sourceRef="Activity_11stdua" targetRef="Event_1lh7308" />
|
||||
@ -375,25 +374,6 @@ isApprovalTimer = True</bpmn:script>
|
||||
</bpmn:exclusiveGateway>
|
||||
<bpmn:dataObjectReference id="DataObjectReference_1wclgyx" name="wr_invoiceRejected" dataObjectRef="wr_invoiceRejected" />
|
||||
<bpmn:dataObject id="wr_invoiceRejected" />
|
||||
<bpmn:serviceTask id="Activity_0fq1nb4" name="5. Create Invoice in Xero">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:serviceTaskOperator id="xero/CreateInvoice" resultVariable="resp_xeroCreateInvoice">
|
||||
<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:dataOutputAssociation id="DataOutputAssociation_076hmxy">
|
||||
<bpmn:targetRef>DataObjectReference_1g4gzsx</bpmn:targetRef>
|
||||
</bpmn:dataOutputAssociation>
|
||||
</bpmn:serviceTask>
|
||||
<bpmn:exclusiveGateway id="Gateway_1ytq6m7" name="Approved?" default="Flow_0h96w9j">
|
||||
<bpmn:incoming>Flow_1l74eab</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_00kky3k</bpmn:outgoing>
|
||||
@ -404,10 +384,8 @@ isApprovalTimer = True</bpmn:script>
|
||||
</bpmn:endEvent>
|
||||
<bpmn:dataObjectReference id="DataObjectReference_0br9o6c" name="wr_invoicePayPend" dataObjectRef="wr_invoicePayPend" />
|
||||
<bpmn:dataObject id="wr_invoicePayPend" />
|
||||
<bpmn:dataObjectReference id="DataObjectReference_1g4gzsx" name="resp_xeroCreateInvoice" dataObjectRef="resp_xeroCreateInvoice" />
|
||||
<bpmn:dataObject id="resp_xeroCreateInvoice" />
|
||||
<bpmn:intermediateThrowEvent id="Event_0lhkxwc" name="Approved and Awaiting Payment">
|
||||
<bpmn:incoming>Flow_053ca95</bpmn:incoming>
|
||||
<bpmn:incoming>Flow_0h96w9j</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_1fvtcqt</bpmn:outgoing>
|
||||
</bpmn:intermediateThrowEvent>
|
||||
<bpmn:dataObjectReference id="DataObjectReference_0x2dn5o" name="wr_notifyFinance" dataObjectRef="wr_notifyFinance" />
|
||||
@ -1081,6 +1059,25 @@ invoice["invoiceCurrency"] = "AUD"</bpmn:script>
|
||||
<bpmn:sequenceFlow id="Flow_1hebd4s" sourceRef="Activity_0rww1ya" targetRef="Event_0kmx0m7" />
|
||||
</bpmn:subProcess>
|
||||
<bpmn:sequenceFlow id="Flow_061sv6t" sourceRef="Activity_1colhao" targetRef="Gateway_0wk5se9" />
|
||||
<bpmn:serviceTask id="Activity_0fq1nb4" name="5. Create Invoice in Xero">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:serviceTaskOperator id="xero/CreateInvoice" resultVariable="resp_xeroCreateInvoice">
|
||||
<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:dataOutputAssociation id="DataOutputAssociation_076hmxy">
|
||||
<bpmn:targetRef>DataObjectReference_1g4gzsx</bpmn:targetRef>
|
||||
</bpmn:dataOutputAssociation>
|
||||
</bpmn:serviceTask>
|
||||
<bpmn:dataObjectReference id="DataObjectReference_1g4gzsx" name="resp_xeroCreateInvoice" dataObjectRef="resp_xeroCreateInvoice" />
|
||||
<bpmn:dataObject id="resp_xeroCreateInvoice" />
|
||||
</bpmn:process>
|
||||
<bpmn:process id="Process_cc_invoice_approval_process_v2_c" isExecutable="false" />
|
||||
<bpmn:process id="Process_cc_invoice_approval_process_v2_d" isExecutable="false" />
|
||||
@ -1126,6 +1123,15 @@ invoice["invoiceCurrency"] = "AUD"</bpmn:script>
|
||||
<dc:Bounds x="1520" y="567" width="60" height="14" />
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_0ejn04g_di" bpmnElement="Activity_0fq1nb4">
|
||||
<dc:Bounds x="4750" y="650" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="DataObjectReference_1g4gzsx_di" bpmnElement="DataObjectReference_1g4gzsx">
|
||||
<dc:Bounds x="4902" y="705" width="36" height="50" />
|
||||
<bpmndi:BPMNLabel>
|
||||
<dc:Bounds x="4877" y="751" width="85" height="27" />
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_0z13hw3_di" bpmnElement="SubProcess_Data_validation_rules">
|
||||
<dc:Bounds x="1350" y="492" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
@ -1218,9 +1224,6 @@ invoice["invoiceCurrency"] = "AUD"</bpmn:script>
|
||||
<dc:Bounds x="3948" y="281" width="84" height="27" />
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_0ejn04g_di" bpmnElement="Activity_0fq1nb4">
|
||||
<dc:Bounds x="4750" y="570" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Gateway_1ytq6m7_di" bpmnElement="Gateway_1ytq6m7" isMarkerVisible="true">
|
||||
<dc:Bounds x="4465" y="1055" width="50" height="50" />
|
||||
<bpmndi:BPMNLabel>
|
||||
@ -1236,12 +1239,6 @@ invoice["invoiceCurrency"] = "AUD"</bpmn:script>
|
||||
<dc:Bounds x="5018" y="761" width="85" height="27" />
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="DataObjectReference_1g4gzsx_di" bpmnElement="DataObjectReference_1g4gzsx">
|
||||
<dc:Bounds x="4852" y="455" width="36" height="50" />
|
||||
<bpmndi:BPMNLabel>
|
||||
<dc:Bounds x="4827" y="501" width="85" height="27" />
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_0lhkxwc_di" bpmnElement="Event_0lhkxwc">
|
||||
<dc:Bounds x="4942" y="592" width="36" height="36" />
|
||||
<bpmndi:BPMNLabel>
|
||||
@ -1492,15 +1489,11 @@ invoice["invoiceCurrency"] = "AUD"</bpmn:script>
|
||||
<di:waypoint x="4515" y="1080" />
|
||||
<di:waypoint x="4630" y="1080" />
|
||||
<di:waypoint x="4630" y="610" />
|
||||
<di:waypoint x="4750" y="610" />
|
||||
<di:waypoint x="4942" y="610" />
|
||||
<bpmndi:BPMNLabel>
|
||||
<dc:Bounds x="4558" y="1063" width="18" height="14" />
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_053ca95_di" bpmnElement="Flow_053ca95">
|
||||
<di:waypoint x="4850" y="610" />
|
||||
<di:waypoint x="4942" y="610" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0a9w301_di" bpmnElement="Flow_0a9w301">
|
||||
<di:waypoint x="2804" y="530" />
|
||||
<di:waypoint x="2860" y="530" />
|
||||
@ -1624,8 +1617,8 @@ invoice["invoiceCurrency"] = "AUD"</bpmn:script>
|
||||
<di:waypoint x="615" y="415" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="DataOutputAssociation_076hmxy_di" bpmnElement="DataOutputAssociation_076hmxy">
|
||||
<di:waypoint x="4821" y="570" />
|
||||
<di:waypoint x="4855" y="505" />
|
||||
<di:waypoint x="4850" y="707" />
|
||||
<di:waypoint x="4902" y="725" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="DataOutputAssociation_0b96bb7_di" bpmnElement="DataOutputAssociation_0b96bb7">
|
||||
<di:waypoint x="4090" y="285" />
|
||||
@ -1660,7 +1653,7 @@ invoice["invoiceCurrency"] = "AUD"</bpmn:script>
|
||||
<di:waypoint x="3090" y="150" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0p0bc5u_di" bpmnElement="Flow_0p0bc5u">
|
||||
<di:waypoint x="4800" y="650" />
|
||||
<di:waypoint x="4800" y="730" />
|
||||
<di:waypoint x="4800" y="1170" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1getkzr_di" bpmnElement="Flow_1getkzr">
|
||||
|
Loading…
x
Reference in New Issue
Block a user