<?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" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn">
  <bpmn:collaboration id="Collaboration_1v4efx6">
    <bpmn:participant id="Participant_0twg7x0" processRef="Process_1" />
  </bpmn:collaboration>
  <bpmn:process id="Process_1" isExecutable="false">
    <bpmn:laneSet>
      <bpmn:lane id="Lane_1y4pr0b" name="Usuário">
        <bpmn:flowNodeRef>StartEvent_1</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Task_0fqa2p8</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Task_0ljl2k2</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>EndEvent_1fu7zgo</bpmn:flowNodeRef>
      </bpmn:lane>
      <bpmn:lane id="Lane_196bkqa" name="Webservice">
        <bpmn:flowNodeRef>Task_0rs7ymn</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Task_0fzhcmv</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>SubProcess_0f8o2gt</bpmn:flowNodeRef>
      </bpmn:lane>
    </bpmn:laneSet>
    <bpmn:startEvent id="StartEvent_1">
      <bpmn:outgoing>SequenceFlow_0wkluxj</bpmn:outgoing>
    </bpmn:startEvent>
    <bpmn:userTask id="Task_0fqa2p8" name="Enviar Planilha">
      <bpmn:incoming>SequenceFlow_0wkluxj</bpmn:incoming>
      <bpmn:outgoing>SequenceFlow_0quxg3d</bpmn:outgoing>
    </bpmn:userTask>
    <bpmn:sequenceFlow id="SequenceFlow_0wkluxj" sourceRef="StartEvent_1" targetRef="Task_0fqa2p8" />
    <bpmn:sequenceFlow id="SequenceFlow_0quxg3d" sourceRef="Task_0fqa2p8" targetRef="Task_0rs7ymn" />
    <bpmn:sequenceFlow id="SequenceFlow_1czitn1" sourceRef="Task_0rs7ymn" targetRef="SubProcess_0f8o2gt" />
    <bpmn:subProcess id="SubProcess_0f8o2gt" name="Para cada dado">
      <bpmn:incoming>SequenceFlow_1czitn1</bpmn:incoming>
      <bpmn:outgoing>SequenceFlow_108m7f5</bpmn:outgoing>
      <bpmn:startEvent id="StartEvent_18vhxxn">
        <bpmn:outgoing>SequenceFlow_0ynrogu</bpmn:outgoing>
      </bpmn:startEvent>
      <bpmn:exclusiveGateway id="ExclusiveGateway_1awpesc" name="Aluno já cadastrado?">
        <bpmn:incoming>SequenceFlow_0ynrogu</bpmn:incoming>
        <bpmn:outgoing>SequenceFlow_0g18aqw</bpmn:outgoing>
        <bpmn:outgoing>SequenceFlow_00osvd9</bpmn:outgoing>
      </bpmn:exclusiveGateway>
      <bpmn:sequenceFlow id="SequenceFlow_0ynrogu" sourceRef="StartEvent_18vhxxn" targetRef="ExclusiveGateway_1awpesc" />
      <bpmn:task id="Task_1nsiy9g" name="Gerar login">
        <bpmn:incoming>SequenceFlow_0g18aqw</bpmn:incoming>
        <bpmn:incoming>SequenceFlow_13mhqai</bpmn:incoming>
        <bpmn:outgoing>SequenceFlow_13yjdk2</bpmn:outgoing>
      </bpmn:task>
      <bpmn:sequenceFlow id="SequenceFlow_0g18aqw" name="Não" sourceRef="ExclusiveGateway_1awpesc" targetRef="Task_1nsiy9g" />
      <bpmn:exclusiveGateway id="ExclusiveGateway_0jrr2xd" name="Login já existe?">
        <bpmn:incoming>SequenceFlow_13yjdk2</bpmn:incoming>
        <bpmn:outgoing>SequenceFlow_13mhqai</bpmn:outgoing>
        <bpmn:outgoing>SequenceFlow_0ic3qbs</bpmn:outgoing>
      </bpmn:exclusiveGateway>
      <bpmn:sequenceFlow id="SequenceFlow_13yjdk2" sourceRef="Task_1nsiy9g" targetRef="ExclusiveGateway_0jrr2xd" />
      <bpmn:sequenceFlow id="SequenceFlow_13mhqai" name="Sim +1" sourceRef="ExclusiveGateway_0jrr2xd" targetRef="Task_1nsiy9g" />
      <bpmn:endEvent id="EndEvent_1g8w0gx">
        <bpmn:incoming>SequenceFlow_00osvd9</bpmn:incoming>
        <bpmn:incoming>SequenceFlow_1x4sy19</bpmn:incoming>
      </bpmn:endEvent>
      <bpmn:sequenceFlow id="SequenceFlow_00osvd9" name="Sim" sourceRef="ExclusiveGateway_1awpesc" targetRef="EndEvent_1g8w0gx" />
      <bpmn:task id="Task_0aom0gp" name="Cadastra nova conta na base local">
        <bpmn:incoming>SequenceFlow_0ic3qbs</bpmn:incoming>
        <bpmn:outgoing>SequenceFlow_1x4sy19</bpmn:outgoing>
        <bpmn:dataOutputAssociation id="DataOutputAssociation_17686xj">
          <bpmn:targetRef>DataStoreReference_1rqp0uy</bpmn:targetRef>
        </bpmn:dataOutputAssociation>
      </bpmn:task>
      <bpmn:sequenceFlow id="SequenceFlow_0ic3qbs" name="Não" sourceRef="ExclusiveGateway_0jrr2xd" targetRef="Task_0aom0gp" />
      <bpmn:sequenceFlow id="SequenceFlow_1x4sy19" sourceRef="Task_0aom0gp" targetRef="EndEvent_1g8w0gx" />
    </bpmn:subProcess>
    <bpmn:sequenceFlow id="SequenceFlow_108m7f5" sourceRef="SubProcess_0f8o2gt" targetRef="Task_0fzhcmv" />
    <bpmn:serviceTask id="Task_0rs7ymn" name="Extrair Dados">
      <bpmn:incoming>SequenceFlow_0quxg3d</bpmn:incoming>
      <bpmn:outgoing>SequenceFlow_1czitn1</bpmn:outgoing>
    </bpmn:serviceTask>
    <bpmn:dataStoreReference id="DataStoreReference_1rqp0uy" />
    <bpmn:scriptTask id="Task_0fzhcmv" name="Exporta Planilha">
      <bpmn:incoming>SequenceFlow_108m7f5</bpmn:incoming>
      <bpmn:outgoing>SequenceFlow_1ps8bpy</bpmn:outgoing>
      <bpmn:dataOutputAssociation id="DataOutputAssociation_0qssvam">
        <bpmn:targetRef>DataStoreReference_1rqp0uy</bpmn:targetRef>
      </bpmn:dataOutputAssociation>
    </bpmn:scriptTask>
    <bpmn:task id="Task_0ljl2k2" name="Baixar Planilha">
      <bpmn:incoming>SequenceFlow_1ps8bpy</bpmn:incoming>
      <bpmn:outgoing>SequenceFlow_18pbba8</bpmn:outgoing>
    </bpmn:task>
    <bpmn:sequenceFlow id="SequenceFlow_1ps8bpy" sourceRef="Task_0fzhcmv" targetRef="Task_0ljl2k2" />
    <bpmn:endEvent id="EndEvent_1fu7zgo">
      <bpmn:incoming>SequenceFlow_18pbba8</bpmn:incoming>
    </bpmn:endEvent>
    <bpmn:sequenceFlow id="SequenceFlow_18pbba8" sourceRef="Task_0ljl2k2" targetRef="EndEvent_1fu7zgo" />
    <bpmn:textAnnotation id="TextAnnotation_0fsa384">    <bpmn:text>Formato Google (a confirmar)</bpmn:text>
