<?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:modeler="http://camunda.org/schema/modeler/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Web Modeler" exporterVersion="c239e50" modeler:executionPlatform="Camunda Cloud" modeler:executionPlatformVersion="8.8.0">
  <bpmn:collaboration id="Collaboration_0xj058q" name="Credenciar empresas consignatárias">
    <bpmn:participant id="Participant_09aqgka" name="Liberar arquivos das consignações" processRef="Process_scu1fbd" />
  </bpmn:collaboration>
  <bpmn:process id="Process_scu1fbd" name="New BPMN diagram" isExecutable="true">
    <bpmn:laneSet id="LaneSet_1rqzj6t">
      <bpmn:lane id="Lane_08xh5zw" name="SEA/SC">
        <bpmn:flowNodeRef>Activity_0m4q4f5</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Activity_04x292t</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Event_02ah2gx</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Activity_0szw0wo</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Activity_1loh7zs</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Activity_14exkl2</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Gateway_0vbjx71</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Activity_0wy1c1k</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Event_008yk9t</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Activity_0fmo3e8</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Event_11sxm6c</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Event_1d5t83s</bpmn:flowNodeRef>
        <bpmn:childLaneSet id="LaneSet_0nvt08t">
          <bpmn:lane id="Lane_06721sx" name="DGDP">
            <bpmn:flowNodeRef>Activity_0m4q4f5</bpmn:flowNodeRef>
            <bpmn:flowNodeRef>Activity_04x292t</bpmn:flowNodeRef>
            <bpmn:flowNodeRef>Event_02ah2gx</bpmn:flowNodeRef>
            <bpmn:flowNodeRef>Activity_0szw0wo</bpmn:flowNodeRef>
            <bpmn:flowNodeRef>Activity_1loh7zs</bpmn:flowNodeRef>
            <bpmn:flowNodeRef>Activity_14exkl2</bpmn:flowNodeRef>
            <bpmn:flowNodeRef>Gateway_0vbjx71</bpmn:flowNodeRef>
            <bpmn:flowNodeRef>Activity_0wy1c1k</bpmn:flowNodeRef>
            <bpmn:flowNodeRef>Event_008yk9t</bpmn:flowNodeRef>
            <bpmn:flowNodeRef>Activity_0fmo3e8</bpmn:flowNodeRef>
            <bpmn:flowNodeRef>Event_11sxm6c</bpmn:flowNodeRef>
            <bpmn:flowNodeRef>Event_1d5t83s</bpmn:flowNodeRef>
            <bpmn:childLaneSet id="LaneSet_1l0ie8h">
              <bpmn:lane id="Lane_0kzun1a" name="GCONS">
                <bpmn:flowNodeRef>Activity_0m4q4f5</bpmn:flowNodeRef>
                <bpmn:flowNodeRef>Activity_04x292t</bpmn:flowNodeRef>
                <bpmn:flowNodeRef>Event_02ah2gx</bpmn:flowNodeRef>
                <bpmn:flowNodeRef>Activity_0szw0wo</bpmn:flowNodeRef>
                <bpmn:flowNodeRef>Activity_1loh7zs</bpmn:flowNodeRef>
                <bpmn:flowNodeRef>Activity_14exkl2</bpmn:flowNodeRef>
                <bpmn:flowNodeRef>Gateway_0vbjx71</bpmn:flowNodeRef>
                <bpmn:flowNodeRef>Activity_0wy1c1k</bpmn:flowNodeRef>
                <bpmn:flowNodeRef>Event_008yk9t</bpmn:flowNodeRef>
                <bpmn:flowNodeRef>Activity_0fmo3e8</bpmn:flowNodeRef>
                <bpmn:flowNodeRef>Event_11sxm6c</bpmn:flowNodeRef>
                <bpmn:flowNodeRef>Event_1d5t83s</bpmn:flowNodeRef>
              </bpmn:lane>
            </bpmn:childLaneSet>
          </bpmn:lane>
        </bpmn:childLaneSet>
      </bpmn:lane>
    </bpmn:laneSet>
    <bpmn:task id="Activity_0m4q4f5" name="Baixar arquivos de consignações no SIGRH">
      <bpmn:documentation>Data de referência: Dia 12 de cada mês ou dia útil subsequente
Acessar o SIGRH/Menu/Pagamentos/Consignatárias/06 – Gerar arquivo de consignações
Checar o mês de competência (Mês corrente)
Listar
Baixar arquivos

