<?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:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definition_7ce39ba2-e6af-473f-82dc-92762f2153d2" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Atlas Studio" exporterVersion="1">
  <bpmn:collaboration id="Collaboration_1cidyxu" name="">
    <bpmn:participant id="Participant_0px403d" name="Signal Loop" processRef="SignalEvent_Loop" />
    <bpmn:participant id="Participant_1dvbk3y" name="Trigger Continue 1" processRef="TriggerContinueSignal-1" />
    <bpmn:participant id="Participant_0d6nj70" name="Trigger Continue 2" processRef="TriggerContinueSignal-2" />
    <bpmn:participant id="Participant_0use6it" name="Break Loop" processRef="BreakSignalLoop" />
  </bpmn:collaboration>
  <bpmn:process id="SignalEvent_Loop" name="Signal Loop" isExecutable="true">
    <bpmn:laneSet>
      <bpmn:lane id="Lane_1xzf0d3" name="Lane">
        <bpmn:flowNodeRef>StartEvent_1</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Gateway_1ptfnos</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Gateway_0yvar4r</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Event_1ooffyf</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Event_1k2149a</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Event_1pw7o6a</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Gateway_0zdxdai</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Event_038p6lj</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Activity_131wjiv</bpmn:flowNodeRef>
      </bpmn:lane>
    </bpmn:laneSet>
    <bpmn:startEvent id="StartEvent_1" name="Start Loop">
      <bpmn:outgoing>Flow_00i4zw6</bpmn:outgoing>
    </bpmn:startEvent>
    <bpmn:exclusiveGateway id="Gateway_1ptfnos">
      <bpmn:incoming>Flow_00i4zw6</bpmn:incoming>
      <bpmn:incoming>Flow_0l94hgt</bpmn:incoming>
      <bpmn:outgoing>Flow_1dmsars</bpmn:outgoing>
    </bpmn:exclusiveGateway>
    <bpmn:sequenceFlow id="Flow_00i4zw6" sourceRef="StartEvent_1" targetRef="Gateway_1ptfnos" />
    <bpmn:sequenceFlow id="Flow_1dmsars" sourceRef="Gateway_1ptfnos" targetRef="Gateway_0yvar4r" />
    <bpmn:eventBasedGateway id="Gateway_0yvar4r">
      <bpmn:incoming>Flow_1dmsars</bpmn:incoming>
      <bpmn:outgoing>Flow_1pl67wk</bpmn:outgoing>
      <bpmn:outgoing>Flow_1nxl12r</bpmn:outgoing>
      <bpmn:outgoing>Flow_1m8xjvq</bpmn:outgoing>
    </bpmn:eventBasedGateway>
    <bpmn:intermediateCatchEvent id="Event_1ooffyf" name="Break">
      <bpmn:incoming>Flow_1pl67wk</bpmn:incoming>
      <bpmn:outgoing>Flow_1bdibzg</bpmn:outgoing>
      <bpmn:signalEventDefinition id="SignalEventDefinition_0y6q196" signalRef="Signal_3RaLM4L9" />
    </bpmn:intermediateCatchEvent>
    <bpmn:sequenceFlow id="Flow_1pl67wk" sourceRef="Gateway_0yvar4r" targetRef="Event_1ooffyf" />
    <bpmn:sequenceFlow id="Flow_1nxl12r" sourceRef="Gateway_0yvar4r" targetRef="Event_1k2149a" />
    <bpmn:intermediateCatchEvent id="Event_1k2149a" name="Continue-1">
      <bpmn:incoming>Flow_1nxl12r</bpmn:incoming>
      <bpmn:outgoing>Flow_0qic7ul</bpmn:outgoing>
      <bpmn:signalEventDefinition id="SignalEventDefinition_0xo48dt" signalRef="Signal_0XQ0GtRn" />
    </bpmn:intermediateCatchEvent>
    <bpmn:intermediateCatchEvent id="Event_1pw7o6a" name="Continue-2">
      <bpmn:incoming>Flow_1m8xjvq</bpmn:incoming>
      <bpmn:outgoing>Flow_1ygupue</bpmn:outgoing>
      <bpmn:signalEventDefinition id="SignalEventDefinition_08mlfs6" signalRef="Signal_3fhpPu00" />
    </bpmn:intermediateCatchEvent>
    <bpmn:sequenceFlow id="Flow_1m8xjvq" sourceRef="Gateway_0yvar4r" targetRef="Event_1pw7o6a" />
    <bpmn:exclusiveGateway id="Gateway_0zdxdai">
      <bpmn:incoming>Flow_1ygupue</bpmn:incoming>
      <bpmn:incoming>Flow_0qic7ul</bpmn:incoming>
      <bpmn:outgoing>Flow_02q3kub</bpmn:outgoing>
    </bpmn:exclusiveGateway>
    <bpmn:sequenceFlow id="Flow_1ygupue" sourceRef="Event_1pw7o6a" targetRef="Gateway_0zdxdai" />
    <bpmn:sequenceFlow id="Flow_0qic7ul" sourceRef="Event_1k2149a" targetRef="Gateway_0zdxdai" />
    <bpmn:sequenceFlow id="Flow_02q3kub" sourceRef="Gateway_0zdxdai" targetRef="Activity_131wjiv" />
    <bpmn:sequenceFlow id="Flow_0l94hgt" sourceRef="Activity_131wjiv" targetRef="Gateway_1ptfnos" />
    <bpmn:endEvent id="Event_038p6lj" name="Ende">
      <bpmn:incoming>Flow_1bdibzg</bpmn:incoming>
    </bpmn:endEvent>
    <bpmn:sequenceFlow id="Flow_1bdibzg" sourceRef="Event_1ooffyf" targetRef="Event_038p6lj" />
    <bpmn:scriptTask id="Activity_131wjiv" name="Print stuff">
      <bpmn:incoming>Flow_02q3kub</bpmn:incoming>
      <bpmn:outgoing>Flow_0l94hgt</bpmn:outgoing>
      <bpmn:script>console.log('LOOP TRIGGERED');
