<?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:bioc="http://bpmn.io/schema/bpmn/biocolor/1.0" xmlns:color="http://www.omg.org/spec/BPMN/non-normative/color/1.0" id="Definitions_0b1qr8r" targetNamespace="http://bpmn.io/schema/bpmn">
  <bpmn:process id="Process_c1f46ce16fa04e1085c86dd3abd3340f" name="JG-Module1-Automate Data Entry into Legacy App" isExecutable="true">
    <bpmn:startEvent id="StartEvent_dCQBW2mDj2">
      <bpmn:outgoing>SequenceFlow_1mhml87</bpmn:outgoing>
    </bpmn:startEvent>
    <bpmn:sequenceFlow id="SequenceFlow_1mhml87" sourceRef="StartEvent_dCQBW2mDj2" targetRef="ServiceTask_vHQpNDZ8c1" />
    <bpmn:serviceTask id="ServiceTask_vHQpNDZ8c1" name="Check Email" camunda:class="de.servicetrace.rpa.camunda.servicetask.AsynchronousServiceTask">
      <bpmn:incoming>SequenceFlow_1mhml87</bpmn:incoming>
      <bpmn:outgoing>Flow_0g3ov3g</bpmn:outgoing>
    </bpmn:serviceTask>
    <bpmn:exclusiveGateway id="Gateway_0h6ki8e" default="Flow_0cmnjk6">
      <bpmn:incoming>Flow_0g3ov3g</bpmn:incoming>
      <bpmn:outgoing>Flow_08n7zgo</bpmn:outgoing>
      <bpmn:outgoing>Flow_0cmnjk6</bpmn:outgoing>
    </bpmn:exclusiveGateway>
    <bpmn:sequenceFlow id="Flow_0g3ov3g" sourceRef="ServiceTask_vHQpNDZ8c1" targetRef="Gateway_0h6ki8e" />
    <bpmn:endEvent id="Event_01wrkhx">
      <bpmn:incoming>Flow_08n7zgo</bpmn:incoming>
    </bpmn:endEvent>
    <bpmn:sequenceFlow id="Flow_08n7zgo" name="NO" sourceRef="Gateway_0h6ki8e" targetRef="Event_01wrkhx">
      <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">${(newMailAvailable==true)}</bpmn:conditionExpression>
    </bpmn:sequenceFlow>
    <bpmn:serviceTask id="ServiceTask_VoevXulO5D" name="Extract Data" camunda:class="de.servicetrace.rpa.camunda.servicetask.AsynchronousServiceTask">
      <bpmn:incoming>Flow_0cmnjk6</bpmn:incoming>
      <bpmn:outgoing>Flow_1qrl2an</bpmn:outgoing>
    </bpmn:serviceTask>
    <bpmn:sequenceFlow id="Flow_1qrl2an" sourceRef="ServiceTask_VoevXulO5D" targetRef="ServiceTask_TKNUk0gA4Y" />
    <bpmn:serviceTask id="ServiceTask_TKNUk0gA4Y" name="Insert Data in the system" camunda:class="de.servicetrace.rpa.camunda.servicetask.AsynchronousServiceTask">
      <bpmn:incoming>Flow_1qrl2an</bpmn:incoming>
      <bpmn:outgoing>Flow_1id5n7i</bpmn:outgoing>
    </bpmn:serviceTask>
    <bpmn:sequenceFlow id="Flow_0cmnjk6" name="YES" sourceRef="Gateway_0h6ki8e" targetRef="ServiceTask_VoevXulO5D" />
    <bpmn:endEvent id="Event_1qakeld">
      <bpmn:incoming>Flow_1id5n7i</bpmn:incoming>
    </bpmn:endEvent>
    <bpmn:sequenceFlow id="Flow_1id5n7i" sourceRef="ServiceTask_TKNUk0gA4Y" targetRef="Event_1qakeld" />
    <bpmn:textAnnotation id="TextAnnotation_1nk090z">
      <bpmn:text>New Mail Available?</bpmn:text>
    </bpmn:textAnnotation>
    <bpmn:association id="Association_1436gz3" sourceRef="Gateway_0h6ki8e" targetRef="TextAnnotation_1nk090z" />
  </bpmn:process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_1">
    <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_c1f46ce16fa04e1085c86dd3abd3340f">
      <bpmndi:BPMNShape id="TRIGGER" bpmnElement="StartEvent_dCQBW2mDj2">
        <dc:Bounds x="173" y="102" width="36" height="36" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="TASK" bpmnElement="ServiceTask_vHQpNDZ8c1" bioc:stroke="#1e88e5" bioc:fill="#bbdefb" color:background-color="#bbdefb" color:border-color="#1e88e5">
        <dc:Bounds x="259" y="80" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Gateway_0h6ki8e_di" bpmnElement="Gateway_0h6ki8e" isMarkerVisible="true">
        <dc:Bounds x="435" y="95" width="50" height="50" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Event_01wrkhx_di" bpmnElement="Event_01wrkhx">
        <dc:Bounds x="442" y="212" width="36" height="36" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="ServiceTask_VoevXulO5D_di" bpmnElement="ServiceTask_VoevXulO5D" bioc:stroke="#1e88e5" bioc:fill="#bbdefb" color:background-color="#bbdefb" color:border-color="#1e88e5">
        <dc:Bounds x="590" y="80" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="ServiceTask_TKNUk0gA4Y_di" bpmnElement="ServiceTask_TKNUk0gA4Y" bioc:stroke="#1e88e5" bioc:fill="#bbdefb" color:background-color="#bbdefb" color:border-color="#1e88e5">
        <dc:Bounds x="810" y="80" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Event_1qakeld_di" bpmnElement="Event_1qakeld">
        <dc:Bounds x="1032" y="102" width="36" height="36" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="TextAnnotation_1nk090z_di" bpmnElement="TextAnnotation_1nk090z">
        <dc:Bounds x="410" y="40" width="100" height="41" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="SequenceFlow_1mhml87_di" bpmnElement="SequenceFlow_1mhml87">
        <di:waypoint x="209" y="120" />
        <di:waypoint x="259" y="120" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0g3ov3g_di" bpmnElement="Flow_0g3ov3g">
        <di:waypoint x="359" y="120" />
        <di:waypoint x="435" y="120" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_08n7zgo_di" bpmnElement="Flow_08n7zgo">
        <di:waypoint x="460" y="145" />
        <di:waypoint x="460" y="212" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="467" y="157" width="17" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_1qrl2an_di" bpmnElement="Flow_1qrl2an">
        <di:waypoint x="690" y="120" />
        <di:waypoint x="810" y="120" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0cmnjk6_di" bpmnElement="Flow_0cmnjk6">
        <di:waypoint x="485" y="120" />
        <di:waypoint x="590" y="120" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="527" y="102" width="22" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_1id5n7i_di" bpmnElement="Flow_1id5n7i">
        <di:waypoint x="910" y="120" />
        <di:waypoint x="1032" y="120" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Association_1436gz3_di" bpmnElement="Association_1436gz3">
        <di:waypoint x="459" y="96" />
        <di:waypoint x="460" y="81" />
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</bpmn:definitions>