<?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_13"
                  targetNamespace="http://forven.com.br/bpmn">

  <bpmn:collaboration id="Collaboration_13">
    <bpmn:participant id="Participant_13" name="Geração de Catálogo de Produtos" processRef="Process_13" />
  </bpmn:collaboration>

  <bpmn:process id="Process_13" isExecutable="false">

    <bpmn:laneSet id="LaneSet_13">
      <bpmn:lane id="Lane_FonteDados" name="Fonte dos dados">
        <bpmn:flowNodeRef>StartEvent_1</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Task_ProdutosGrupos</bpmn:flowNodeRef>
      </bpmn:lane>
      <bpmn:lane id="Lane_MontandoCatalogo" name="Montando o catálogo">
        <bpmn:flowNodeRef>Task_AdicionaProdutos</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Task_ConfiguraApresentacao</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Task_ConfiguraCapas</bpmn:flowNodeRef>
      </bpmn:lane>
      <bpmn:lane id="Lane_Finalizacao" name="Finalização">
        <bpmn:flowNodeRef>Task_GeraPDF</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Task_SalvaCatalogo</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Task_FicaDisponivel</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>EndEvent_1</bpmn:flowNodeRef>
      </bpmn:lane>
    </bpmn:laneSet>

    <bpmn:startEvent id="StartEvent_1" name="Início">
      <bpmn:outgoing>Flow_S1</bpmn:outgoing>
    </bpmn:startEvent>

    <bpmn:task id="Task_ProdutosGrupos" name="Produtos e Grupos de Produtos&#10;já cadastrados no Estoque">
      <bpmn:incoming>Flow_S1</bpmn:incoming>
      <bpmn:outgoing>Flow_1</bpmn:outgoing>
    </bpmn:task>

    <bpmn:task id="Task_AdicionaProdutos" name="Adiciona produtos&#10;individualmente ou por grupo">
      <bpmn:incoming>Flow_1</bpmn:incoming>
      <bpmn:outgoing>Flow_2</bpmn:outgoing>
    </bpmn:task>

    <bpmn:task id="Task_ConfiguraApresentacao" name="Configura dados de apresentação&#10;nome, cor, imagem, descrição">
      <bpmn:incoming>Flow_2</bpmn:incoming>
      <bpmn:outgoing>Flow_3</bpmn:outgoing>
    </bpmn:task>

    <bpmn:task id="Task_ConfiguraCapas" name="Configura capas&#10;do catálogo, de cada grupo, etc">
      <bpmn:incoming>Flow_3</bpmn:incoming>
      <bpmn:outgoing>Flow_4</bpmn:outgoing>
    </bpmn:task>

    <bpmn:task id="Task_GeraPDF" name="Gera o PDF">
      <bpmn:incoming>Flow_4</bpmn:incoming>
      <bpmn:outgoing>Flow_5</bpmn:outgoing>
    </bpmn:task>

    <bpmn:task id="Task_SalvaCatalogo" name="Salva o catálogo">
      <bpmn:incoming>Flow_5</bpmn:incoming>
      <bpmn:outgoing>Flow_6</bpmn:outgoing>
    </bpmn:task>

    <bpmn:task id="Task_FicaDisponivel" name="Fica disponível em&#10;Gerenciar Catálogos">
      <bpmn:incoming>Flow_6</bpmn:incoming>
      <bpmn:outgoing>Flow_7</bpmn:outgoing>
    </bpmn:task>

    <bpmn:endEvent id="EndEvent_1" name="Fim">
      <bpmn:incoming>Flow_7</bpmn:incoming>
    </bpmn:endEvent>

    <bpmn:sequenceFlow id="Flow_S1" sourceRef="StartEvent_1" targetRef="Task_ProdutosGrupos" />
    <bpmn:sequenceFlow id="Flow_1" sourceRef="Task_ProdutosGrupos" targetRef="Task_AdicionaProdutos" />
    <bpmn:sequenceFlow id="Flow_2" sourceRef="Task_AdicionaProdutos" targetRef="Task_ConfiguraApresentacao" />
    <bpmn:sequenceFlow id="Flow_3" sourceRef="Task_ConfiguraApresentacao" targetRef="Task_ConfiguraCapas" />
    <bpmn:sequenceFlow id="Flow_4" sourceRef="Task_ConfiguraCapas" targetRef="Task_GeraPDF" />
    <bpmn:sequenceFlow id="Flow_5" sourceRef="Task_GeraPDF" targetRef="Task_SalvaCatalogo" />
    <bpmn:sequenceFlow id="Flow_6" sourceRef="Task_SalvaCatalogo" targetRef="Task_FicaDisponivel" />
    <bpmn:sequenceFlow id="Flow_7" sourceRef="Task_FicaDisponivel" targetRef="EndEvent_1" />

  </bpmn:process>

  <bpmndi:BPMNDiagram id="BPMNDiagram_13">
    <bpmndi:BPMNPlane id="BPMNPlane_13" bpmnElement="Collaboration_13">

      <bpmndi:BPMNShape id="Participant_13_di" bpmnElement="Participant_13" isHorizontal="true">
        <dc:Bounds x="0" y="0" width="800" height="1280" />
      </bpmndi:BPMNShape>

      <bpmndi:BPMNShape id="Lane_FonteDados_di" bpmnElement="Lane_FonteDados" isHorizontal="true">
        <dc:Bounds x="40" y="0" width="720" height="260" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Lane_MontandoCatalogo_di" bpmnElement="Lane_MontandoCatalogo" isHorizontal="true">
        <dc:Bounds x="40" y="260" width="720" height="560" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Lane_Finalizacao_di" bpmnElement="Lane_Finalizacao" isHorizontal="true">
        <dc:Bounds x="40" y="820" width="720" height="460" />
      </bpmndi:BPMNShape>

      <bpmndi:BPMNShape id="StartEvent_1_di" bpmnElement="StartEvent_1">
        <dc:Bounds x="382" y="20" width="36" height="36" />
      </bpmndi:BPMNShape>

      <bpmndi:BPMNShape id="Task_ProdutosGrupos_di" bpmnElement="Task_ProdutosGrupos">
        <dc:Bounds x="250" y="70" width="300" height="90" />
      </bpmndi:BPMNShape>

      <bpmndi:BPMNShape id="Task_AdicionaProdutos_di" bpmnElement="Task_AdicionaProdutos">
        <dc:Bounds x="250" y="300" width="300" height="90" />
      </bpmndi:BPMNShape>

      <bpmndi:BPMNShape id="Task_ConfiguraApresentacao_di" bpmnElement="Task_ConfiguraApresentacao">
        <dc:Bounds x="250" y="460" width="300" height="90" />
      </bpmndi:BPMNShape>

      <bpmndi:BPMNShape id="Task_ConfiguraCapas_di" bpmnElement="Task_ConfiguraCapas">
        <dc:Bounds x="250" y="620" width="300" height="90" />
      </bpmndi:BPMNShape>

      <bpmndi:BPMNShape id="Task_GeraPDF_di" bpmnElement="Task_GeraPDF">
        <dc:Bounds x="290" y="860" width="220" height="70" />
      </bpmndi:BPMNShape>

      <bpmndi:BPMNShape id="Task_SalvaCatalogo_di" bpmnElement="Task_SalvaCatalogo">
        <dc:Bounds x="290" y="970" width="220" height="70" />
      </bpmndi:BPMNShape>

      <bpmndi:BPMNShape id="Task_FicaDisponivel_di" bpmnElement="Task_FicaDisponivel">
        <dc:Bounds x="260" y="1080" width="280" height="90" />
      </bpmndi:BPMNShape>

      <bpmndi:BPMNShape id="EndEvent_1_di" bpmnElement="EndEvent_1">
        <dc:Bounds x="382" y="1200" width="36" height="36" />
      </bpmndi:BPMNShape>

      <bpmndi:BPMNEdge id="Flow_S1_di" bpmnElement="Flow_S1">
        <di:waypoint x="400" y="56" />
        <di:waypoint x="400" y="70" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_1_di" bpmnElement="Flow_1">
        <di:waypoint x="400" y="160" />
        <di:waypoint x="400" y="300" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_2_di" bpmnElement="Flow_2">
        <di:waypoint x="400" y="390" />
        <di:waypoint x="400" y="460" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_3_di" bpmnElement="Flow_3">
        <di:waypoint x="400" y="550" />
        <di:waypoint x="400" y="620" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_4_di" bpmnElement="Flow_4">
        <di:waypoint x="400" y="710" />
        <di:waypoint x="400" y="860" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_5_di" bpmnElement="Flow_5">
        <di:waypoint x="400" y="930" />
        <di:waypoint x="400" y="970" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_6_di" bpmnElement="Flow_6">
        <di:waypoint x="400" y="1040" />
        <di:waypoint x="400" y="1080" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_7_di" bpmnElement="Flow_7">
        <di:waypoint x="400" y="1170" />
        <di:waypoint x="400" y="1200" />
      </bpmndi:BPMNEdge>

    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>

</bpmn:definitions>
