<?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:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:color="http://www.omg.org/spec/BPMN/non-normative/color/1.0" xmlns:bioc="http://bpmn.io/schema/bpmn/biocolor/1.0" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Web Modeler" exporterVersion="e24511c" modeler:executionPlatform="Camunda Cloud" modeler:executionPlatformVersion="8.8.0">
  <bpmn:collaboration id="Collaboration_101jgs5" name="Gerenciar vagas em serviço de acolhimento institucional regionalizado para mulheres vítimas de violência - Edital SAS nº 01/2025">
    <bpmn:participant id="Participant_0s3d1cf" name="Gerenciar vagas em serviço de acolhimento regionalizado para mulheres vítimas de violência" processRef="Process_0gdgn5t" />
    <bpmn:participant id="Participant_14ovs00" name="Entidade responsável pelo serviço de acolhimento institucional regionalizado" processRef="Process_1c1c8rx" />
    <bpmn:participant id="Participant_0am9ftd" name="Equipe de referência PSE ou CREAS" processRef="Process_13yxcc2" />
    <bpmn:messageFlow id="Flow_0aoqjj3" sourceRef="Event_0pdh1fd" targetRef="Participant_14ovs00" />
    <bpmn:messageFlow id="Flow_1i79ief" sourceRef="Event_0pdh1fd" targetRef="Participant_0am9ftd" />
    <bpmn:messageFlow id="Flow_1f5vvdl" sourceRef="Participant_14ovs00" targetRef="Event_0ltjyx6" />
    <bpmn:messageFlow id="Flow_0zi3n9f" sourceRef="Participant_0am9ftd" targetRef="Event_1rk97ye" />
    <bpmn:messageFlow id="Flow_0j1sl3w" sourceRef="Participant_0am9ftd" targetRef="Event_1v8corw" />
    <bpmn:textAnnotation id="TextAnnotation_03zhobz">
      <bpmn:text>Ajustar a saída ao nome do processo</bpmn:text>
    </bpmn:textAnnotation>
    <bpmn:association id="Association_05818g7" associationDirection="None" sourceRef="Event_12zahjl" targetRef="TextAnnotation_03zhobz" />
  </bpmn:collaboration>
  <bpmn:process id="Process_0gdgn5t" name="Realizar a gestão de vagas de serviço de acolhimento para mulheres vítimas de violência - Edital nº xxx" isExecutable="true">
    <bpmn:task id="Activity_003w84x" name="Enviar autorização de vaga para a PSE e para a entidade">
      <bpmn:incoming>Flow_1c3pygr</bpmn:incoming>
      <bpmn:outgoing>Flow_15zjvou</bpmn:outgoing>
    </bpmn:task>
    <bpmn:task id="Activity_1saeqx2" name="Emitir autorização de acolhimento">
      <bpmn:incoming>Flow_1dpevrs</bpmn:incoming>
      <bpmn:outgoing>Flow_1c3pygr</bpmn:outgoing>
    </bpmn:task>
    <bpmn:endEvent id="Event_1pugfqh" name="Vaga indisponível">
      <bpmn:incoming>Flow_0274tbz</bpmn:incoming>
    </bpmn:endEvent>
    <bpmn:task id="Activity_0mtphjf" name="Realizar registro da solicitação em controle interno">
      <bpmn:incoming>Flow_0k8br6n</bpmn:incoming>
      <bpmn:outgoing>Flow_0274tbz</bpmn:outgoing>
    </bpmn:task>
    <bpmn:task id="Activity_0ktyxws" name="Comunicar a negativa de vaga ao município solicitante">
      <bpmn:incoming>Flow_0dgb99b</bpmn:incoming>
      <bpmn:outgoing>Flow_0k8br6n</bpmn:outgoing>
    </bpmn:task>
    <bpmn:task id="Activity_0lszlsv" name="Realizar registro de solicitação de  vaga no controle interno">
      <bpmn:incoming>Flow_0gxiijt</bpmn:incoming>
      <bpmn:outgoing>Flow_1dpevrs</bpmn:outgoing>
    </bpmn:task>
    <bpmn:exclusiveGateway id="Gateway_1xxysey" default="Flow_12ojfss">
      <bpmn:incoming>Flow_08xntjj</bpmn:incoming>
      <bpmn:outgoing>Flow_12ojfss</bpmn:outgoing>
      <bpmn:outgoing>Flow_0dgb99b</bpmn:outgoing>
    </bpmn:exclusiveGateway>
    <bpmn:task id="Activity_0z8yc2u" name="Confirmar com a PSE os dados do acolhimento">
      <bpmn:incoming>Flow_12ojfss</bpmn:incoming>
      <bpmn:outgoing>Flow_0gxiijt</bpmn:outgoing>
    </bpmn:task>
    <bpmn:task id="Activity_1283qs4" name="Verificar disponibilidade de vagas no controle interno">
      <bpmn:incoming>Flow_1roddga</bpmn:incoming>
      <bpmn:outgoing>Flow_08xntjj</bpmn:outgoing>
    </bpmn:task>
    <bpmn:startEvent id="StartEvent_1" name="Recebimento de pedido de vaga no serviço de acolhimento para mulher vítima de violência e seus dependentes, da equipe PSE/CREAS">
      <bpmn:outgoing>Flow_1roddga</bpmn:outgoing>
    </bpmn:startEvent>
    <bpmn:intermediateThrowEvent id="Event_0pdh1fd" name="Autorização de vaga acolhimento enviada para PSE/CREAS e Entidade via e-mail">
      <bpmn:incoming>Flow_15zjvou</bpmn:incoming>
      <bpmn:outgoing>Flow_0rhrh1s</bpmn:outgoing>
      <bpmn:messageEventDefinition id="MessageEventDefinition_0ck7lqn" />
    </bpmn:intermediateThrowEvent>
    <bpmn:intermediateCatchEvent id="Event_1v8corw" name="Cópia de formulário recebida da PSE/CREAS  (e-mail)">
      <bpmn:incoming>Flow_0oursnd</bpmn:incoming>
      <bpmn:outgoing>Flow_1s60ye9</bpmn:outgoing>
      <bpmn:messageEventDefinition id="MessageEventDefinition_0mnjxpe" />
    </bpmn:intermediateCatchEvent>
    <bpmn:intermediateCatchEvent id="Event_1rk97ye" name="Informações sobre deslocamento recebidas da PSE/CREAS (e-mail)">
      <bpmn:incoming>Flow_0rhrh1s</bpmn:incoming>
      <bpmn:outgoing>Flow_0oursnd</bpmn:outgoing>
      <bpmn:messageEventDefinition id="MessageEventDefinition_0wbsun3" />
    </bpmn:intermediateCatchEvent>
    <bpmn:intermediateCatchEvent id="Event_0ltjyx6" name="Confirmação de acolhimento recebida da entidade (e-mail)">
      <bpmn:incoming>Flow_1s60ye9</bpmn:incoming>
      <bpmn:outgoing>Flow_1z0cdqj</bpmn:outgoing>
      <bpmn:messageEventDefinition id="MessageEventDefinition_0lh8h2z" />
    </bpmn:intermediateCatchEvent>
    <bpmn:task id="Activity_0bs3846" name="Salvar as informações para controle e acompanhamento">
      <bpmn:incoming>Flow_1z0cdqj</bpmn:incoming>
      <bpmn:outgoing>Flow_0e4up1d</bpmn:outgoing>
    </bpmn:task>
    <bpmn:endEvent id="Event_12zahjl" name="Vaga gerenciada">
      <bpmn:incoming>Flow_0e4up1d</bpmn:incoming>
    </bpmn:endEvent>
    <bpmn:boundaryEvent id="Event_0mlcqs3" name="Município comunicado" attachedToRef="Activity_0ktyxws">
      <bpmn:conditionalEventDefinition id="ConditionalEventDefinition_0ue115d">
        <bpmn:condition xsi:type="bpmn:tFormalExpression" />
      </bpmn:conditionalEventDefinition>
    </bpmn:boundaryEvent>
    <bpmn:boundaryEvent id="Event_16b3os6" name="Dados confirmados" attachedToRef="Activity_0z8yc2u">
      <bpmn:conditionalEventDefinition id="ConditionalEventDefinition_14eqq09">
        <bpmn:condition xsi:type="bpmn:tFormalExpression" />
      </bpmn:conditionalEventDefinition>
    </bpmn:boundaryEvent>
    <bpmn:sequenceFlow id="Flow_1c3pygr" sourceRef="Activity_1saeqx2" targetRef="Activity_003w84x" />
    <bpmn:sequenceFlow id="Flow_15zjvou" sourceRef="Activity_003w84x" targetRef="Event_0pdh1fd" />
    <bpmn:sequenceFlow id="Flow_1dpevrs" sourceRef="Activity_0lszlsv" targetRef="Activity_1saeqx2" />
    <bpmn:sequenceFlow id="Flow_0274tbz" sourceRef="Activity_0mtphjf" targetRef="Event_1pugfqh" />
    <bpmn:sequenceFlow id="Flow_0k8br6n" sourceRef="Activity_0ktyxws" targetRef="Activity_0mtphjf" />
    <bpmn:sequenceFlow id="Flow_0dgb99b" name="Vaga indisponível" sourceRef="Gateway_1xxysey" targetRef="Activity_0ktyxws" />
    <bpmn:sequenceFlow id="Flow_0gxiijt" sourceRef="Activity_0z8yc2u" targetRef="Activity_0lszlsv" />
    <bpmn:sequenceFlow id="Flow_08xntjj" sourceRef="Activity_1283qs4" targetRef="Gateway_1xxysey" />
    <bpmn:sequenceFlow id="Flow_12ojfss" name="Vaga disponível" sourceRef="Gateway_1xxysey" targetRef="Activity_0z8yc2u" />
    <bpmn:sequenceFlow id="Flow_1roddga" sourceRef="StartEvent_1" targetRef="Activity_1283qs4" />
    <bpmn:sequenceFlow id="Flow_0rhrh1s" sourceRef="Event_0pdh1fd" targetRef="Event_1rk97ye" />
    <bpmn:sequenceFlow id="Flow_0oursnd" sourceRef="Event_1rk97ye" targetRef="Event_1v8corw" />
    <bpmn:sequenceFlow id="Flow_1s60ye9" sourceRef="Event_1v8corw" targetRef="Event_0ltjyx6" />
    <bpmn:sequenceFlow id="Flow_1z0cdqj" sourceRef="Event_0ltjyx6" targetRef="Activity_0bs3846" />
    <bpmn:sequenceFlow id="Flow_0e4up1d" sourceRef="Activity_0bs3846" targetRef="Event_12zahjl" />
  </bpmn:process>
  <bpmn:process id="Process_1c1c8rx" isExecutable="false" />
  <bpmn:process id="Process_13yxcc2" isExecutable="false" />
  <bpmndi:BPMNDiagram id="BPMNDiagram_1">
    <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_101jgs5">
      <bpmndi:BPMNShape id="Participant_0s3d1cf_di" bpmnElement="Participant_0s3d1cf" isHorizontal="true">
        <dc:Bounds x="160" y="370" width="2350" height="400" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_003w84x_di" bpmnElement="Activity_003w84x">
        <dc:Bounds x="1300" y="460" width="100" height="80" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_1saeqx2_di" bpmnElement="Activity_1saeqx2">
        <dc:Bounds x="1080" y="460" width="100" height="80" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Event_1pugfqh_di" bpmnElement="Event_1pugfqh">
        <dc:Bounds x="1092" y="642" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1067" y="685" width="87" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_0mtphjf_di" bpmnElement="Activity_0mtphjf">
        <dc:Bounds x="880" y="620" width="100" height="80" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_0ktyxws_di" bpmnElement="Activity_0ktyxws">
        <dc:Bounds x="690" y="620" width="100" height="80" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_0lszlsv_di" bpmnElement="Activity_0lszlsv">
        <dc:Bounds x="880" y="460" width="100" height="80" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Gateway_1xxysey_di" bpmnElement="Gateway_1xxysey" isMarkerVisible="true">
        <dc:Bounds x="525" y="475" width="50" height="50" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_0z8yc2u_di" bpmnElement="Activity_0z8yc2u">
        <dc:Bounds x="690" y="460" width="100" height="80" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_1283qs4_di" bpmnElement="Activity_1283qs4">
        <dc:Bounds x="370" y="460" width="100" height="80" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
        <dc:Bounds x="252" y="482" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="228" y="525" width="85" height="132" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Event_0pdh1fd_di" bpmnElement="Event_0pdh1fd">
        <dc:Bounds x="1512" y="482" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1546" y="528" width="87" height="80" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Event_1qgrk1s_di" bpmnElement="Event_1v8corw">
        <dc:Bounds x="1912" y="482" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1898" y="547" width="63" height="66" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Event_1z0xn00_di" bpmnElement="Event_1rk97ye">
        <dc:Bounds x="1712" y="482" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1690" y="528" width="80" height="80" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Event_06e9f3l_di" bpmnElement="Event_0ltjyx6">
        <dc:Bounds x="2102" y="482" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="2078" y="420" width="83" height="53" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_0bs3846_di" bpmnElement="Activity_0bs3846">
        <dc:Bounds x="2230" y="460" width="100" height="80" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Event_12zahjl_di" bpmnElement="Event_12zahjl" bioc:stroke="#205022" bioc:fill="#c8e6c9" color:background-color="#c8e6c9" color:border-color="#205022">
        <dc:Bounds x="2412" y="482" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="2389" y="525" width="83" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Event_1omz50n_di" bpmnElement="Event_0mlcqs3">
        <dc:Bounds x="772" y="682" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="760" y="725" width="60" height="27" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Event_16b3os6_di" bpmnElement="Event_16b3os6">
        <dc:Bounds x="772" y="522" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="760" y="565" width="60" height="27" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="Flow_1c3pygr_di" bpmnElement="Flow_1c3pygr">
        <di:waypoint x="1180" y="500" />
        <di:waypoint x="1300" y="500" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_15zjvou_di" bpmnElement="Flow_15zjvou">
        <di:waypoint x="1400" y="500" />
        <di:waypoint x="1512" y="500" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_1dpevrs_di" bpmnElement="Flow_1dpevrs">
        <di:waypoint x="980" y="500" />
        <di:waypoint x="1080" y="500" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0274tbz_di" bpmnElement="Flow_0274tbz">
        <di:waypoint x="980" y="660" />
        <di:waypoint x="1092" y="660" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0k8br6n_di" bpmnElement="Flow_0k8br6n">
        <di:waypoint x="790" y="660" />
        <di:waypoint x="880" y="660" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0dgb99b_di" bpmnElement="Flow_0dgb99b">
        <di:waypoint x="550" y="525" />
        <di:waypoint x="550" y="660" />
        <di:waypoint x="690" y="660" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="582" y="633" width="87" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0gxiijt_di" bpmnElement="Flow_0gxiijt">
        <di:waypoint x="790" y="500" />
        <di:waypoint x="880" y="500" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_08xntjj_di" bpmnElement="Flow_08xntjj">
        <di:waypoint x="470" y="500" />
        <di:waypoint x="525" y="500" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_12ojfss_di" bpmnElement="Flow_12ojfss">
        <di:waypoint x="575" y="500" />
        <di:waypoint x="690" y="500" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="594" y="482" width="78" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_1roddga_di" bpmnElement="Flow_1roddga">
        <di:waypoint x="288" y="500" />
        <di:waypoint x="370" y="500" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0rhrh1s_di" bpmnElement="Flow_0rhrh1s">
        <di:waypoint x="1548" y="500" />
        <di:waypoint x="1712" y="500" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0oursnd_di" bpmnElement="Flow_0oursnd">
        <di:waypoint x="1748" y="500" />
        <di:waypoint x="1912" y="500" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_1s60ye9_di" bpmnElement="Flow_1s60ye9">
        <di:waypoint x="1948" y="500" />
        <di:waypoint x="2102" y="500" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_1z0cdqj_di" bpmnElement="Flow_1z0cdqj">
        <di:waypoint x="2138" y="500" />
        <di:waypoint x="2230" y="500" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0e4up1d_di" bpmnElement="Flow_0e4up1d">
        <di:waypoint x="2330" y="500" />
        <di:waypoint x="2412" y="500" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="Participant_14ovs00_di" bpmnElement="Participant_14ovs00" isHorizontal="true">
        <dc:Bounds x="160" y="810" width="2350" height="250" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Participant_0am9ftd_di" bpmnElement="Participant_0am9ftd" isHorizontal="true">
        <dc:Bounds x="160" y="80" width="2350" height="250" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="Association_05818g7_di" bpmnElement="Association_05818g7" bioc:stroke="#831311" color:border-color="#831311">
        <di:waypoint x="2427" y="518" />
        <di:waypoint x="2413" y="620" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="TextAnnotation_03zhobz_di" bpmnElement="TextAnnotation_03zhobz" bioc:stroke="#831311" bioc:fill="#ffcdd2" color:background-color="#ffcdd2" color:border-color="#831311">
        <dc:Bounds x="2360" y="620" width="104" height="57" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="Flow_0aoqjj3_di" bpmnElement="Flow_0aoqjj3">
        <di:waypoint x="1530" y="518" />
        <di:waypoint x="1530" y="810" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_1i79ief_di" bpmnElement="Flow_1i79ief">
        <di:waypoint x="1530" y="482" />
        <di:waypoint x="1530" y="330" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0j1sl3w_di" bpmnElement="Flow_0j1sl3w">
        <di:waypoint x="1930" y="330" />
        <di:waypoint x="1930" y="482" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0zi3n9f_di" bpmnElement="Flow_0zi3n9f">
        <di:waypoint x="1730" y="330" />
        <di:waypoint x="1730" y="482" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_1f5vvdl_di" bpmnElement="Flow_1f5vvdl">
        <di:waypoint x="2120" y="810" />
        <di:waypoint x="2120" y="518" />
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</bpmn:definitions>