Arquivos de importação referentes a folha de pagamento**</bpmn:documentation>
      <bpmn:incoming>Flow_1mqi8ve</bpmn:incoming>
      <bpmn:outgoing>Flow_1uct5kc</bpmn:outgoing>
    </bpmn:task>
    <bpmn:task id="Activity_04x292t" name="Importar arquivos das  Consignações no SIGRH">
      <bpmn:documentation>Data de referência: Dia 12 de cada mês ou dia útil subsequente
Acessar o SIGRH/Menu/Pagamentos/Consignações/03. Importar Consignações via meio Eletrônico
Novo
Selecionar o mês corrente
Escolher o arquivo baixado na ação anterior, observando o agrupamento: 
AGPE – Poder Executivo
Importar
Conferir resultado

Observação: 
Fazer a etapa também nos seguintes agrupamentos:
PMSC
PENSÕES
DEFENSORIA

Arquivos de importação referentes a folha de pagamento**</bpmn:documentation>
      <bpmn:incoming>Flow_1uct5kc</bpmn:incoming>
      <bpmn:outgoing>Flow_04xxdcu</bpmn:outgoing>
    </bpmn:task>
    <bpmn:intermediateCatchEvent id="Event_02ah2gx" name="Até 5 dias após o processamento da folha">
      <bpmn:incoming>Flow_04xxdcu</bpmn:incoming>
      <bpmn:outgoing>Flow_1usy0fe</bpmn:outgoing>
      <bpmn:timerEventDefinition id="TimerEventDefinition_1cjrj19" />
    </bpmn:intermediateCatchEvent>
    <bpmn:task id="Activity_0szw0wo" name="Conferir geração do arquivo de crédito bancário e empenho">
      <bpmn:documentation>Data de referência: Dia 23 ou 24 de cada mês ou dia útil subsequente
Acessar o SIGRH/Menu/Pagamentos/Produção/01 – Gerar relação/arquivo de crédito bancário e empenho
Selecionar empenho oficial – Sim
Listar
Verificar de no Empenho todos os requisites estão com “Sim”

Observação: 
Fazer a etapa também nos seguintes agrupamentos:
PMSC
PENSÕES
Defensoria</bpmn:documentation>
      <bpmn:incoming>Flow_1usy0fe</bpmn:incoming>
      <bpmn:outgoing>Flow_0axhnhq</bpmn:outgoing>
    </bpmn:task>
    <bpmn:task id="Activity_1loh7zs" name="Gerar arquivo de retorno para o portal da consignatária">
      <bpmn:documentation>Data de referência: Dia 23 ou 24 de cada mês ou dia útil subsequente
Acessar o SIGRH/Menu/Pagamentos/Consignatárias/10 – Gerar arquivo de retorno para o portal da consignatária
Novo
Selecionar o mês corrente
Selecionar todos os agrupamentos para a esquerda
Selecionar um agrupamento por vez para a direita
Gerar
Observação: 
Somente após a finalização de um agrupamento, poderá ser enviado o seguinte.</bpmn:documentation>
      <bpmn:incoming>Flow_0axhnhq</bpmn:incoming>
      <bpmn:outgoing>Flow_0dmrvzi</bpmn:outgoing>
    </bpmn:task>
    <bpmn:task id="Activity_14exkl2" name="Verificar arquivos classificados como interrompidos">
      <bpmn:incoming>Flow_0dmrvzi</bpmn:incoming>
      <bpmn:outgoing>Flow_0290pml</bpmn:outgoing>
    </bpmn:task>
    <bpmn:exclusiveGateway id="Gateway_0vbjx71" default="Flow_04rov2q">
      <bpmn:incoming>Flow_0290pml</bpmn:incoming>
      <bpmn:outgoing>Flow_04rov2q</bpmn:outgoing>
      <bpmn:outgoing>Flow_1htk6dw</bpmn:outgoing>
    </bpmn:exclusiveGateway>
    <bpmn:task id="Activity_0wy1c1k" name="Liberar arquivo de retorno para o portal das consignatarias">
      <bpmn:documentation>Acessar o SIGRH/Menu/Pagamentos/Consignatárias/10 – Gerar arquivo de retorno para o portal da consignatária/listar
