<?xml version="1.0" encoding="UTF-8"?>
<bpmn2:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.omg.org/bpmn20" xmlns:bpmn2="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" xmlns:drools="http://www.jboss.org/drools" id="_WzEGwEfDEeGjb8xYmiSFmA" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd" expressionLanguage="http://www.mvel.org/2.0" targetNamespace="http://www.omg.org/bpmn20" typeLanguage="http://www.java.com/javaTypes">
  <bpmn2:itemDefinition id="_xItem" structureRef="String"/>
  <bpmn2:process id="TimerBoundaryEvent" drools:packageName="com.sample" name="Timer Boundary Event Process" isExecutable="true">
    <bpmn2:property id="x" itemSubjectRef="_xItem"/>
    <bpmn2:startEvent id="_9BAC4967-91B7-42E5-B986-619EAEDA86D6" name="StartProcess">
      <bpmn2:outgoing>_7C3BA50E-CB18-47D0-9942-610F97505F90</bpmn2:outgoing>
    </bpmn2:startEvent>
    <bpmn2:subProcess id="_880D5D4D-9963-4282-AB9A-0218B73EB5F5" name="Hello">
      <bpmn2:incoming>_7C3BA50E-CB18-47D0-9942-610F97505F90</bpmn2:incoming>
      <bpmn2:outgoing>_28573EF2-342A-41F4-8FA6-528B5E0FE9DB</bpmn2:outgoing>
      <bpmn2:startEvent id="_BF5BECEC-27E2-4DDE-884C-969CF9E9D55B" name="StartSubProcess">
        <bpmn2:outgoing>_CB68E8A7-B168-4A4C-9A8C-C0A9AB6595B8</bpmn2:outgoing>
      </bpmn2:startEvent>
      <bpmn2:task id="_79AC925C-4446-4DB2-9230-D59BF4B3A000" drools:taskName="MyTask" name="Task">
        <bpmn2:incoming>_CB68E8A7-B168-4A4C-9A8C-C0A9AB6595B8</bpmn2:incoming>
        <bpmn2:outgoing>_79AB140A-E493-4295-A8BB-D48F079E3AE6</bpmn2:outgoing>
        <bpmn2:ioSpecification id="_WzEGwUfDEeGjb8xYmiSFmA">
          <bpmn2:dataInput id="_79AC925C-4446-4DB2-9230-D59BF4B3A000_TaskNameInput" name="TaskName"/>
          <bpmn2:inputSet id="_WzEGwkfDEeGjb8xYmiSFmA"/>
          <bpmn2:outputSet id="_WzEGw0fDEeGjb8xYmiSFmA"/>
        </bpmn2:ioSpecification>
        <bpmn2:dataInputAssociation id="_WzEGxEfDEeGjb8xYmiSFmA">
          <bpmn2:targetRef>_79AC925C-4446-4DB2-9230-D59BF4B3A000_TaskNameInput</bpmn2:targetRef>
          <bpmn2:assignment id="_WzEGxUfDEeGjb8xYmiSFmA">
            <bpmn2:from xsi:type="bpmn2:tFormalExpression" id="_WzEGxkfDEeGjb8xYmiSFmA">MyTask</bpmn2:from>
            <bpmn2:to xsi:type="bpmn2:tFormalExpression" id="_WzEGx0fDEeGjb8xYmiSFmA">_79AC925C-4446-4DB2-9230-D59BF4B3A000_TaskNameInput</bpmn2:to>
          </bpmn2:assignment>
        </bpmn2:dataInputAssociation>
      </bpmn2:task>
      <bpmn2:endEvent id="_3DF3EC51-7B2C-4C42-9FA6-765C998EA0C7" name="EscalationEvent">
        <bpmn2:incoming>_79AB140A-E493-4295-A8BB-D48F079E3AE6</bpmn2:incoming>
      </bpmn2:endEvent>
      <bpmn2:sequenceFlow id="_CB68E8A7-B168-4A4C-9A8C-C0A9AB6595B8" sourceRef="_BF5BECEC-27E2-4DDE-884C-969CF9E9D55B" targetRef="_79AC925C-4446-4DB2-9230-D59BF4B3A000"/>
      <bpmn2:sequenceFlow id="_79AB140A-E493-4295-A8BB-D48F079E3AE6" sourceRef="_79AC925C-4446-4DB2-9230-D59BF4B3A000" targetRef="_3DF3EC51-7B2C-4C42-9FA6-765C998EA0C7"/>
    </bpmn2:subProcess>
    <bpmn2:endEvent id="_9ACF86EF-C1B0-4746-A043-08AE3A736F3F" name="EndProcess">
      <bpmn2:incoming>_28573EF2-342A-41F4-8FA6-528B5E0FE9DB</bpmn2:incoming>
      <bpmn2:terminateEventDefinition id="_WzEGyEfDEeGjb8xYmiSFmA"/>
    </bpmn2:endEvent>
    <bpmn2:scriptTask id="_141FDEAA-2A1E-4150-B701-93A410ACE91D" name="Goodbye" scriptFormat="http://www.java.com/java">
      <bpmn2:incoming>_9A8F06F0-0C83-4B4B-B8DB-5C924E4178EA</bpmn2:incoming>
      <bpmn2:outgoing>_F2AE8C91-FFA5-4640-B783-FFC6987F79CF</bpmn2:outgoing>
      <bpmn2:script>System.out.println("Timer handled");</bpmn2:script>
    </bpmn2:scriptTask>
    <bpmn2:endEvent id="_72B85F66-19AB-4256-9FB9-FB0A255B1276" name="EndProcess">
      <bpmn2:incoming>_F2AE8C91-FFA5-4640-B783-FFC6987F79CF</bpmn2:incoming>
      <bpmn2:terminateEventDefinition id="_WzEGyUfDEeGjb8xYmiSFmA"/>
    </bpmn2:endEvent>
    <bpmn2:sequenceFlow id="_7C3BA50E-CB18-47D0-9942-610F97505F90" sourceRef="_9BAC4967-91B7-42E5-B986-619EAEDA86D6" targetRef="_880D5D4D-9963-4282-AB9A-0218B73EB5F5"/>
    <bpmn2:sequenceFlow id="_28573EF2-342A-41F4-8FA6-528B5E0FE9DB" sourceRef="_880D5D4D-9963-4282-AB9A-0218B73EB5F5" targetRef="_9ACF86EF-C1B0-4746-A043-08AE3A736F3F"/>
    <bpmn2:sequenceFlow id="_9A8F06F0-0C83-4B4B-B8DB-5C924E4178EA" sourceRef="_9FA766DE-C0EB-443C-89E8-DECF90983088" targetRef="_141FDEAA-2A1E-4150-B701-93A410ACE91D"/>
    <bpmn2:sequenceFlow id="_F2AE8C91-FFA5-4640-B783-FFC6987F79CF" sourceRef="_141FDEAA-2A1E-4150-B701-93A410ACE91D" targetRef="_72B85F66-19AB-4256-9FB9-FB0A255B1276"/>
    <bpmn2:boundaryEvent id="_9FA766DE-C0EB-443C-89E8-DECF90983088" name="TimerEvent" attachedToRef="_880D5D4D-9963-4282-AB9A-0218B73EB5F5">
      <bpmn2:outgoing>_9A8F06F0-0C83-4B4B-B8DB-5C924E4178EA</bpmn2:outgoing>
      <bpmn2:timerEventDefinition id="_WzEGykfDEeGjb8xYmiSFmA">
        <bpmn2:timeCycle xsi:type="bpmn2:tFormalExpression" id="_WzEGy0fDEeGjb8xYmiSFmA">500ms</bpmn2:timeCycle>
      </bpmn2:timerEventDefinition>
    </bpmn2:boundaryEvent>
  </bpmn2:process>
  <bpmndi:BPMNDiagram id="_WzEGzEfDEeGjb8xYmiSFmA">
    <bpmndi:BPMNPlane id="_WzEGzUfDEeGjb8xYmiSFmA" bpmnElement="TimerBoundaryEvent">
      <bpmndi:BPMNShape id="_WzEGzkfDEeGjb8xYmiSFmA" bpmnElement="_9BAC4967-91B7-42E5-B986-619EAEDA86D6">
        <dc:Bounds height="30.0" width="30.0" x="33.0" y="98.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_WzEt0EfDEeGjb8xYmiSFmA" bpmnElement="_880D5D4D-9963-4282-AB9A-0218B73EB5F5">
        <dc:Bounds height="187.0" width="223.0" x="101.0" y="18.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_WzEt0UfDEeGjb8xYmiSFmA" bpmnElement="_BF5BECEC-27E2-4DDE-884C-969CF9E9D55B">
        <dc:Bounds height="30.0" width="30.0" x="19.0" y="42.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_WzEt0kfDEeGjb8xYmiSFmA" bpmnElement="_79AC925C-4446-4DB2-9230-D59BF4B3A000">
        <dc:Bounds height="48.0" width="100.0" x="79.0" y="33.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_WzEt00fDEeGjb8xYmiSFmA" bpmnElement="_3DF3EC51-7B2C-4C42-9FA6-765C998EA0C7">
        <dc:Bounds height="28.0" width="28.0" x="97.0" y="117.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="_WzEt1EfDEeGjb8xYmiSFmA" bpmnElement="_CB68E8A7-B168-4A4C-9A8C-C0A9AB6595B8">
        <di:waypoint xsi:type="dc:Point" x="34.0" y="57.0"/>
        <di:waypoint xsi:type="dc:Point" x="129.0" y="57.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="_WzEt1UfDEeGjb8xYmiSFmA" bpmnElement="_79AB140A-E493-4295-A8BB-D48F079E3AE6">
        <di:waypoint xsi:type="dc:Point" x="129.0" y="57.0"/>
        <di:waypoint xsi:type="dc:Point" x="304.0" y="75.0"/>
        <di:waypoint xsi:type="dc:Point" x="304.0" y="149.0"/>
        <di:waypoint xsi:type="dc:Point" x="111.0" y="131.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="_WzEt1kfDEeGjb8xYmiSFmA" bpmnElement="_9ACF86EF-C1B0-4746-A043-08AE3A736F3F">
        <dc:Bounds height="28.0" width="28.0" x="366.0" y="98.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_WzEt10fDEeGjb8xYmiSFmA" bpmnElement="_141FDEAA-2A1E-4150-B701-93A410ACE91D">
        <dc:Bounds height="48.0" width="100.0" x="247.0" y="257.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_WzEt2EfDEeGjb8xYmiSFmA" bpmnElement="_72B85F66-19AB-4256-9FB9-FB0A255B1276">
        <dc:Bounds height="28.0" width="28.0" x="394.0" y="266.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="_WzEt2UfDEeGjb8xYmiSFmA" bpmnElement="_7C3BA50E-CB18-47D0-9942-610F97505F90">
        <di:waypoint xsi:type="dc:Point" x="48.0" y="113.0"/>
        <di:waypoint xsi:type="dc:Point" x="212.5" y="111.5"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="_WzEt2kfDEeGjb8xYmiSFmA" bpmnElement="_28573EF2-342A-41F4-8FA6-528B5E0FE9DB">
        <di:waypoint xsi:type="dc:Point" x="212.5" y="111.5"/>
        <di:waypoint xsi:type="dc:Point" x="380.0" y="112.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="_WzEt20fDEeGjb8xYmiSFmA" bpmnElement="_9A8F06F0-0C83-4B4B-B8DB-5C924E4178EA">
        <di:waypoint xsi:type="dc:Point" x="295.0" y="205.0"/>
        <di:waypoint xsi:type="dc:Point" x="297.0" y="281.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="_WzEt3EfDEeGjb8xYmiSFmA" bpmnElement="_F2AE8C91-FFA5-4640-B783-FFC6987F79CF">
        <di:waypoint xsi:type="dc:Point" x="297.0" y="281.0"/>
        <di:waypoint xsi:type="dc:Point" x="408.0" y="280.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="_WzEt3UfDEeGjb8xYmiSFmA" bpmnElement="_9FA766DE-C0EB-443C-89E8-DECF90983088">
        <dc:Bounds height="30.0" width="30.0" x="280.0" y="190.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="_WzEt3kfDEeGjb8xYmiSFmA" bpmnElement="_9FA766DE-C0EB-443C-89E8-DECF90983088">
        <di:waypoint xsi:type="dc:Point" x="190.0" y="182.0"/>
        <di:waypoint xsi:type="dc:Point" x="190.0" y="182.0"/>
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</bpmn2:definitions>
