<?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:bioc="http://bpmn.io/schema/bpmn/biocolor/1.0" xmlns:color="http://www.omg.org/spec/BPMN/non-normative/color/1.0" xmlns:modeler="http://camunda.org/schema/modeler/1.0" id="Definitions_1ibu6wa" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="5.8.0" modeler:executionPlatform="Camunda Platform" modeler:executionPlatformVersion="7.18.0">
  <bpmn:collaboration id="Collaboration_0ijs07b">
    <bpmn:participant id="Participant_1plga74" name="C2.N05.M02.PTB0047 - Gerir os dados de classe dos terrenos" processRef="Process_14073y5" />
  </bpmn:collaboration>
  <bpmn:process id="Process_14073y5" isExecutable="true">
    <bpmn:laneSet id="LaneSet_0amtggn">
      <bpmn:lane id="Lane_1t7mj3m" name="SSAP">
        <bpmn:flowNodeRef>Activity_1u7t836</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Activity_0706k3c</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Gateway_06qh1u4</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Activity_0v76ju7</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Gateway_0tb6253</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Event_0oh9e62</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Activity_05b4y8k</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Event_0uh2fzs</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Activity_11i71k8</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Activity_1qr64i7</bpmn:flowNodeRef>
      </bpmn:lane>
      <bpmn:lane id="Lane_18l0zqx" name="CCOI">
        <bpmn:flowNodeRef>Activity_1qv67zh</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Activity_0jst6g2</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Event_0xnqtjw</bpmn:flowNodeRef>
      </bpmn:lane>
    </bpmn:laneSet>
    <bpmn:sequenceFlow id="Flow_124qcyo" name="Há necessidade de acionamento das áreas" sourceRef="Gateway_06qh1u4" targetRef="Activity_1u7t836" />
    <bpmn:sequenceFlow id="Flow_15fo81n" sourceRef="Activity_1u7t836" targetRef="Activity_1qr64i7" />
    <bpmn:sequenceFlow id="Flow_0unx6c3" sourceRef="Activity_0v76ju7" targetRef="Activity_0706k3c" />
    <bpmn:sequenceFlow id="Flow_1dtjzmh" sourceRef="Activity_0706k3c" targetRef="Gateway_06qh1u4" />
    <bpmn:sequenceFlow id="Flow_13wx55l" name="Não há necessidade de acionamento das áreas" sourceRef="Gateway_06qh1u4" targetRef="Activity_1qr64i7" />
    <bpmn:sequenceFlow id="Flow_1fbatdr" sourceRef="Event_0oh9e62" targetRef="Activity_0v76ju7" />
    <bpmn:sequenceFlow id="Flow_0ou2820" name="Não houve mudança na classe do terreno" sourceRef="Gateway_0tb6253" targetRef="Event_0uh2fzs" />
    <bpmn:sequenceFlow id="Flow_0sw328r" sourceRef="Activity_1qr64i7" targetRef="Gateway_0tb6253" />
    <bpmn:sequenceFlow id="Flow_0gnp8jc" name="Houve mudança na classe do terreno" sourceRef="Gateway_0tb6253" targetRef="Activity_05b4y8k" />
    <bpmn:sequenceFlow id="Flow_0razxx1" sourceRef="Activity_05b4y8k" targetRef="Activity_11i71k8" />
    <bpmn:sequenceFlow id="Flow_08f29pa" sourceRef="Activity_11i71k8" targetRef="Activity_1qv67zh" />
    <bpmn:sequenceFlow id="Flow_08b2v2b" sourceRef="Activity_1qv67zh" targetRef="Activity_0jst6g2" />
    <bpmn:sequenceFlow id="Flow_0kx96j6" sourceRef="Activity_0jst6g2" targetRef="Event_0xnqtjw" />
    <bpmn:userTask id="Activity_1u7t836" name="3.Realizar o acionamento das áreas da Caesb para resolução dos problemas">
      <bpmn:incoming>Flow_124qcyo</bpmn:incoming>
      <bpmn:outgoing>Flow_15fo81n</bpmn:outgoing>
      <bpmn:dataOutputAssociation id="DataOutputAssociation_0ab1uf5">
        <bpmn:targetRef>DataStoreReference_17m0wzf</bpmn:targetRef>
      </bpmn:dataOutputAssociation>
    </bpmn:userTask>
    <bpmn:dataStoreReference id="DataStoreReference_17m0wzf" name="ERP - Documentos" />
    <bpmn:manualTask id="Activity_0706k3c" name="2.Verificar a necessidade de acionamento das áreas">
      <bpmn:incoming>Flow_0unx6c3</bpmn:incoming>
      <bpmn:outgoing>Flow_1dtjzmh</bpmn:outgoing>
    </bpmn:manualTask>
    <bpmn:exclusiveGateway id="Gateway_06qh1u4">
      <bpmn:incoming>Flow_1dtjzmh</bpmn:incoming>
      <bpmn:outgoing>Flow_124qcyo</bpmn:outgoing>
      <bpmn:outgoing>Flow_13wx55l</bpmn:outgoing>
    </bpmn:exclusiveGateway>
    <bpmn:manualTask id="Activity_0v76ju7" name="1.Realizar vistoria dos terrenos in loco">
      <bpmn:incoming>Flow_1fbatdr</bpmn:incoming>
      <bpmn:outgoing>Flow_0unx6c3</bpmn:outgoing>
    </bpmn:manualTask>
    <bpmn:exclusiveGateway id="Gateway_0tb6253">
      <bpmn:incoming>Flow_0sw328r</bpmn:incoming>
      <bpmn:outgoing>Flow_0gnp8jc</bpmn:outgoing>
      <bpmn:outgoing>Flow_0ou2820</bpmn:outgoing>
    </bpmn:exclusiveGateway>
    <bpmn:startEvent id="Event_0oh9e62" name="Periodicamente">
      <bpmn:outgoing>Flow_1fbatdr</bpmn:outgoing>
      <bpmn:timerEventDefinition id="TimerEventDefinition_06pipm7" />
    </bpmn:startEvent>
    <bpmn:userTask id="Activity_05b4y8k" name="5.Atualizar classe do terreno">
      <bpmn:incoming>Flow_0gnp8jc</bpmn:incoming>
      <bpmn:outgoing>Flow_0razxx1</bpmn:outgoing>
      <bpmn:dataOutputAssociation id="DataOutputAssociation_127tjry">
        <bpmn:targetRef>DataStoreReference_1di9egg</bpmn:targetRef>
      </bpmn:dataOutputAssociation>
    </bpmn:userTask>
    <bpmn:dataStoreReference id="DataStoreReference_1di9egg" name="ERP – Patrimônio" />
    <bpmn:endEvent id="Event_0uh2fzs" name="Não houve mudança na classe do terreno">
      <bpmn:incoming>Flow_0ou2820</bpmn:incoming>
    </bpmn:endEvent>
    <bpmn:dataStoreReference id="DataStoreReference_0jdnulm" name="ERP - Documentos" />
    <bpmn:userTask id="Activity_11i71k8" name="6.Informar mudanças na classe do terreno">
      <bpmn:incoming>Flow_0razxx1</bpmn:incoming>
      <bpmn:outgoing>Flow_08f29pa</bpmn:outgoing>
      <bpmn:dataOutputAssociation id="DataOutputAssociation_1wx9uf3">
        <bpmn:targetRef>DataStoreReference_0jdnulm</bpmn:targetRef>
      </bpmn:dataOutputAssociation>
    </bpmn:userTask>
    <bpmn:dataStoreReference id="DataStoreReference_0br985f" name="ERP – Contábil" />
    <bpmn:userTask id="Activity_1qv67zh" name="7.Atualizar classe do terreno">
      <bpmn:incoming>Flow_08f29pa</bpmn:incoming>
      <bpmn:outgoing>Flow_08b2v2b</bpmn:outgoing>
      <bpmn:dataOutputAssociation id="DataOutputAssociation_0l1tudx">
        <bpmn:targetRef>DataStoreReference_0br985f</bpmn:targetRef>
      </bpmn:dataOutputAssociation>
    </bpmn:userTask>
    <bpmn:dataStoreReference id="DataStoreReference_0rz7grv" name="ERP – Contábil" />
    <bpmn:userTask id="Activity_0jst6g2" name="8.Realizar mudança de conta contábil">
      <bpmn:incoming>Flow_08b2v2b</bpmn:incoming>
      <bpmn:outgoing>Flow_0kx96j6</bpmn:outgoing>
      <bpmn:dataOutputAssociation id="DataOutputAssociation_1l148ov">
        <bpmn:targetRef>DataStoreReference_0rz7grv</bpmn:targetRef>
      </bpmn:dataOutputAssociation>
    </bpmn:userTask>
    <bpmn:endEvent id="Event_0xnqtjw" name="Classe do terreno atualizada">
      <bpmn:incoming>Flow_0kx96j6</bpmn:incoming>
    </bpmn:endEvent>
    <bpmn:manualTask id="Activity_1qr64i7" name="4.Verificar se houve mudança de classe do terreno">
      <bpmn:incoming>Flow_15fo81n</bpmn:incoming>
      <bpmn:incoming>Flow_13wx55l</bpmn:incoming>
      <bpmn:outgoing>Flow_0sw328r</bpmn:outgoing>
    </bpmn:manualTask>
    <bpmn:textAnnotation id="TextAnnotation_0cms2qi">
      <bpmn:text>esperado anualmente</bpmn:text>
    </bpmn:textAnnotation>
    <bpmn:association id="Association_0rrx01t" sourceRef="Activity_0v76ju7" targetRef="TextAnnotation_0cms2qi" />
  </bpmn:process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_1">
    <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_0ijs07b">
      <bpmndi:BPMNShape id="Participant_1plga74_di" bpmnElement="Participant_1plga74" isHorizontal="true">
        <dc:Bounds x="160" y="80" width="1929" height="730" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Lane_18l0zqx_di" bpmnElement="Lane_18l0zqx" isHorizontal="true">
        <dc:Bounds x="190" y="540" width="1899" height="270" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Lane_1t7mj3m_di" bpmnElement="Lane_1t7mj3m" isHorizontal="true">
        <dc:Bounds x="190" y="80" width="1899" height="460" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_0glqjfb_di" bpmnElement="Activity_1u7t836">
        <dc:Bounds x="811" y="130" width="100" height="80" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_0ztenav" bpmnElement="DataStoreReference_17m0wzf">
        <dc:Bounds x="836" y="235" width="50" height="50" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="827" y="292" width="69" height="27" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_02wqjmb_di" bpmnElement="Activity_0706k3c">
        <dc:Bounds x="521" y="260" width="100" height="80" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Gateway_06qh1u4_di" bpmnElement="Gateway_06qh1u4" isMarkerVisible="true">
        <dc:Bounds x="676" y="275" width="50" height="50" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_0uysnbx_di" bpmnElement="Activity_0v76ju7">
        <dc:Bounds x="371" y="260" width="100" height="80" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Gateway_0tb6253_di" bpmnElement="Gateway_0tb6253" isMarkerVisible="true">
        <dc:Bounds x="1176" y="265" width="50" height="50" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Event_04igs1q_di" bpmnElement="Event_0oh9e62">
        <dc:Bounds x="293" y="282" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="273" y="325" width="77" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_19klz49" bpmnElement="Activity_05b4y8k" bioc:stroke="#6b3c00" bioc:fill="#ffe0b2" color:background-color="#ffe0b2" color:border-color="#6b3c00">
        <dc:Bounds x="1300" y="340" width="100" height="80" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_12m5vgm" bpmnElement="DataStoreReference_1di9egg">
        <dc:Bounds x="1325" y="445" width="50" height="50" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1307" y="502" width="88" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Event_0uh2fzs_di" bpmnElement="Event_0uh2fzs">
        <dc:Bounds x="1332" y="112" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1308" y="155" width="85" height="40" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_1mw2hwj" bpmnElement="DataStoreReference_0jdnulm">
        <dc:Bounds x="1475" y="445" width="50" height="50" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1466" y="502" width="69" height="27" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_1yjulur_di" bpmnElement="Activity_11i71k8">
        <dc:Bounds x="1450" y="340" width="100" height="80" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="DataStoreReference_0br985f_di" bpmnElement="DataStoreReference_0br985f">
        <dc:Bounds x="1695" y="685" width="50" height="50" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1682" y="742" width="76" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_1db9a7a_di" bpmnElement="Activity_1qv67zh" bioc:stroke="#6b3c00" bioc:fill="#ffe0b2" color:background-color="#ffe0b2" color:border-color="#6b3c00">
        <dc:Bounds x="1670" y="580" width="100" height="80" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="DataStoreReference_0rz7grv_di" bpmnElement="DataStoreReference_0rz7grv">
        <dc:Bounds x="1875" y="685" width="50" height="50" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1862" y="742" width="76" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_1qmntny_di" bpmnElement="Activity_0jst6g2" bioc:stroke="#6b3c00" bioc:fill="#ffe0b2" color:background-color="#ffe0b2" color:border-color="#6b3c00">
        <dc:Bounds x="1840" y="580" width="100" height="80" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Event_0xnqtjw_di" bpmnElement="Event_0xnqtjw">
        <dc:Bounds x="2002" y="602" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1976" y="645" width="88" height="27" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_0q8vadk_di" bpmnElement="Activity_1qr64i7">
        <dc:Bounds x="1051" y="250" width="100" height="80" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="TextAnnotation_0cms2qi_di" bpmnElement="TextAnnotation_0cms2qi">
        <dc:Bounds x="400" y="190" width="100" height="41" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="Flow_124qcyo_di" bpmnElement="Flow_124qcyo">
        <di:waypoint x="701" y="275" />
        <di:waypoint x="701" y="170" />
        <di:waypoint x="811" y="170" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="711" y="120" width="80" height="40" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_15fo81n_di" bpmnElement="Flow_15fo81n">
        <di:waypoint x="911" y="170" />
        <di:waypoint x="961" y="170" />
        <di:waypoint x="961" y="280" />
        <di:waypoint x="1051" y="280" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0unx6c3_di" bpmnElement="Flow_0unx6c3">
        <di:waypoint x="471" y="300" />
        <di:waypoint x="521" y="300" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_1dtjzmh_di" bpmnElement="Flow_1dtjzmh">
        <di:waypoint x="621" y="300" />
        <di:waypoint x="676" y="300" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_13wx55l_di" bpmnElement="Flow_13wx55l">
        <di:waypoint x="701" y="325" />
        <di:waypoint x="701" y="390" />
        <di:waypoint x="961" y="390" />
        <di:waypoint x="961" y="290" />
        <di:waypoint x="1051" y="290" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="728" y="323" width="85" height="53" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_1fbatdr_di" bpmnElement="Flow_1fbatdr">
        <di:waypoint x="329" y="300" />
        <di:waypoint x="371" y="300" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0ou2820_di" bpmnElement="Flow_0ou2820">
        <di:waypoint x="1201" y="265" />
        <di:waypoint x="1201" y="130" />
        <di:waypoint x="1332" y="130" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1208" y="136" width="85" height="40" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0sw328r_di" bpmnElement="Flow_0sw328r">
        <di:waypoint x="1151" y="290" />
        <di:waypoint x="1176" y="290" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0gnp8jc_di" bpmnElement="Flow_0gnp8jc">
        <di:waypoint x="1201" y="315" />
        <di:waypoint x="1201" y="380" />
        <di:waypoint x="1300" y="380" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1209" y="340" width="81" height="40" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0razxx1_di" bpmnElement="Flow_0razxx1">
        <di:waypoint x="1400" y="380" />
        <di:waypoint x="1450" y="380" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_08f29pa_di" bpmnElement="Flow_08f29pa">
        <di:waypoint x="1550" y="380" />
        <di:waypoint x="1590" y="380" />
        <di:waypoint x="1590" y="620" />
        <di:waypoint x="1670" y="620" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_08b2v2b_di" bpmnElement="Flow_08b2v2b">
        <di:waypoint x="1770" y="620" />
        <di:waypoint x="1840" y="620" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0kx96j6_di" bpmnElement="Flow_0kx96j6">
        <di:waypoint x="1940" y="620" />
        <di:waypoint x="2002" y="620" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Association_0rrx01t_di" bpmnElement="Association_0rrx01t">
        <di:waypoint x="433" y="260" />
        <di:waypoint x="442" y="231" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="DataOutputAssociation_0ab1uf5_di" bpmnElement="DataOutputAssociation_0ab1uf5">
        <di:waypoint x="861" y="210" />
        <di:waypoint x="861" y="235" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="DataOutputAssociation_127tjry_di" bpmnElement="DataOutputAssociation_127tjry">
        <di:waypoint x="1350" y="420" />
        <di:waypoint x="1350" y="445" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="DataOutputAssociation_1wx9uf3_di" bpmnElement="DataOutputAssociation_1wx9uf3">
        <di:waypoint x="1498" y="420" />
        <di:waypoint x="1496" y="445" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="DataOutputAssociation_0l1tudx_di" bpmnElement="DataOutputAssociation_0l1tudx">
        <di:waypoint x="1720" y="660" />
        <di:waypoint x="1720" y="685" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="DataOutputAssociation_1l148ov_di" bpmnElement="DataOutputAssociation_1l148ov">
        <di:waypoint x="1895" y="660" />
        <di:waypoint x="1898" y="685" />
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</bpmn:definitions>
