connector-smtp/bpmn/send_email.bpmn

54 lines
3.1 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:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:spiffworkflow="http://spiffworkflow.org/bpmn/schema/1.0/core" id="Definitions_96f6665" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.0.0-dev">
<bpmn:process id="Process_4m6u74s" isExecutable="true">
<bpmn:startEvent id="StartEvent_1">
<bpmn:outgoing>Flow_15su98n</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:sequenceFlow id="Flow_15su98n" sourceRef="StartEvent_1" targetRef="Activity_1oc6kkc" />
<bpmn:endEvent id="Event_1bugxep">
<bpmn:incoming>Flow_0iowv1s</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_0iowv1s" sourceRef="Activity_1oc6kkc" targetRef="Event_1bugxep" />
<bpmn:serviceTask id="Activity_1oc6kkc" name="Send email">
<bpmn:extensionElements>
<spiffworkflow:serviceTaskOperator id="smtp/SendEmail">
<spiffworkflow:parameters>
<spiffworkflow:parameter id="email_body" type="str" value="&#34;Just testing the new smtp connector&#34;" />
<spiffworkflow:parameter id="email_from" type="str" value="&#34;testing@example.com&#34;" />
<spiffworkflow:parameter id="email_subject" type="str" value="&#34;Just testing&#34;" />
<spiffworkflow:parameter id="email_to" type="str" value="&#34;jon@example.com&#34;" />
<spiffworkflow:parameter id="smtp_host" type="str" value="&#34;127.0.0.1&#34;" />
<spiffworkflow:parameter id="smtp_password" type="str" value="None" />
<spiffworkflow:parameter id="smtp_port" type="int" value="1025" />
<spiffworkflow:parameter id="smtp_user" type="str" value="None" />
</spiffworkflow:parameters>
</spiffworkflow:serviceTaskOperator>
</bpmn:extensionElements>
<bpmn:incoming>Flow_15su98n</bpmn:incoming>
<bpmn:outgoing>Flow_0iowv1s</bpmn:outgoing>
</bpmn:serviceTask>
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_4m6u74s">
<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_1bugxep_di" bpmnElement="Event_1bugxep">
<dc:Bounds x="432" y="159" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0ig0x8d_di" bpmnElement="Activity_1oc6kkc">
<dc:Bounds x="270" y="137" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_15su98n_di" bpmnElement="Flow_15su98n">
<di:waypoint x="215" y="177" />
<di:waypoint x="270" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0iowv1s_di" bpmnElement="Flow_0iowv1s">
<di:waypoint x="370" y="177" />
<di:waypoint x="432" y="177" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>