2022-11-06 11:53:13 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<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:spiffworkflow="http://spiffworkflow.org/bpmn/schema/1.0/core" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_96f6665" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.0.0-dev">
|
|
|
|
<bpmn:process id="Proccess_6e855vt" isExecutable="true">
|
|
|
|
<bpmn:startEvent id="StartEvent_1">
|
|
|
|
<bpmn:outgoing>Flow_1lrs9sm</bpmn:outgoing>
|
|
|
|
</bpmn:startEvent>
|
|
|
|
<bpmn:sequenceFlow id="Flow_1lrs9sm" sourceRef="StartEvent_1" targetRef="Activity_0b0v4ze" />
|
|
|
|
<bpmn:serviceTask id="Activity_0b0v4ze" name="Add Xero Invoice">
|
|
|
|
<bpmn:extensionElements>
|
2023-01-11 02:24:24 +00:00
|
|
|
<spiffworkflow:serviceTaskOperator id="xero/CreateInvoice" resultVariable="resp_XeroInvoice">
|
2022-11-06 11:53:13 +00:00
|
|
|
<spiffworkflow:parameters>
|
2023-01-11 01:57:50 +00:00
|
|
|
<spiffworkflow:parameter id="access_token" type="any" value=""secret:xero/OAuth"" />
|
2023-01-11 02:19:49 +00:00
|
|
|
<spiffworkflow:parameter id="amount" type="str" value="1000" />
|
|
|
|
<spiffworkflow:parameter id="contact_email" type="str" value=""harmeet@status.im"" />
|
2023-01-11 02:22:05 +00:00
|
|
|
<spiffworkflow:parameter id="contact_name" type="str" value=""Harmeet Singh"" />
|
|
|
|
<spiffworkflow:parameter id="description" type="str" value=""Bamboo Service Task Test"" />
|
2022-11-06 11:53:13 +00:00
|
|
|
</spiffworkflow:parameters>
|
|
|
|
</spiffworkflow:serviceTaskOperator>
|
|
|
|
</bpmn:extensionElements>
|
|
|
|
<bpmn:incoming>Flow_1lrs9sm</bpmn:incoming>
|
|
|
|
<bpmn:outgoing>Flow_1xov8zn</bpmn:outgoing>
|
|
|
|
</bpmn:serviceTask>
|
|
|
|
<bpmn:endEvent id="Event_1oekazn">
|
2023-01-11 02:26:01 +00:00
|
|
|
<bpmn:incoming>Flow_0jqts3n</bpmn:incoming>
|
2022-11-06 11:53:13 +00:00
|
|
|
</bpmn:endEvent>
|
2023-01-11 02:26:01 +00:00
|
|
|
<bpmn:sequenceFlow id="Flow_1xov8zn" sourceRef="Activity_0b0v4ze" targetRef="Activity_1ftqk6a" />
|
|
|
|
<bpmn:sequenceFlow id="Flow_0jqts3n" sourceRef="Activity_1ftqk6a" targetRef="Event_1oekazn" />
|
|
|
|
<bpmn:serviceTask id="Activity_1ftqk6a" name="Get Xero Currencies">
|
|
|
|
<bpmn:extensionElements>
|
|
|
|
<spiffworkflow:serviceTaskOperator id="xero/GetCurrencies" resultVariable="resp_XeroCurrencies">
|
|
|
|
<spiffworkflow:parameters>
|
|
|
|
<spiffworkflow:parameter id="access_token" type="any" value=""secret:xero/OAuth"" />
|
|
|
|
</spiffworkflow:parameters>
|
|
|
|
</spiffworkflow:serviceTaskOperator>
|
|
|
|
</bpmn:extensionElements>
|
|
|
|
<bpmn:incoming>Flow_1xov8zn</bpmn:incoming>
|
|
|
|
<bpmn:outgoing>Flow_0jqts3n</bpmn:outgoing>
|
|
|
|
</bpmn:serviceTask>
|
2022-11-06 11:53:13 +00:00
|
|
|
</bpmn:process>
|
|
|
|
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
|
|
|
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Proccess_6e855vt">
|
|
|
|
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
2023-01-11 02:19:49 +00:00
|
|
|
<dc:Bounds x="122" y="159" width="36" height="36" />
|
2022-11-06 11:53:13 +00:00
|
|
|
</bpmndi:BPMNShape>
|
|
|
|
<bpmndi:BPMNShape id="Activity_01fflkg_di" bpmnElement="Activity_0b0v4ze">
|
2023-01-11 02:19:49 +00:00
|
|
|
<dc:Bounds x="230" y="137" width="100" height="80" />
|
2022-11-06 11:53:13 +00:00
|
|
|
</bpmndi:BPMNShape>
|
2023-01-11 02:24:24 +00:00
|
|
|
<bpmndi:BPMNShape id="Event_1oekazn_di" bpmnElement="Event_1oekazn">
|
|
|
|
<dc:Bounds x="592" y="159" width="36" height="36" />
|
|
|
|
</bpmndi:BPMNShape>
|
2023-01-11 02:26:01 +00:00
|
|
|
<bpmndi:BPMNShape id="Activity_1gt7pd1_di" bpmnElement="Activity_1ftqk6a">
|
|
|
|
<dc:Bounds x="400" y="137" width="100" height="80" />
|
|
|
|
</bpmndi:BPMNShape>
|
2022-11-06 11:53:13 +00:00
|
|
|
<bpmndi:BPMNEdge id="Flow_1lrs9sm_di" bpmnElement="Flow_1lrs9sm">
|
2023-01-11 02:19:49 +00:00
|
|
|
<di:waypoint x="158" y="177" />
|
|
|
|
<di:waypoint x="230" y="177" />
|
2022-11-06 11:53:13 +00:00
|
|
|
</bpmndi:BPMNEdge>
|
|
|
|
<bpmndi:BPMNEdge id="Flow_1xov8zn_di" bpmnElement="Flow_1xov8zn">
|
2023-01-11 02:19:49 +00:00
|
|
|
<di:waypoint x="330" y="177" />
|
2023-01-11 02:26:01 +00:00
|
|
|
<di:waypoint x="400" y="177" />
|
|
|
|
</bpmndi:BPMNEdge>
|
|
|
|
<bpmndi:BPMNEdge id="Flow_0jqts3n_di" bpmnElement="Flow_0jqts3n">
|
|
|
|
<di:waypoint x="500" y="177" />
|
2023-01-11 02:19:49 +00:00
|
|
|
<di:waypoint x="592" y="177" />
|
2022-11-06 11:53:13 +00:00
|
|
|
</bpmndi:BPMNEdge>
|
|
|
|
</bpmndi:BPMNPlane>
|
|
|
|
</bpmndi:BPMNDiagram>
|
|
|
|
</bpmn:definitions>
|