Selecionar um dos arquivos enviamos no primeiro lote e clicar em “Liberar para o Portal”. 
Fazer essa ação em cada agrupamento enviado.
Após, fazer essa ação para cada arquivo reenviado. 
Por fim, gerar um arquivo no excel e fazer uma checagem final, se todos os arquivos foram enviados ao Portal.</bpmn:documentation>
      <bpmn:incoming>Flow_04rov2q</bpmn:incoming>
      <bpmn:incoming>Flow_1icbs1y</bpmn:incoming>
      <bpmn:outgoing>Flow_15ahded</bpmn:outgoing>
    </bpmn:task>
    <bpmn:endEvent id="Event_008yk9t" name="Liberados arquivos das consignações">
      <bpmn:incoming>Flow_15ahded</bpmn:incoming>
    </bpmn:endEvent>
    <bpmn:sequenceFlow id="Flow_1mqi8ve" sourceRef="Event_1d5t83s" targetRef="Activity_0m4q4f5" />
    <bpmn:sequenceFlow id="Flow_1uct5kc" sourceRef="Activity_0m4q4f5" targetRef="Activity_04x292t" />
    <bpmn:sequenceFlow id="Flow_04xxdcu" sourceRef="Activity_04x292t" targetRef="Event_02ah2gx" />
    <bpmn:sequenceFlow id="Flow_1usy0fe" sourceRef="Event_02ah2gx" targetRef="Activity_0szw0wo" />
    <bpmn:sequenceFlow id="Flow_0axhnhq" sourceRef="Activity_0szw0wo" targetRef="Activity_1loh7zs" />
    <bpmn:sequenceFlow id="Flow_0dmrvzi" sourceRef="Activity_1loh7zs" targetRef="Activity_14exkl2" />
    <bpmn:sequenceFlow id="Flow_0290pml" sourceRef="Activity_14exkl2" targetRef="Gateway_0vbjx71" />
    <bpmn:sequenceFlow id="Flow_04rov2q" name="Arquivos gerados com sucesso" sourceRef="Gateway_0vbjx71" targetRef="Activity_0wy1c1k" />
    <bpmn:sequenceFlow id="Flow_1htk6dw" name="Arquivo classificado como interrompido" sourceRef="Gateway_0vbjx71" targetRef="Activity_0fmo3e8" />
    <bpmn:sequenceFlow id="Flow_0li4yog" sourceRef="Activity_0fmo3e8" targetRef="Event_11sxm6c" />
    <bpmn:sequenceFlow id="Flow_1icbs1y" sourceRef="Event_11sxm6c" targetRef="Activity_0wy1c1k" />
    <bpmn:sequenceFlow id="Flow_15ahded" sourceRef="Activity_0wy1c1k" targetRef="Event_008yk9t" />
    <bpmn:task id="Activity_0fmo3e8" name="Gerar arquivo das consignatarias que tiverem arquivos interrompidos">
      <bpmn:documentation>Sempre terão arquivos classificados como “interrompido”. Nesse caso, proceder da seguinte forma:
