<?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:zeebe="http://camunda.org/schema/zeebe/1.0" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:modeler="http://camunda.org/schema/modeler/1.0" id="Definitions_05089qd" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="5.41.0" modeler:executionPlatform="Camunda Cloud" modeler:executionPlatformVersion="8.8.0">
  <bpmn:process id="createSatelliteMission" isExecutable="true">
    <bpmn:startEvent id="startSatelliteMission">
      <bpmn:outgoing>Flow_start_survey</bpmn:outgoing>
    </bpmn:startEvent>
    <bpmn:serviceTask id="calculateSatelliteSurveyMissions" name="Сформировать план съемки">
      <bpmn:extensionElements>
        <zeebe:taskDefinition type="calculateSatelliteSurveyMissions" retries="3" />
      </bpmn:extensionElements>
      <bpmn:incoming>Flow_start_survey</bpmn:incoming>
      <bpmn:outgoing>Flow_survey_drop</bpmn:outgoing>
    </bpmn:serviceTask>
    <bpmn:serviceTask id="calculateSatelliteDropMissions" name="Сформировать план сбросов">
      <bpmn:extensionElements>
        <zeebe:taskDefinition type="calculateSatelliteDropMissions" retries="3" />
      </bpmn:extensionElements>
      <bpmn:incoming>Flow_survey_drop</bpmn:incoming>
      <bpmn:outgoing>Flow_drop_send</bpmn:outgoing>
    </bpmn:serviceTask>
    <bpmn:serviceTask id="sendSatellitePlan" name="Отправка плана в СПО УОГ">
      <bpmn:extensionElements>
        <zeebe:taskDefinition type="sendSatellitePlan" />
      </bpmn:extensionElements>
      <bpmn:incoming>Flow_drop_send</bpmn:incoming>
      <bpmn:outgoing>Flow_send_end</bpmn:outgoing>
    </bpmn:serviceTask>
    <bpmn:endEvent id="endSatelliteMission">
      <bpmn:incoming>Flow_send_end</bpmn:incoming>
    </bpmn:endEvent>
    <bpmn:sequenceFlow id="Flow_start_survey" sourceRef="startSatelliteMission" targetRef="calculateSatelliteSurveyMissions" />
    <bpmn:sequenceFlow id="Flow_survey_drop" sourceRef="calculateSatelliteSurveyMissions" targetRef="calculateSatelliteDropMissions" />
    <bpmn:sequenceFlow id="Flow_drop_send" sourceRef="calculateSatelliteDropMissions" targetRef="sendSatellitePlan" />
    <bpmn:sequenceFlow id="Flow_send_end" sourceRef="sendSatellitePlan" targetRef="endSatelliteMission" />
  </bpmn:process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_1">
    <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="createSatelliteMission">
      <bpmndi:BPMNShape id="StartEvent_1_di" bpmnElement="startSatelliteMission">
        <dc:Bounds x="182" y="102" width="36" height="36" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_1o0a7ou_di" bpmnElement="calculateSatelliteSurveyMissions">
        <dc:Bounds x="270" y="80" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_0xhz2da_di" bpmnElement="calculateSatelliteDropMissions">
        <dc:Bounds x="430" y="80" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_0rgmxq5_di" bpmnElement="sendSatellitePlan">
        <dc:Bounds x="590" y="80" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Event_0ua03fi_di" bpmnElement="endSatelliteMission">
        <dc:Bounds x="752" y="102" width="36" height="36" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="Flow_start_survey_di" bpmnElement="Flow_start_survey">
        <di:waypoint x="218" y="120" />
        <di:waypoint x="270" y="120" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_survey_drop_di" bpmnElement="Flow_survey_drop">
        <di:waypoint x="370" y="120" />
        <di:waypoint x="430" y="120" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_drop_send_di" bpmnElement="Flow_drop_send">
        <di:waypoint x="530" y="120" />
        <di:waypoint x="590" y="120" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_send_end_di" bpmnElement="Flow_send_end">
        <di:waypoint x="690" y="120" />
        <di:waypoint x="752" y="120" />
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</bpmn:definitions>