return {}</bpmn:script>
    </bpmn:scriptTask>
  </bpmn:process>
  <bpmn:signal id="Signal_3RaLM4L9" name="BreakLoop" />
  <bpmn:signal id="Signal_0XQ0GtRn" name="ContinueLoop-1" />
  <bpmn:signal id="Signal_3fhpPu00" name="ContinueLoop-2" />
  <bpmn:process id="TriggerContinueSignal-1" name="Trigger Continue 1" isExecutable="true">
    <bpmn:sequenceFlow id="Flow_0aa3413" sourceRef="StartEvent_2" targetRef="Event_009a20h" />
    <bpmn:sequenceFlow id="Flow_088d80p" sourceRef="Event_009a20h" targetRef="Event_0lc60zy" />
    <bpmn:startEvent id="StartEvent_2" name="Start Continue">
      <bpmn:outgoing>Flow_0aa3413</bpmn:outgoing>
    </bpmn:startEvent>
    <bpmn:intermediateThrowEvent id="Event_009a20h" name="Trigger Loop Continue 1">
      <bpmn:incoming>Flow_0aa3413</bpmn:incoming>
      <bpmn:outgoing>Flow_088d80p</bpmn:outgoing>
      <bpmn:signalEventDefinition id="SignalEventDefinition_0wrvnqr" signalRef="Signal_4o34txZx" />
    </bpmn:intermediateThrowEvent>
    <bpmn:endEvent id="Event_0lc60zy">
      <bpmn:incoming>Flow_088d80p</bpmn:incoming>
    </bpmn:endEvent>
  </bpmn:process>
  <bpmn:signal id="Signal_4o34txZx" name="ContinueLoop-1" />
  <bpmn:process id="TriggerContinueSignal-2" name="Trigger Continue 2" isExecutable="true">
    <bpmn:startEvent id="StartEvent_3" name="Start Continue 2">
      <bpmn:outgoing>Flow_0xtfdbv</bpmn:outgoing>
    </bpmn:startEvent>
    <bpmn:intermediateThrowEvent id="Event_0e58phc" name="Trigger Loop Continue 2">
      <bpmn:incoming>Flow_0xtfdbv</bpmn:incoming>
      <bpmn:outgoing>Flow_1w8f0xr</bpmn:outgoing>
      <bpmn:signalEventDefinition id="SignalEventDefinition_0wm4sik" signalRef="Signal_ezvyZrPp" />
    </bpmn:intermediateThrowEvent>
    <bpmn:endEvent id="Event_078sh20">
      <bpmn:incoming>Flow_1w8f0xr</bpmn:incoming>
    </bpmn:endEvent>
    <bpmn:sequenceFlow id="Flow_0xtfdbv" sourceRef="StartEvent_3" targetRef="Event_0e58phc" />
    <bpmn:sequenceFlow id="Flow_1w8f0xr" sourceRef="Event_0e58phc" targetRef="Event_078sh20" />
  </bpmn:process>
  <bpmn:signal id="Signal_ezvyZrPp" name="ContinueLoop-2" />
  <bpmn:process id="BreakSignalLoop" name="Break Loop" isExecutable="true">
    <bpmn:startEvent id="StartEvent_4" name="Start Break">
      <bpmn:outgoing>Flow_00f1urc</bpmn:outgoing>
    </bpmn:startEvent>
    <bpmn:intermediateThrowEvent id="Event_0i6ck8o" name="Trigger Break">
      <bpmn:incoming>Flow_00f1urc</bpmn:incoming>
      <bpmn:outgoing>Flow_13adigt</bpmn:outgoing>
      <bpmn:signalEventDefinition id="SignalEventDefinition_12yqg82" signalRef="Signal_pTRNJwHv" />
    </bpmn:intermediateThrowEvent>
    <bpmn:endEvent id="Event_08f3d6x">
      <bpmn:incoming>Flow_13adigt</bpmn:incoming>
    </bpmn:endEvent>
    <bpmn:sequenceFlow id="Flow_00f1urc" sourceRef="StartEvent_4" targetRef="Event_0i6ck8o" />
    <bpmn:sequenceFlow id="Flow_13adigt" sourceRef="Event_0i6ck8o" targetRef="Event_08f3d6x" />
  </bpmn:process>
  <bpmn:signal id="Signal_pTRNJwHv" name="BreakLoop" />
  <bpmndi:BPMNDiagram id="BPMNDiagram_1">
    <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_1cidyxu">
      <bpmndi:BPMNShape id="Participant_0px403d_di" bpmnElement="Participant_0px403d" isHorizontal="true">
        <dc:Bounds x="5" y="4" width="885" height="346" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Lane_1xzf0d3_di" bpmnElement="Lane_1xzf0d3" isHorizontal="true">
        <dc:Bounds x="35" y="4" width="855" height="346" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="Flow_1bdibzg_di" bpmnElement="Flow_1bdibzg">
        <di:waypoint x="508" y="90" />
        <di:waypoint x="612" y="90" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0l94hgt_di" bpmnElement="Flow_0l94hgt">
        <di:waypoint x="730" y="210" />
        <di:waypoint x="730" y="320" />
        <di:waypoint x="240" y="320" />
        <di:waypoint x="240" y="200" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_02q3kub_di" bpmnElement="Flow_02q3kub">
        <di:waypoint x="655" y="170" />
        <di:waypoint x="680" y="170" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0qic7ul_di" bpmnElement="Flow_0qic7ul">
        <di:waypoint x="508" y="170" />
        <di:waypoint x="605" y="170" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_1ygupue_di" bpmnElement="Flow_1ygupue">
        <di:waypoint x="508" y="270" />
        <di:waypoint x="630" y="270" />
        <di:waypoint x="630" y="195" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_1m8xjvq_di" bpmnElement="Flow_1m8xjvq">
        <di:waypoint x="370" y="195" />
        <di:waypoint x="370" y="270" />
        <di:waypoint x="472" y="270" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_1nxl12r_di" bpmnElement="Flow_1nxl12r">
        <di:waypoint x="395" y="170" />
        <di:waypoint x="472" y="170" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_1pl67wk_di" bpmnElement="Flow_1pl67wk">
        <di:waypoint x="370" y="145" />
        <di:waypoint x="370" y="90" />
        <di:waypoint x="472" y="90" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_1dmsars_di" bpmnElement="Flow_1dmsars">
        <di:waypoint x="265" y="170" />
        <di:waypoint x="345" y="170" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_00i4zw6_di" bpmnElement="Flow_00i4zw6">
        <di:waypoint x="128" y="170" />
        <di:waypoint x="215" y="170" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="StartEvent_1_di" bpmnElement="StartEvent_1">
        <dc:Bounds x="92" y="152" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="85" y="195" width="51" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Gateway_1ptfnos_di" bpmnElement="Gateway_1ptfnos" isMarkerVisible="true">
        <dc:Bounds x="215" y="145" width="50" height="50" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Gateway_0o0lp56_di" bpmnElement="Gateway_0yvar4r">
        <dc:Bounds x="345" y="145" width="50" height="50" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Event_1ooffyf_di" bpmnElement="Event_1ooffyf">
        <dc:Bounds x="472" y="72" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="475" y="115" width="30" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Event_1k2149a_di" bpmnElement="Event_1k2149a">
        <dc:Bounds x="472" y="152" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="463" y="195" width="54" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Event_1pw7o6a_di" bpmnElement="Event_1pw7o6a">
        <dc:Bounds x="472" y="252" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="463" y="295" width="54" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Gateway_0zdxdai_di" bpmnElement="Gateway_0zdxdai" isMarkerVisible="true">
        <dc:Bounds x="605" y="145" width="50" height="50" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Event_038p6lj_di" bpmnElement="Event_038p6lj">
        <dc:Bounds x="612" y="72" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="617" y="115" width="26" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_106gu3q_di" bpmnElement="Activity_131wjiv">
        <dc:Bounds x="680" y="130" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Participant_1dvbk3y_di" bpmnElement="Participant_1dvbk3y" isHorizontal="true">
        <dc:Bounds x="5" y="400" width="465" height="130" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="Flow_088d80p_di" bpmnElement="Flow_088d80p">
        <di:waypoint x="248" y="450" />
        <di:waypoint x="382" y="450" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0aa3413_di" bpmnElement="Flow_0aa3413">
        <di:waypoint x="108" y="450" />
        <di:waypoint x="212" y="450" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="Event_1xdksf6_di" bpmnElement="StartEvent_2">
        <dc:Bounds x="72" y="432" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="55" y="475" width="71" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Event_10rcvaf_di" bpmnElement="Event_009a20h">
        <dc:Bounds x="212" y="432" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="199" y="475" width="62" height="27" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Event_0lc60zy_di" bpmnElement="Event_0lc60zy">
        <dc:Bounds x="382" y="432" width="36" height="36" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Participant_0d6nj70_di" bpmnElement="Participant_0d6nj70" isHorizontal="true">
        <dc:Bounds x="5" y="560" width="465" height="130" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="Flow_1w8f0xr_di" bpmnElement="Flow_1w8f0xr">
        <di:waypoint x="248" y="610" />
        <di:waypoint x="382" y="610" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0xtfdbv_di" bpmnElement="Flow_0xtfdbv">
        <di:waypoint x="108" y="610" />
        <di:waypoint x="212" y="610" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="Event_12jyrz8_di" bpmnElement="StartEvent_3">
        <dc:Bounds x="72" y="592" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="50" y="635" width="80" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Event_0e58phc_di" bpmnElement="Event_0e58phc">
        <dc:Bounds x="212" y="592" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="199" y="635" width="62" height="27" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Event_078sh20_di" bpmnElement="Event_078sh20">
        <dc:Bounds x="382" y="592" width="36" height="36" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Participant_0use6it_di" bpmnElement="Participant_0use6it" isHorizontal="true">
        <dc:Bounds x="5" y="710" width="465" height="100" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="Flow_13adigt_di" bpmnElement="Flow_13adigt">
        <di:waypoint x="248" y="760" />
        <di:waypoint x="382" y="760" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_00f1urc_di" bpmnElement="Flow_00f1urc">
        <di:waypoint x="108" y="760" />
        <di:waypoint x="212" y="760" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="Event_0i2wvle_di" bpmnElement="StartEvent_4">
        <dc:Bounds x="72" y="742" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="62" y="785" width="56" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Event_0i6ck8o_di" bpmnElement="Event_0i6ck8o">
        <dc:Bounds x="212" y="742" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="197" y="785" width="67" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Event_08f3d6x_di" bpmnElement="Event_08f3d6x">
        <dc:Bounds x="382" y="742" width="36" height="36" />
      </bpmndi:BPMNShape>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</bpmn:definitions>
