sample-process-models/misc/service-tests/pdf-upload/pdf-to-aws.bpmn

63 lines
3.4 KiB
XML

<?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_Pdf_To_AWS" name="PDF To AWS" isExecutable="true">
<bpmn:startEvent id="StartEvent_1">
<bpmn:outgoing>Flow_0zgq59w</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:sequenceFlow id="Flow_0zgq59w" sourceRef="StartEvent_1" targetRef="Activity_183h83b" />
<bpmn:endEvent id="Event_0svxq6k">
<bpmn:incoming>Flow_193c4bn</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_193c4bn" sourceRef="Activity_1g922mx" targetRef="Event_0svxq6k" />
<bpmn:serviceTask id="Activity_1g922mx" name="pdf to aws">
<bpmn:extensionElements>
<spiffworkflow:serviceTaskOperator id="pdf/CreatePDFAndUploadToS3">
<spiffworkflow:parameters>
<spiffworkflow:parameter id="aws_object_name" type="str" value="&#39;jon_staging.pdf&#39;" />
<spiffworkflow:parameter id="template" type="str" value="&#39;file:service-tests/pdf-upload/invoice.md&#39;" />
</spiffworkflow:parameters>
</spiffworkflow:serviceTaskOperator>
</bpmn:extensionElements>
<bpmn:incoming>Flow_1ifa52m</bpmn:incoming>
<bpmn:outgoing>Flow_193c4bn</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:sequenceFlow id="Flow_1ifa52m" sourceRef="Activity_183h83b" targetRef="Activity_1g922mx" />
<bpmn:scriptTask id="Activity_183h83b" name="prep the vars">
<bpmn:incoming>Flow_0zgq59w</bpmn:incoming>
<bpmn:outgoing>Flow_1ifa52m</bpmn:outgoing>
<bpmn:script>name='Jon Testing'
amount='$43.34'
due_date='10/28/2022'</bpmn:script>
</bpmn:scriptTask>
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Proccess_hez78l3">
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
<dc:Bounds x="179" y="159" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0svxq6k_di" bpmnElement="Event_0svxq6k">
<dc:Bounds x="632" y="159" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_119g7r6_di" bpmnElement="Activity_183h83b">
<dc:Bounds x="280" y="137" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_10tlb3s_di" bpmnElement="Activity_1g922mx">
<dc:Bounds x="470" y="137" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_0zgq59w_di" bpmnElement="Flow_0zgq59w">
<di:waypoint x="215" y="177" />
<di:waypoint x="280" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_193c4bn_di" bpmnElement="Flow_193c4bn">
<di:waypoint x="570" y="177" />
<di:waypoint x="632" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1ifa52m_di" bpmnElement="Flow_1ifa52m">
<di:waypoint x="380" y="177" />
<di:waypoint x="470" y="177" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>