</bpmn:textAnnotation>
    <bpmn:association id="Association_0ntd6k9" sourceRef="Task_0fzhcmv" targetRef="TextAnnotation_0fsa384" />
    <bpmn:textAnnotation id="TextAnnotation_1dvili4">    <bpmn:text>Formato: Nome | Identificador</bpmn:text>
</bpmn:textAnnotation>
    <bpmn:association id="Association_0wp4z7h" sourceRef="Task_0fqa2p8" targetRef="TextAnnotation_1dvili4" />
  </bpmn:process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_1">
    <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_1v4efx6">
      <bpmndi:BPMNShape id="StartEvent_18vhxxn_di" bpmnElement="StartEvent_18vhxxn">
        <dc:Bounds x="653" y="283" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="671" y="323" width="0" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="ExclusiveGateway_1awpesc_di" bpmnElement="ExclusiveGateway_1awpesc" isMarkerVisible="true">
        <dc:Bounds x="646" y="355" width="50" height="50" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="641" y="409" width="61" height="24" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="SequenceFlow_0ynrogu_di" bpmnElement="SequenceFlow_0ynrogu">
        <di:waypoint xsi:type="dc:Point" x="671" y="319" />
        <di:waypoint xsi:type="dc:Point" x="671" y="355" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="686" y="331" width="0" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="Task_1nsiy9g_di" bpmnElement="Task_1nsiy9g">
        <dc:Bounds x="739" y="304" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="SequenceFlow_0g18aqw_di" bpmnElement="SequenceFlow_0g18aqw">
        <di:waypoint xsi:type="dc:Point" x="696" y="380" />
        <di:waypoint xsi:type="dc:Point" x="718" y="380" />
        <di:waypoint xsi:type="dc:Point" x="718" y="344" />
        <di:waypoint xsi:type="dc:Point" x="739" y="344" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="697" y="350" width="20" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="Participant_0twg7x0_di" bpmnElement="Participant_0twg7x0">
        <dc:Bounds x="369" y="98" width="1089" height="481" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
        <dc:Bounds x="478" y="140" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="451" y="176" width="90" height="20" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="UserTask_12lwpni_di" bpmnElement="Task_0fqa2p8">
        <dc:Bounds x="601" y="118" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="SubProcess_0f8o2gt_di" bpmnElement="SubProcess_0f8o2gt" isExpanded="true">
        <dc:Bounds x="615" y="260" width="475" height="299" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="SequenceFlow_0wkluxj_di" bpmnElement="SequenceFlow_0wkluxj">
        <di:waypoint xsi:type="dc:Point" x="514" y="158" />
        <di:waypoint xsi:type="dc:Point" x="601" y="158" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="557.5" y="137" width="0" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_0quxg3d_di" bpmnElement="SequenceFlow_0quxg3d">
        <di:waypoint xsi:type="dc:Point" x="640" y="198" />
        <di:waypoint xsi:type="dc:Point" x="640" y="233" />
        <di:waypoint xsi:type="dc:Point" x="496" y="233" />
        <di:waypoint xsi:type="dc:Point" x="496" y="265" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="568" y="212" width="0" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_1czitn1_di" bpmnElement="SequenceFlow_1czitn1">
        <di:waypoint xsi:type="dc:Point" x="546" y="305" />
        <di:waypoint xsi:type="dc:Point" x="591" y="305" />
        <di:waypoint xsi:type="dc:Point" x="591" y="410" />
        <di:waypoint xsi:type="dc:Point" x="615" y="410" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="606" y="351.5" width="0" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="Lane_1y4pr0b_di" bpmnElement="Lane_1y4pr0b">
        <dc:Bounds x="399" y="98" width="1059" height="122" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Lane_196bkqa_di" bpmnElement="Lane_196bkqa">
        <dc:Bounds x="399" y="220" width="1059" height="359" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="ExclusiveGateway_0jrr2xd_di" bpmnElement="ExclusiveGateway_0jrr2xd" isMarkerVisible="true">
        <dc:Bounds x="891" y="319" width="50" height="50" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="878" y="295" width="75" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="SequenceFlow_13yjdk2_di" bpmnElement="SequenceFlow_13yjdk2">
        <di:waypoint xsi:type="dc:Point" x="839" y="344" />
        <di:waypoint xsi:type="dc:Point" x="891" y="344" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="865" y="323" width="0" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_13mhqai_di" bpmnElement="SequenceFlow_13mhqai">
        <di:waypoint xsi:type="dc:Point" x="916" y="369" />
        <di:waypoint xsi:type="dc:Point" x="916" y="414" />
        <di:waypoint xsi:type="dc:Point" x="789" y="414" />
        <di:waypoint xsi:type="dc:Point" x="789" y="384" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="837" y="393" width="33" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="EndEvent_1g8w0gx_di" bpmnElement="EndEvent_1g8w0gx">
        <dc:Bounds x="1002" y="462" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1020" y="502" width="0" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="SequenceFlow_00osvd9_di" bpmnElement="SequenceFlow_00osvd9">
        <di:waypoint xsi:type="dc:Point" x="671" y="405" />
        <di:waypoint xsi:type="dc:Point" x="671" y="480" />
        <di:waypoint xsi:type="dc:Point" x="1002" y="480" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="837" y="459" width="18" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="Task_0aom0gp_di" bpmnElement="Task_0aom0gp">
        <dc:Bounds x="970" y="304" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="SequenceFlow_0ic3qbs_di" bpmnElement="SequenceFlow_0ic3qbs">
        <di:waypoint xsi:type="dc:Point" x="941" y="344" />
        <di:waypoint xsi:type="dc:Point" x="970" y="344" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="946" y="323" width="20" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="DataStoreReference_1rqp0uy_di" bpmnElement="DataStoreReference_1rqp0uy">
        <dc:Bounds x="1170" y="242" width="50" height="50" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1195" y="296" width="0" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="DataOutputAssociation_17686xj_di" bpmnElement="DataOutputAssociation_17686xj">
        <di:waypoint xsi:type="dc:Point" x="1070" y="319" />
        <di:waypoint xsi:type="dc:Point" x="1170" y="269" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_1x4sy19_di" bpmnElement="SequenceFlow_1x4sy19">
        <di:waypoint xsi:type="dc:Point" x="1020" y="384" />
        <di:waypoint xsi:type="dc:Point" x="1020" y="423" />
        <di:waypoint xsi:type="dc:Point" x="1020" y="423" />
        <di:waypoint xsi:type="dc:Point" x="1020" y="462" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1035" y="417" width="0" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_108m7f5_di" bpmnElement="SequenceFlow_108m7f5">
        <di:waypoint xsi:type="dc:Point" x="1090" y="410" />
        <di:waypoint xsi:type="dc:Point" x="1119" y="410" />
        <di:waypoint xsi:type="dc:Point" x="1119" y="410" />
        <di:waypoint xsi:type="dc:Point" x="1145" y="410" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1134" y="404" width="0" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="ScriptTask_1o4s49f_di" bpmnElement="Task_0fzhcmv">
        <dc:Bounds x="1145" y="370" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="ServiceTask_0i7q5b4_di" bpmnElement="Task_0rs7ymn">
        <dc:Bounds x="446" y="265" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="DataOutputAssociation_0qssvam_di" bpmnElement="DataOutputAssociation_0qssvam">
        <di:waypoint xsi:type="dc:Point" x="1196" y="370" />
        <di:waypoint xsi:type="dc:Point" x="1196" y="292" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="Task_0ljl2k2_di" bpmnElement="Task_0ljl2k2">
        <dc:Bounds x="1242" y="118" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="SequenceFlow_1ps8bpy_di" bpmnElement="SequenceFlow_1ps8bpy">
        <di:waypoint xsi:type="dc:Point" x="1245" y="410" />
        <di:waypoint xsi:type="dc:Point" x="1292" y="410" />
        <di:waypoint xsi:type="dc:Point" x="1292" y="198" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1268.5" y="389" width="0" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="EndEvent_1fu7zgo_di" bpmnElement="EndEvent_1fu7zgo">
        <dc:Bounds x="1380" y="140" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1398" y="180" width="0" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="SequenceFlow_18pbba8_di" bpmnElement="SequenceFlow_18pbba8">
        <di:waypoint xsi:type="dc:Point" x="1342" y="158" />
        <di:waypoint xsi:type="dc:Point" x="1380" y="158" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1361" y="137" width="0" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="TextAnnotation_0fsa384_di" bpmnElement="TextAnnotation_0fsa384">
        <dc:Bounds x="1230" y="478" width="100" height="42" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="Association_0ntd6k9_di" bpmnElement="Association_0ntd6k9">
        <di:waypoint xsi:type="dc:Point" x="1233" y="450" />
        <di:waypoint xsi:type="dc:Point" x="1260" y="478" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="TextAnnotation_1dvili4_di" bpmnElement="TextAnnotation_1dvili4">
        <dc:Bounds x="742" y="143" width="175" height="31" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="Association_0wp4z7h_di" bpmnElement="Association_0wp4z7h">
        <di:waypoint xsi:type="dc:Point" x="701" y="158" />
        <di:waypoint xsi:type="dc:Point" x="742" y="159" />
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</bpmn:definitions>