Imprimir o resultado final do envio, em excel
Selecionar os classificados como “interrompido”
Acessar o SIGRH/Menu/Pagamentos/Consignatárias/01. Manter consignatárias
Colocar a sigla no campo “Sigla da consignatária”.
Listar e anotar o nome completo da consignatária para facilitar a localização
Observar o agrupamento e gerar novamente apenas as consignatárias que tiveram arquivos interrompidos, individualmente.
Caso tenha uma mesma consignatária em agrupamentos diferentes, será necessário aguardar a finalização de um agrupamento, para então mandar o próximo.
Demais envios podem ser simultâneos.
Após o processamento de todos os arquivos com status de “Concluído”, proceder para a última etapa.</bpmn:documentation>
      <bpmn:incoming>Flow_1htk6dw</bpmn:incoming>
      <bpmn:outgoing>Flow_0li4yog</bpmn:outgoing>
    </bpmn:task>
    <bpmn:intermediateCatchEvent id="Event_11sxm6c" name="Todos os arquivos gerados">
      <bpmn:incoming>Flow_0li4yog</bpmn:incoming>
      <bpmn:outgoing>Flow_1icbs1y</bpmn:outgoing>
      <bpmn:conditionalEventDefinition id="ConditionalEventDefinition_1bdttbs">
        <bpmn:condition xsi:type="bpmn:tFormalExpression" />
      </bpmn:conditionalEventDefinition>
    </bpmn:intermediateCatchEvent>
    <bpmn:startEvent id="Event_1d5t83s" name="Dia 12 de cada mês ou dia útil subsequente">
      <bpmn:outgoing>Flow_1mqi8ve</bpmn:outgoing>
      <bpmn:timerEventDefinition id="TimerEventDefinition_0ljy11v" />
    </bpmn:startEvent>
  </bpmn:process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_1">
    <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_0xj058q">
      <bpmndi:BPMNShape id="Participant_09aqgka_di" bpmnElement="Participant_09aqgka" isHorizontal="true">
        <dc:Bounds x="160" y="80" width="2350" height="400" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Lane_08xh5zw_di" bpmnElement="Lane_08xh5zw" isHorizontal="true">
        <dc:Bounds x="190" y="80" width="2320" height="400" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Lane_06721sx_di" bpmnElement="Lane_06721sx" isHorizontal="true">
        <dc:Bounds x="220" y="80" width="2290" height="400" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Lane_0kzun1a_di" bpmnElement="Lane_0kzun1a" isHorizontal="true">
        <dc:Bounds x="250" y="80" width="2260" height="400" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_0m4q4f5_di" bpmnElement="Activity_0m4q4f5">
        <dc:Bounds x="490" y="230" width="100" height="80" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_04x292t_di" bpmnElement="Activity_04x292t">
        <dc:Bounds x="690" y="230" width="100" height="80" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Event_1f5nrqx_di" bpmnElement="Event_02ah2gx">
        <dc:Bounds x="902" y="252" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="878" y="295" width="86" height="40" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_0szw0wo_di" bpmnElement="Activity_0szw0wo">
        <dc:Bounds x="1060" y="230" width="100" height="80" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_1loh7zs_di" bpmnElement="Activity_1loh7zs">
        <dc:Bounds x="1270" y="230" width="100" height="80" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_14exkl2_di" bpmnElement="Activity_14exkl2">
        <dc:Bounds x="1500" y="230" width="100" height="80" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Gateway_0vbjx71_di" bpmnElement="Gateway_0vbjx71" isMarkerVisible="true">
        <dc:Bounds x="1705" y="245" width="50" height="50" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_0wy1c1k_di" bpmnElement="Activity_0wy1c1k">
        <dc:Bounds x="2060" y="230" width="100" height="80" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Event_008yk9t_di" bpmnElement="Event_008yk9t">
        <dc:Bounds x="2292" y="252" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="2278" y="295" width="68" height="40" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_0fmo3e8_di" bpmnElement="Activity_0fmo3e8">
        <dc:Bounds x="1880" y="350" width="100" height="80" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Event_100yfwl_di" bpmnElement="Event_11sxm6c">
        <dc:Bounds x="2092" y="372" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="2066" y="415" width="89" height="27" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Event_0oy9tip_di" bpmnElement="Event_1d5t83s">
        <dc:Bounds x="362" y="252" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="345" y="295" width="74" height="53" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="Flow_1mqi8ve_di" bpmnElement="Flow_1mqi8ve">
        <di:waypoint x="398" y="270" />
        <di:waypoint x="490" y="270" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_1uct5kc_di" bpmnElement="Flow_1uct5kc">
        <di:waypoint x="590" y="270" />
        <di:waypoint x="690" y="270" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_04xxdcu_di" bpmnElement="Flow_04xxdcu">
        <di:waypoint x="790" y="270" />
        <di:waypoint x="902" y="270" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_1usy0fe_di" bpmnElement="Flow_1usy0fe">
        <di:waypoint x="938" y="270" />
        <di:waypoint x="1060" y="270" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0axhnhq_di" bpmnElement="Flow_0axhnhq">
        <di:waypoint x="1160" y="270" />
        <di:waypoint x="1270" y="270" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0dmrvzi_di" bpmnElement="Flow_0dmrvzi">
        <di:waypoint x="1370" y="270" />
        <di:waypoint x="1500" y="270" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0290pml_di" bpmnElement="Flow_0290pml">
        <di:waypoint x="1600" y="270" />
        <di:waypoint x="1705" y="270" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_04rov2q_di" bpmnElement="Flow_04rov2q">
        <di:waypoint x="1755" y="270" />
        <di:waypoint x="2060" y="270" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1777" y="253" width="153" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_1htk6dw_di" bpmnElement="Flow_1htk6dw">
        <di:waypoint x="1730" y="295" />
        <di:waypoint x="1730" y="390" />
        <di:waypoint x="1880" y="390" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1756" y="400" width="87" height="40" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0li4yog_di" bpmnElement="Flow_0li4yog">
        <di:waypoint x="1980" y="390" />
        <di:waypoint x="2092" y="390" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_1icbs1y_di" bpmnElement="Flow_1icbs1y">
        <di:waypoint x="2110" y="372" />
        <di:waypoint x="2110" y="310" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_15ahded_di" bpmnElement="Flow_15ahded">
        <di:waypoint x="2160" y="270" />
        <di:waypoint x="2292" y="270" />
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</bpmn:definitions>
