<?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" id="Definitions_1" targetNamespace="http://forven.com.br/bpmn" exporter="bpmn-js (https://demo.bpmn.io)" exporterVersion="18.16.0">
  <bpmn:collaboration id="Collaboration_1">
    <bpmn:participant id="Participant_1" name="Processo de Venda - Nuvemshop" processRef="Process_1" />
  </bpmn:collaboration>
  <bpmn:process id="Process_1" isExecutable="false">
    <bpmn:laneSet id="LaneSet_1">
      <bpmn:lane id="Lane_Resultado" name="Resultado">
        <bpmn:flowNodeRef>Task_LiberacaoNF</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Task_ReflexoEstoque</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>EndEvent_1</bpmn:flowNodeRef>
      </bpmn:lane>
      <bpmn:lane id="Lane_Financeiro" name="Financeiro">
        <bpmn:flowNodeRef>Task_AnaliseCredito</bpmn:flowNodeRef>
      </bpmn:lane>
      <bpmn:lane id="Lane_Supervisor" name="Supervisor">
        <bpmn:flowNodeRef>Task_AprovaReprova</bpmn:flowNodeRef>
      </bpmn:lane>
      <bpmn:lane id="Lane_Sistema" name="Sistema">
        <bpmn:flowNodeRef>Task_PedidoImportado</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Task_VendaPendente</bpmn:flowNodeRef>
      </bpmn:lane>
      <bpmn:lane id="Lane_Cliente" name="Cliente">
        <bpmn:flowNodeRef>StartEvent_1</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Task_Compra</bpmn:flowNodeRef>
      </bpmn:lane>
    </bpmn:laneSet>
    <bpmn:startEvent id="StartEvent_1" name="Início">
      <bpmn:outgoing>Flow_1</bpmn:outgoing>
    </bpmn:startEvent>
    <bpmn:task id="Task_Compra" name="Compra na loja virtual&#10;(Nuvemshop)">
      <bpmn:incoming>Flow_1</bpmn:incoming>
      <bpmn:outgoing>Flow_2</bpmn:outgoing>
    </bpmn:task>
    <bpmn:task id="Task_PedidoImportado" name="Pedido importado&#10;(Status Vendas: Pré-faturado)">
      <bpmn:incoming>Flow_2</bpmn:incoming>
      <bpmn:outgoing>Flow_3</bpmn:outgoing>
    </bpmn:task>
    <bpmn:task id="Task_VendaPendente" name="Venda pendente&#10;(Gerenciar Vendas)">
      <bpmn:incoming>Flow_3</bpmn:incoming>
      <bpmn:outgoing>Flow_4</bpmn:outgoing>
    </bpmn:task>
    <bpmn:task id="Task_AprovaReprova" name="Aprova ou reprova o pedido&#10;(Liberar Vendas)">
      <bpmn:incoming>Flow_4</bpmn:incoming>
      <bpmn:outgoing>Flow_5</bpmn:outgoing>
    </bpmn:task>
    <bpmn:task id="Task_AnaliseCredito" name="Análise de Crédito">
      <bpmn:incoming>Flow_5</bpmn:incoming>
      <bpmn:outgoing>Flow_6</bpmn:outgoing>
    </bpmn:task>
    <bpmn:task id="Task_LiberacaoNF" name="Liberação → Nota Fiscal&#10;(Status Vendas: Faturado)">
      <bpmn:incoming>Flow_6</bpmn:incoming>
      <bpmn:outgoing>Flow_7</bpmn:outgoing>
    </bpmn:task>
    <bpmn:task id="Task_ReflexoEstoque" name="Reflexo em Estoque&#10;(Produtos Liberados / Bloqueio)">
      <bpmn:incoming>Flow_7</bpmn:incoming>
      <bpmn:outgoing>Flow_8</bpmn:outgoing>
    </bpmn:task>
    <bpmn:endEvent id="EndEvent_1" name="Fim">
      <bpmn:incoming>Flow_8</bpmn:incoming>
    </bpmn:endEvent>
    <bpmn:sequenceFlow id="Flow_1" sourceRef="StartEvent_1" targetRef="Task_Compra" />
    <bpmn:sequenceFlow id="Flow_2" sourceRef="Task_Compra" targetRef="Task_PedidoImportado" />
    <bpmn:sequenceFlow id="Flow_3" sourceRef="Task_PedidoImportado" targetRef="Task_VendaPendente" />
    <bpmn:sequenceFlow id="Flow_4" sourceRef="Task_VendaPendente" targetRef="Task_AprovaReprova" />
    <bpmn:sequenceFlow id="Flow_5" name="aprovado" sourceRef="Task_AprovaReprova" targetRef="Task_AnaliseCredito" />
    <bpmn:sequenceFlow id="Flow_6" name="liberado" sourceRef="Task_AnaliseCredito" targetRef="Task_LiberacaoNF" />
    <bpmn:sequenceFlow id="Flow_7" sourceRef="Task_LiberacaoNF" targetRef="Task_ReflexoEstoque" />
    <bpmn:sequenceFlow id="Flow_8" sourceRef="Task_ReflexoEstoque" targetRef="EndEvent_1" />
  </bpmn:process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_1">
    <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_1">
      <bpmndi:BPMNShape id="Participant_1_di" bpmnElement="Participant_1" isHorizontal="true">
        <dc:Bounds x="160" y="60" width="400" height="1010" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Lane_Resultado_di" bpmnElement="Lane_Resultado" isHorizontal="true">
        <dc:Bounds x="190" y="760" width="370" height="310" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Lane_Financeiro_di" bpmnElement="Lane_Financeiro" isHorizontal="true">
        <dc:Bounds x="190" y="620" width="370" height="140" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Lane_Supervisor_di" bpmnElement="Lane_Supervisor" isHorizontal="true">
        <dc:Bounds x="190" y="480" width="370" height="140" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Lane_Sistema_di" bpmnElement="Lane_Sistema" isHorizontal="true">
        <dc:Bounds x="190" y="240" width="370" height="240" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Lane_Cliente_di" bpmnElement="Lane_Cliente" isHorizontal="true">
        <dc:Bounds x="190" y="60" width="370" height="180" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="StartEvent_1_di" bpmnElement="StartEvent_1">
        <dc:Bounds x="342" y="90" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="344" y="73" width="31" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Task_Compra_di" bpmnElement="Task_Compra">
        <dc:Bounds x="285" y="150" width="150" height="60" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Task_PedidoImportado_di" bpmnElement="Task_PedidoImportado">
        <dc:Bounds x="285" y="280" width="150" height="60" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Task_VendaPendente_di" bpmnElement="Task_VendaPendente">
        <dc:Bounds x="285" y="400" width="150" height="60" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Task_AprovaReprova_di" bpmnElement="Task_AprovaReprova">
        <dc:Bounds x="285" y="520" width="150" height="60" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Task_AnaliseCredito_di" bpmnElement="Task_AnaliseCredito">
        <dc:Bounds x="285" y="640" width="150" height="60" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Task_LiberacaoNF_di" bpmnElement="Task_LiberacaoNF">
        <dc:Bounds x="285" y="780" width="150" height="60" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Task_ReflexoEstoque_di" bpmnElement="Task_ReflexoEstoque">
        <dc:Bounds x="285" y="900" width="150" height="60" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="EndEvent_1_di" bpmnElement="EndEvent_1">
        <dc:Bounds x="342" y="992" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="350" y="1033" width="19" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="Flow_1_di" bpmnElement="Flow_1">
        <di:waypoint x="360" y="126" />
        <di:waypoint x="360" y="150" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_2_di" bpmnElement="Flow_2">
        <di:waypoint x="360" y="210" />
        <di:waypoint x="360" y="280" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_3_di" bpmnElement="Flow_3">
        <di:waypoint x="360" y="340" />
        <di:waypoint x="360" y="400" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_4_di" bpmnElement="Flow_4">
        <di:waypoint x="360" y="460" />
        <di:waypoint x="360" y="520" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_5_di" bpmnElement="Flow_5">
        <di:waypoint x="360" y="580" />
        <di:waypoint x="360" y="640" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="368" y="600" width="46" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_6_di" bpmnElement="Flow_6">
        <di:waypoint x="360" y="700" />
        <di:waypoint x="360" y="780" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="371" y="730" width="40" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_7_di" bpmnElement="Flow_7">
        <di:waypoint x="360" y="840" />
        <di:waypoint x="360" y="900" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_8_di" bpmnElement="Flow_8">
        <di:waypoint x="360" y="960" />
        <di:waypoint x="360" y="992" />
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</bpmn:definitions>
