<?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:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:modeler="http://camunda.org/schema/modeler/1.0" id="Definitions_0gi7hpo" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="4.7.0" modeler:executionPlatform="Camunda Platform" modeler:executionPlatformVersion="7.14.0">
  <bpmn:process id="Time_subprocess_intermediate" name="Time_subprocess_intermediate" isExecutable="true">
    <bpmn:startEvent id="StartEvent_1">
      <bpmn:outgoing>Flow_17895xj</bpmn:outgoing>
    </bpmn:startEvent>
    <bpmn:sequenceFlow id="Flow_17895xj" sourceRef="StartEvent_1" targetRef="Activity_1flba0w" />
    <bpmn:endEvent id="Event_0hlif3g">
      <bpmn:incoming>Flow_1phv2yf</bpmn:incoming>
    </bpmn:endEvent>
    <bpmn:sequenceFlow id="Flow_03pt2z5" sourceRef="Activity_1flba0w" targetRef="Gateway_17n7rct" />
    <bpmn:exclusiveGateway id="Gateway_17n7rct">
      <bpmn:incoming>Flow_03pt2z5</bpmn:incoming>
      <bpmn:outgoing>Flow_0v67rmm</bpmn:outgoing>
      <bpmn:outgoing>Flow_1phv2yf</bpmn:outgoing>
    </bpmn:exclusiveGateway>
    <bpmn:sequenceFlow id="Flow_0v67rmm" name="false" sourceRef="Gateway_17n7rct" targetRef="Time_construct">
      <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">#{!testing}</bpmn:conditionExpression>
    </bpmn:sequenceFlow>
    <bpmn:sequenceFlow id="Flow_1phv2yf" name="true" sourceRef="Gateway_17n7rct" targetRef="Event_0hlif3g">
      <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">#{testing}</bpmn:conditionExpression>
    </bpmn:sequenceFlow>
    <bpmn:sequenceFlow id="Flow_0qjn559" sourceRef="Time_construct" targetRef="Activity_1flba0w" />
    <bpmn:intermediateCatchEvent id="Time_construct" name="Time_construct">
      <bpmn:incoming>Flow_0v67rmm</bpmn:incoming>
      <bpmn:outgoing>Flow_0qjn559</bpmn:outgoing>
      <bpmn:timerEventDefinition id="TimerEventDefinition_13qv43b">
        <bpmn:timeDuration xsi:type="bpmn:tFormalExpression">PT20S</bpmn:timeDuration>
      </bpmn:timerEventDefinition>
    </bpmn:intermediateCatchEvent>
    <bpmn:subProcess id="EVENT_subprocess" name="EVENT_subprocess" triggeredByEvent="true">
      <bpmn:startEvent id="Timer_subprocess" name="Timer_subprocess">
        <bpmn:outgoing>Flow_1nqk3he</bpmn:outgoing>
        <bpmn:timerEventDefinition id="TimerEventDefinition_0j29zpq">
          <bpmn:timeDuration xsi:type="bpmn:tFormalExpression">PT1M</bpmn:timeDuration>
        </bpmn:timerEventDefinition>
      </bpmn:startEvent>
      <bpmn:sequenceFlow id="Flow_1nqk3he" sourceRef="Timer_subprocess" targetRef="Timer_subprocess_delegate" />
      <bpmn:endEvent id="Event_087bdlb">
        <bpmn:incoming>Flow_1tokb5a</bpmn:incoming>
      </bpmn:endEvent>
      <bpmn:sequenceFlow id="Flow_1tokb5a" sourceRef="Timer_subprocess_delegate" targetRef="Event_087bdlb" />
      <bpmn:serviceTask id="Timer_subprocess_delegate" name="Time subprocess Delegate" camunda:class="sa.com.mystore.takamol.workflow.delegate.Testing.TimerSubprocess">
        <bpmn:incoming>Flow_1nqk3he</bpmn:incoming>
        <bpmn:outgoing>Flow_1tokb5a</bpmn:outgoing>
      </bpmn:serviceTask>
      <bpmn:association id="Association_1wgd1l1" sourceRef="Timer_subprocess" targetRef="TextAnnotation_15jwduc" />
    </bpmn:subProcess>
    <bpmn:serviceTask id="Activity_1flba0w" name="Construct Assign delegate" camunda:class="sa.com.mystore.takamol.workflow.delegate.Testing.ConstructAssign">
      <bpmn:incoming>Flow_17895xj</bpmn:incoming>
      <bpmn:incoming>Flow_0qjn559</bpmn:incoming>
      <bpmn:outgoing>Flow_03pt2z5</bpmn:outgoing>
    </bpmn:serviceTask>
    <bpmn:textAnnotation id="TextAnnotation_0au7z0u">
      <bpmn:text>20S</bpmn:text>
    </bpmn:textAnnotation>
    <bpmn:association id="Association_0yt0pl5" sourceRef="Time_construct" targetRef="TextAnnotation_0au7z0u" />
    <bpmn:textAnnotation id="TextAnnotation_15jwduc">
      <bpmn:text>1M</bpmn:text>
    </bpmn:textAnnotation>
  </bpmn:process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_1">
    <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Time_subprocess_intermediate">
      <bpmndi:BPMNShape id="TextAnnotation_0au7z0u_di" bpmnElement="TextAnnotation_0au7z0u">
        <dc:Bounds x="240" y="70" width="100" height="30" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="TextAnnotation_15jwduc_di" bpmnElement="TextAnnotation_15jwduc">
        <dc:Bounds x="120" y="350" width="100" height="30" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="Flow_17895xj_di" bpmnElement="Flow_17895xj">
        <di:waypoint x="188" y="240" />
        <di:waypoint x="280" y="240" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_03pt2z5_di" bpmnElement="Flow_03pt2z5">
        <di:waypoint x="380" y="240" />
        <di:waypoint x="425" y="240" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0v67rmm_di" bpmnElement="Flow_0v67rmm">
        <di:waypoint x="450" y="215" />
        <di:waypoint x="450" y="140" />
        <di:waypoint x="398" y="140" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="453" y="175" width="24" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_1phv2yf_di" bpmnElement="Flow_1phv2yf">
        <di:waypoint x="475" y="240" />
        <di:waypoint x="552" y="240" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="504" y="222" width="19" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0qjn559_di" bpmnElement="Flow_0qjn559">
        <di:waypoint x="362" y="140" />
        <di:waypoint x="330" y="140" />
        <di:waypoint x="330" y="200" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
        <dc:Bounds x="152" y="222" width="36" height="36" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Event_0hlif3g_di" bpmnElement="Event_0hlif3g">
        <dc:Bounds x="552" y="222" width="36" height="36" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Gateway_17n7rct_di" bpmnElement="Gateway_17n7rct" isMarkerVisible="true">
        <dc:Bounds x="425" y="215" width="50" height="50" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_0vwgoyv_di" bpmnElement="Activity_1flba0w">
        <dc:Bounds x="280" y="200" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Event_1tsu29s_di" bpmnElement="Time_construct">
        <dc:Bounds x="362" y="122" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="343" y="165" width="76" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_0rbktv3_di" bpmnElement="EVENT_subprocess" isExpanded="true">
        <dc:Bounds x="240" y="310" width="350" height="200" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="Flow_1nqk3he_di" bpmnElement="Flow_1nqk3he">
        <di:waypoint x="316" y="410" />
        <di:waypoint x="370" y="410" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_1tokb5a_di" bpmnElement="Flow_1tokb5a">
        <di:waypoint x="470" y="410" />
        <di:waypoint x="532" y="410" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="Event_1x5oo1p_di" bpmnElement="Timer_subprocess">
        <dc:Bounds x="280" y="392" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="255" y="435" width="86" height="27" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Event_087bdlb_di" bpmnElement="Event_087bdlb">
        <dc:Bounds x="532" y="392" width="36" height="36" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_15hs4hv_di" bpmnElement="Timer_subprocess_delegate">
        <dc:Bounds x="370" y="370" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="Association_1wgd1l1_di" bpmnElement="Association_1wgd1l1">
        <di:waypoint x="281" y="404" />
        <di:waypoint x="213" y="380" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Association_0yt0pl5_di" bpmnElement="Association_0yt0pl5">
        <di:waypoint x="365" y="131" />
        <di:waypoint x="315" y="100" />
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</bpmn:definitions>
