sample-process-models/misc/jonjon/xero/refresh.bpmn

65 lines
3.7 KiB
Plaintext
Raw Normal View History

<?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" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Definitions_96f6665" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.0.0-dev">
<bpmn:process id="Proccess_l19stlh" isExecutable="true">
<bpmn:startEvent id="StartEvent_1">
<bpmn:outgoing>Flow_0rew1jq</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:sequenceFlow id="Flow_0rew1jq" sourceRef="StartEvent_1" targetRef="Event_1xmno4z" />
<bpmn:endEvent id="Event_16a1qhg">
<bpmn:incoming>Flow_08scpsx</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_08scpsx" sourceRef="Activity_0if5cjh" targetRef="Event_16a1qhg" />
<bpmn:serviceTask id="Activity_0if5cjh">
<bpmn:extensionElements>
<spiffworkflow:serviceTaskOperator id="xero/CreateInvoice" resultVariable="putdatahere">
<spiffworkflow:parameters>
<spiffworkflow:parameter id="access_token" type="any" value="&#34;secret:xero/OAuth&#34;" />
<spiffworkflow:parameter id="amount" type="str" value="&#39;11.23&#39;" />
<spiffworkflow:parameter id="contact_email" type="str" value="&#39;alex@sartography.com&#39;" />
<spiffworkflow:parameter id="contact_name" type="str" value="&#39;Alex Herron&#39;" />
<spiffworkflow:parameter id="description" type="str" value="&#39;demo testing ---&#39;" />
</spiffworkflow:parameters>
</spiffworkflow:serviceTaskOperator>
</bpmn:extensionElements>
<bpmn:incoming>Flow_1p43wb0</bpmn:incoming>
<bpmn:outgoing>Flow_08scpsx</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:sequenceFlow id="Flow_1p43wb0" sourceRef="Event_1xmno4z" targetRef="Activity_0if5cjh" />
<bpmn:intermediateCatchEvent id="Event_1xmno4z">
<bpmn:incoming>Flow_0rew1jq</bpmn:incoming>
<bpmn:outgoing>Flow_1p43wb0</bpmn:outgoing>
<bpmn:timerEventDefinition id="TimerEventDefinition_0i2cn57">
<bpmn:timeDuration xsi:type="bpmn:tFormalExpression">timedelta(seconds=1)</bpmn:timeDuration>
</bpmn:timerEventDefinition>
</bpmn:intermediateCatchEvent>
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Proccess_l19stlh">
<bpmndi:BPMNShape id="Event_16a1qhg_di" bpmnElement="Event_16a1qhg">
<dc:Bounds x="432" y="159" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1gxpomh_di" bpmnElement="Activity_0if5cjh">
<dc:Bounds x="270" y="137" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
<dc:Bounds x="52" y="159" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1wiwoq2_di" bpmnElement="Event_1xmno4z">
<dc:Bounds x="152" y="159" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_0rew1jq_di" bpmnElement="Flow_0rew1jq">
<di:waypoint x="88" y="177" />
<di:waypoint x="152" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_08scpsx_di" bpmnElement="Flow_08scpsx">
<di:waypoint x="370" y="177" />
<di:waypoint x="432" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1p43wb0_di" bpmnElement="Flow_1p43wb0">
<di:waypoint x="188" y="177" />
<di:waypoint x="270" y="177" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>