<?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="_tU6iIEcKEeG-Z8AhuVIXaA" 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"/>
  <bpmn2:itemDefinition id="HelloMessageType"/>
  <bpmn2:message id="HelloMessage" itemRef="HelloMessageType"/>
  <bpmn2:process id="IntermediateCatchEvent" drools:packageName="com.sample" name="IntermediateCatchEvent Process" isExecutable="true">
    <bpmn2:extensionElements>
      <drools:import name="java.util.List"/>
      <drools:import name="java.util.ArrayList"/>
    </bpmn2:extensionElements>
    <bpmn2:property id="x" itemSubjectRef="_xItem"/>
    <bpmn2:startEvent id="_1BEFCC74-8DE2-493B-B2B9-0C0EE9622D7B" name="StartProcess">
      <bpmn2:outgoing>_9AB81874-BE5D-4BAD-A39F-0B52A5F5DC42</bpmn2:outgoing>
    </bpmn2:startEvent>
    <bpmn2:userTask id="_3530D805-FB40-49F5-AE6A-FB8D151E2BD8" drools:scriptFormat="http://www.java.com/java" name="UserTask">
      <bpmn2:incoming>_9AB81874-BE5D-4BAD-A39F-0B52A5F5DC42</bpmn2:incoming>
      <bpmn2:outgoing>_2C882A32-F9AD-4DEE-AC10-53B703D5A8AF</bpmn2:outgoing>
    </bpmn2:userTask>
    <bpmn2:endEvent id="_6DBE72D0-7466-474E-A9CA-E1D79E36144F" name="EndProcess">
      <bpmn2:incoming>_2C882A32-F9AD-4DEE-AC10-53B703D5A8AF</bpmn2:incoming>
    </bpmn2:endEvent>
    <bpmn2:intermediateCatchEvent id="_15D92563-045D-40F2-B881-590375A941EC" name="event">
      <bpmn2:outgoing>_A2B21DB3-D566-4B6D-83D6-8D571FA42379</bpmn2:outgoing>
      <bpmn2:dataOutput id="_15D92563-045D-40F2-B881-590375A941EC_event" name="event"/>
      <bpmn2:dataOutputAssociation id="_tU7JMUcKEeG-Z8AhuVIXaA">
        <bpmn2:sourceRef>_15D92563-045D-40F2-B881-590375A941EC_event</bpmn2:sourceRef>
        <bpmn2:targetRef>x</bpmn2:targetRef>
      </bpmn2:dataOutputAssociation>
      <bpmn2:outputSet id="_tU7JMEcKEeG-Z8AhuVIXaA">
        <bpmn2:dataOutputRefs>_15D92563-045D-40F2-B881-590375A941EC_event</bpmn2:dataOutputRefs>
      </bpmn2:outputSet>
      <bpmn2:messageEventDefinition id="_tU7JMkcKEeG-Z8AhuVIXaA" drools:msgref="HelloMessage" messageRef="HelloMessage"/>
    </bpmn2:intermediateCatchEvent>
    <bpmn2:scriptTask id="_1EF834EC-E500-48EC-9D43-D26C57DDDFBA" name="Event" scriptFormat="http://www.java.com/java">
      <bpmn2:incoming>_A2B21DB3-D566-4B6D-83D6-8D571FA42379</bpmn2:incoming>
      <bpmn2:outgoing>_920DD73E-EEFC-4D7F-B6E7-10165703431F</bpmn2:outgoing>
      <bpmn2:script>System.out.println(x);</bpmn2:script>
    </bpmn2:scriptTask>
    <bpmn2:endEvent id="_301F0838-4C2B-44D1-B6A6-25167ED2EED6" name="EndProcess">
      <bpmn2:incoming>_920DD73E-EEFC-4D7F-B6E7-10165703431F</bpmn2:incoming>
      <bpmn2:terminateEventDefinition id="_tU7JM0cKEeG-Z8AhuVIXaA"/>
    </bpmn2:endEvent>
    <bpmn2:sequenceFlow id="_9AB81874-BE5D-4BAD-A39F-0B52A5F5DC42" sourceRef="_1BEFCC74-8DE2-493B-B2B9-0C0EE9622D7B" targetRef="_3530D805-FB40-49F5-AE6A-FB8D151E2BD8"/>
    <bpmn2:sequenceFlow id="_2C882A32-F9AD-4DEE-AC10-53B703D5A8AF" sourceRef="_3530D805-FB40-49F5-AE6A-FB8D151E2BD8" targetRef="_6DBE72D0-7466-474E-A9CA-E1D79E36144F"/>
    <bpmn2:sequenceFlow id="_A2B21DB3-D566-4B6D-83D6-8D571FA42379" sourceRef="_15D92563-045D-40F2-B881-590375A941EC" targetRef="_1EF834EC-E500-48EC-9D43-D26C57DDDFBA"/>
    <bpmn2:sequenceFlow id="_920DD73E-EEFC-4D7F-B6E7-10165703431F" sourceRef="_1EF834EC-E500-48EC-9D43-D26C57DDDFBA" targetRef="_301F0838-4C2B-44D1-B6A6-25167ED2EED6"/>
  </bpmn2:process>
  <bpmndi:BPMNDiagram id="_tU7JNEcKEeG-Z8AhuVIXaA">
    <bpmndi:BPMNPlane id="_tU7JNUcKEeG-Z8AhuVIXaA" bpmnElement="IntermediateCatchEvent">
      <bpmndi:BPMNShape id="_tU7JNkcKEeG-Z8AhuVIXaA" bpmnElement="_1BEFCC74-8DE2-493B-B2B9-0C0EE9622D7B">
        <dc:Bounds height="30.0" width="30.0" x="25.0" y="25.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_tU7JN0cKEeG-Z8AhuVIXaA" bpmnElement="_3530D805-FB40-49F5-AE6A-FB8D151E2BD8">
        <dc:Bounds height="48.0" width="100.0" x="96.0" y="16.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_tU7JOEcKEeG-Z8AhuVIXaA" bpmnElement="_6DBE72D0-7466-474E-A9CA-E1D79E36144F">
        <dc:Bounds height="28.0" width="28.0" x="237.0" y="25.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_tU7JOUcKEeG-Z8AhuVIXaA" bpmnElement="_15D92563-045D-40F2-B881-590375A941EC">
        <dc:Bounds height="30.0" width="30.0" x="25.0" y="105.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_tU7JOkcKEeG-Z8AhuVIXaA" bpmnElement="_1EF834EC-E500-48EC-9D43-D26C57DDDFBA">
        <dc:Bounds height="48.0" width="100.0" x="96.0" y="96.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_tU7JO0cKEeG-Z8AhuVIXaA" bpmnElement="_301F0838-4C2B-44D1-B6A6-25167ED2EED6">
        <dc:Bounds height="28.0" width="28.0" x="237.0" y="105.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="_tU7JPEcKEeG-Z8AhuVIXaA" bpmnElement="_9AB81874-BE5D-4BAD-A39F-0B52A5F5DC42">
        <di:waypoint xsi:type="dc:Point" x="40.0" y="40.0"/>
        <di:waypoint xsi:type="dc:Point" x="146.0" y="40.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="_tU7JPUcKEeG-Z8AhuVIXaA" bpmnElement="_2C882A32-F9AD-4DEE-AC10-53B703D5A8AF">
        <di:waypoint xsi:type="dc:Point" x="146.0" y="40.0"/>
        <di:waypoint xsi:type="dc:Point" x="251.0" y="39.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="_tU7JPkcKEeG-Z8AhuVIXaA" bpmnElement="_A2B21DB3-D566-4B6D-83D6-8D571FA42379">
        <di:waypoint xsi:type="dc:Point" x="40.0" y="120.0"/>
        <di:waypoint xsi:type="dc:Point" x="146.0" y="120.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="_tU7JP0cKEeG-Z8AhuVIXaA" bpmnElement="_920DD73E-EEFC-4D7F-B6E7-10165703431F">
        <di:waypoint xsi:type="dc:Point" x="146.0" y="120.0"/>
        <di:waypoint xsi:type="dc:Point" x="251.0" y="119.0"/>
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</bpmn2:definitions>
