2020-12-06 15:22:32 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2021-03-09 11:50:58 +00:00
|
|
|
<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:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_bd39673" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.5.0">
|
2020-12-06 15:22:32 +00:00
|
|
|
<bpmn:process id="Process_fe6205f" isExecutable="true">
|
|
|
|
<bpmn:startEvent id="StartEvent_1">
|
|
|
|
<bpmn:outgoing>Flow_0scd96e</bpmn:outgoing>
|
|
|
|
</bpmn:startEvent>
|
2020-12-09 17:11:46 +00:00
|
|
|
<bpmn:sequenceFlow id="Flow_0scd96e" sourceRef="StartEvent_1" targetRef="Activity_EmailForm" />
|
|
|
|
<bpmn:userTask id="Activity_EmailForm" name="Email Form" camunda:formKey="email_form">
|
2020-12-06 15:22:32 +00:00
|
|
|
<bpmn:extensionElements>
|
|
|
|
<camunda:formData>
|
|
|
|
<camunda:formField id="email_address" label="Enter Email" type="string" defaultValue="dan@sartography.com">
|
|
|
|
<camunda:validation>
|
|
|
|
<camunda:constraint name="required" config="true" />
|
|
|
|
</camunda:validation>
|
|
|
|
</camunda:formField>
|
|
|
|
</camunda:formData>
|
|
|
|
</bpmn:extensionElements>
|
|
|
|
<bpmn:incoming>Flow_0scd96e</bpmn:incoming>
|
|
|
|
<bpmn:outgoing>Flow_0c60gne</bpmn:outgoing>
|
|
|
|
</bpmn:userTask>
|
2020-12-09 17:11:46 +00:00
|
|
|
<bpmn:sequenceFlow id="Flow_0c60gne" sourceRef="Activity_EmailForm" targetRef="Activity_SendEmail" />
|
|
|
|
<bpmn:endEvent id="Event_EndEvent">
|
2020-12-06 15:22:32 +00:00
|
|
|
<bpmn:incoming>Flow_19fqvhc</bpmn:incoming>
|
|
|
|
</bpmn:endEvent>
|
2020-12-09 17:11:46 +00:00
|
|
|
<bpmn:sequenceFlow id="Flow_19fqvhc" sourceRef="Activity_SendEmail" targetRef="Event_EndEvent" />
|
|
|
|
<bpmn:scriptTask id="Activity_SendEmail" name="Send Email">
|
2020-12-06 15:22:32 +00:00
|
|
|
<bpmn:documentation>Dear Person,
|
|
|
|
|
|
|
|
|
|
|
|
Thank you for using this email example.
|
|
|
|
I hope this makes sense.
|
|
|
|
|
|
|
|
|
|
|
|
Yours faithfully,
|
|
|
|
|
|
|
|
|
|
|
|
Dan</bpmn:documentation>
|
|
|
|
<bpmn:incoming>Flow_0c60gne</bpmn:incoming>
|
|
|
|
<bpmn:outgoing>Flow_19fqvhc</bpmn:outgoing>
|
2021-03-09 11:50:58 +00:00
|
|
|
<bpmn:script>email(subject='My Email Subject', recipients=email_address)</bpmn:script>
|
2020-12-06 15:22:32 +00:00
|
|
|
</bpmn:scriptTask>
|
|
|
|
</bpmn:process>
|
|
|
|
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
|
|
|
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_fe6205f">
|
2020-12-09 17:11:46 +00:00
|
|
|
<bpmndi:BPMNEdge id="Flow_19fqvhc_di" bpmnElement="Flow_19fqvhc">
|
|
|
|
<di:waypoint x="530" y="117" />
|
|
|
|
<di:waypoint x="592" y="117" />
|
2020-12-06 15:22:32 +00:00
|
|
|
</bpmndi:BPMNEdge>
|
|
|
|
<bpmndi:BPMNEdge id="Flow_0c60gne_di" bpmnElement="Flow_0c60gne">
|
2020-12-09 17:11:46 +00:00
|
|
|
<di:waypoint x="370" y="117" />
|
|
|
|
<di:waypoint x="430" y="117" />
|
2020-12-06 15:22:32 +00:00
|
|
|
</bpmndi:BPMNEdge>
|
2020-12-09 17:11:46 +00:00
|
|
|
<bpmndi:BPMNEdge id="Flow_0scd96e_di" bpmnElement="Flow_0scd96e">
|
|
|
|
<di:waypoint x="215" y="117" />
|
|
|
|
<di:waypoint x="270" y="117" />
|
2020-12-06 15:22:32 +00:00
|
|
|
</bpmndi:BPMNEdge>
|
|
|
|
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
2020-12-09 17:11:46 +00:00
|
|
|
<dc:Bounds x="179" y="99" width="36" height="36" />
|
2020-12-06 15:22:32 +00:00
|
|
|
</bpmndi:BPMNShape>
|
2020-12-09 17:11:46 +00:00
|
|
|
<bpmndi:BPMNShape id="Activity_0wqsfcj_di" bpmnElement="Activity_EmailForm">
|
|
|
|
<dc:Bounds x="270" y="77" width="100" height="80" />
|
2020-12-06 15:22:32 +00:00
|
|
|
</bpmndi:BPMNShape>
|
2020-12-09 17:11:46 +00:00
|
|
|
<bpmndi:BPMNShape id="Event_1wh1xsj_di" bpmnElement="Event_EndEvent">
|
|
|
|
<dc:Bounds x="592" y="99" width="36" height="36" />
|
2020-12-06 15:22:32 +00:00
|
|
|
</bpmndi:BPMNShape>
|
2020-12-09 17:11:46 +00:00
|
|
|
<bpmndi:BPMNShape id="Activity_1ajacra_di" bpmnElement="Activity_SendEmail">
|
|
|
|
<dc:Bounds x="430" y="77" width="100" height="80" />
|
2020-12-06 15:22:32 +00:00
|
|
|
</bpmndi:BPMNShape>
|
|
|
|
</bpmndi:BPMNPlane>
|
|
|
|
</bpmndi:BPMNDiagram>
|
|
|
|
</bpmn:definitions>
|