<?xml version="1.0" encoding="UTF-8"?>
<!-- origin at X=0.0 Y=0.0 -->
<bpmn2:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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:java="http://www.java.com/javaTypes" xmlns:tns="http://www.jboss.org/drools" xmlns="http://www.jboss.org/drools" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd http://www.jboss.org/drools drools.xsd http://www.bpsim.org/schemas/1.0 bpsim.xsd" id="Definitions_1" exporter="org.eclipse.bpmn2.modeler.core" exporterVersion="1.4.3.Final-v20180418-1358-B1" expressionLanguage="http://www.mvel.org/2.0" targetNamespace="http://www.jboss.org/drools" typeLanguage="http://www.java.com/javaTypes">
  <bpmn2:itemDefinition id="ItemDefinition_28" isCollection="false" structureRef="java.lang.String"/>
  <bpmn2:itemDefinition id="ItemDefinition_29" isCollection="false" structureRef="java.lang.Integer"/>
  <bpmn2:itemDefinition id="ItemDefinition_30" isCollection="false" structureRef="java.lang.Boolean"/>
  <bpmn2:signal id="Signal_1" name="subprocessSignal"/>
  <bpmn2:process id="SubprocessSignalProcess" tns:version="1" tns:packageName="defaultPackage" name="Default Process" isExecutable="false">
    <bpmn2:startEvent id="StartEvent_1" name="start">
      <bpmn2:extensionElements>
        <tns:metaData name="elementname">
          <tns:metaValue><![CDATA[start]]></tns:metaValue>
        </tns:metaData>
      </bpmn2:extensionElements>
      <bpmn2:outgoing>SequenceFlow_5</bpmn2:outgoing>
    </bpmn2:startEvent>
    <bpmn2:endEvent id="EndEvent_1" name="end">
      <bpmn2:extensionElements>
        <tns:metaData name="elementname">
          <tns:metaValue><![CDATA[end]]></tns:metaValue>
        </tns:metaData>
      </bpmn2:extensionElements>
      <bpmn2:incoming>SequenceFlow_6</bpmn2:incoming>
    </bpmn2:endEvent>
    <bpmn2:subProcess id="SubProcess_1" name="Sub Process 1" triggeredByEvent="true">
      <bpmn2:extensionElements>
        <tns:metaData name="elementname">
          <tns:metaValue><![CDATA[Sub Process 1]]></tns:metaValue>
        </tns:metaData>
      </bpmn2:extensionElements>
      <bpmn2:startEvent id="StartEvent_2" name="start-sub" isInterrupting="false">
        <bpmn2:extensionElements>
          <tns:metaData name="elementname">
            <tns:metaValue><![CDATA[start-sub]]></tns:metaValue>
          </tns:metaData>
        </bpmn2:extensionElements>
        <bpmn2:outgoing>SequenceFlow_3</bpmn2:outgoing>
        <bpmn2:signalEventDefinition id="SignalEventDefinition_1" signalRef="Signal_1"/>
      </bpmn2:startEvent>
      <bpmn2:scriptTask id="ScriptTask_1" name="sub-script">
        <bpmn2:extensionElements>
          <tns:metaData name="elementname">
            <tns:metaValue><![CDATA[sub-script]]></tns:metaValue>
          </tns:metaData>
        </bpmn2:extensionElements>
        <bpmn2:incoming>SequenceFlow_3</bpmn2:incoming>
        <bpmn2:outgoing>SequenceFlow_4</bpmn2:outgoing>
        <bpmn2:script>System.out.println(&quot;Event sub process triggered&quot;);</bpmn2:script>
      </bpmn2:scriptTask>
      <bpmn2:sequenceFlow id="SequenceFlow_3" tns:priority="1" sourceRef="StartEvent_2" targetRef="ScriptTask_1"/>
      <bpmn2:endEvent id="EndEvent_2" name="end-sub">
        <bpmn2:extensionElements>
          <tns:metaData name="elementname">
            <tns:metaValue><![CDATA[end-sub]]></tns:metaValue>
          </tns:metaData>
        </bpmn2:extensionElements>
        <bpmn2:incoming>SequenceFlow_4</bpmn2:incoming>
      </bpmn2:endEvent>
      <bpmn2:sequenceFlow id="SequenceFlow_4" tns:priority="1" sourceRef="ScriptTask_1" targetRef="EndEvent_2"/>
    </bpmn2:subProcess>
    <bpmn2:userTask id="UserTask_2" name="User Task 2">
      <bpmn2:extensionElements>
        <tns:metaData name="elementname">
          <tns:metaValue><![CDATA[User Task 2]]></tns:metaValue>
        </tns:metaData>
      </bpmn2:extensionElements>
      <bpmn2:incoming>SequenceFlow_5</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_6</bpmn2:outgoing>
      <bpmn2:ioSpecification id="InputOutputSpecification_5">
        <bpmn2:dataInput id="DataInput_28" itemSubjectRef="ItemDefinition_28" name="TaskName"/>
        <bpmn2:dataInput id="DataInput_29" itemSubjectRef="ItemDefinition_29" name="Priority"/>
        <bpmn2:dataInput id="DataInput_30" itemSubjectRef="ItemDefinition_28" name="Comment"/>
        <bpmn2:dataInput id="DataInput_31" itemSubjectRef="ItemDefinition_28" name="Description"/>
        <bpmn2:dataInput id="DataInput_32" itemSubjectRef="ItemDefinition_28" name="GroupId"/>
        <bpmn2:dataInput id="DataInput_33" itemSubjectRef="ItemDefinition_30" name="Skippable"/>
        <bpmn2:dataInput id="DataInput_34" itemSubjectRef="ItemDefinition_28" name="Content"/>
        <bpmn2:dataInput id="DataInput_35" itemSubjectRef="ItemDefinition_28" name="Locale"/>
        <bpmn2:dataInput id="DataInput_36" itemSubjectRef="ItemDefinition_28" name="CreatedBy"/>
        <bpmn2:inputSet id="_InputSet_2">
          <bpmn2:dataInputRefs>DataInput_28</bpmn2:dataInputRefs>
          <bpmn2:dataInputRefs>DataInput_29</bpmn2:dataInputRefs>
          <bpmn2:dataInputRefs>DataInput_30</bpmn2:dataInputRefs>
          <bpmn2:dataInputRefs>DataInput_31</bpmn2:dataInputRefs>
          <bpmn2:dataInputRefs>DataInput_32</bpmn2:dataInputRefs>
          <bpmn2:dataInputRefs>DataInput_33</bpmn2:dataInputRefs>
          <bpmn2:dataInputRefs>DataInput_34</bpmn2:dataInputRefs>
          <bpmn2:dataInputRefs>DataInput_35</bpmn2:dataInputRefs>
          <bpmn2:dataInputRefs>DataInput_36</bpmn2:dataInputRefs>
        </bpmn2:inputSet>
        <bpmn2:outputSet id="OutputSet_5" name="Output Set"/>
      </bpmn2:ioSpecification>
      <bpmn2:dataInputAssociation id="DataInputAssociation_1">
        <bpmn2:targetRef>DataInput_28</bpmn2:targetRef>
        <bpmn2:assignment id="Assignment_1">
          <bpmn2:from xsi:type="bpmn2:tFormalExpression" id="FormalExpression_1">Task Name</bpmn2:from>
          <bpmn2:to xsi:type="bpmn2:tFormalExpression" id="FormalExpression_2">DataInput_28</bpmn2:to>
        </bpmn2:assignment>
      </bpmn2:dataInputAssociation>
      <bpmn2:dataInputAssociation id="DataInputAssociation_2">
        <bpmn2:targetRef>DataInput_29</bpmn2:targetRef>
        <bpmn2:assignment id="Assignment_2">
          <bpmn2:from xsi:type="bpmn2:tFormalExpression" id="FormalExpression_3">1</bpmn2:from>
          <bpmn2:to xsi:type="bpmn2:tFormalExpression" id="FormalExpression_4">DataInput_29</bpmn2:to>
        </bpmn2:assignment>
      </bpmn2:dataInputAssociation>
      <bpmn2:dataInputAssociation id="DataInputAssociation_3">
        <bpmn2:targetRef>DataInput_30</bpmn2:targetRef>
      </bpmn2:dataInputAssociation>
      <bpmn2:dataInputAssociation id="DataInputAssociation_4">
        <bpmn2:targetRef>DataInput_31</bpmn2:targetRef>
      </bpmn2:dataInputAssociation>
      <bpmn2:dataInputAssociation id="DataInputAssociation_5">
        <bpmn2:targetRef>DataInput_32</bpmn2:targetRef>
      </bpmn2:dataInputAssociation>
      <bpmn2:dataInputAssociation id="DataInputAssociation_6">
        <bpmn2:targetRef>DataInput_33</bpmn2:targetRef>
        <bpmn2:assignment id="Assignment_6">
          <bpmn2:from xsi:type="bpmn2:tFormalExpression" id="FormalExpression_11">true</bpmn2:from>
          <bpmn2:to xsi:type="bpmn2:tFormalExpression" id="FormalExpression_12">DataInput_33</bpmn2:to>
        </bpmn2:assignment>
      </bpmn2:dataInputAssociation>
      <bpmn2:dataInputAssociation id="DataInputAssociation_7">
        <bpmn2:targetRef>DataInput_34</bpmn2:targetRef>
      </bpmn2:dataInputAssociation>
      <bpmn2:dataInputAssociation id="DataInputAssociation_8">
        <bpmn2:targetRef>DataInput_35</bpmn2:targetRef>
        <bpmn2:assignment id="Assignment_8">
          <bpmn2:from xsi:type="bpmn2:tFormalExpression" id="FormalExpression_15">en-UK</bpmn2:from>
          <bpmn2:to xsi:type="bpmn2:tFormalExpression" id="FormalExpression_16">DataInput_35</bpmn2:to>
        </bpmn2:assignment>
      </bpmn2:dataInputAssociation>
      <bpmn2:dataInputAssociation id="DataInputAssociation_9">
        <bpmn2:targetRef>DataInput_36</bpmn2:targetRef>
      </bpmn2:dataInputAssociation>
      <bpmn2:potentialOwner id="PotentialOwner_1" name="Potential Owner 1">
        <bpmn2:resourceAssignmentExpression id="ResourceAssignmentExpression_1">
          <bpmn2:formalExpression id="FormalExpression_19">john</bpmn2:formalExpression>
        </bpmn2:resourceAssignmentExpression>
      </bpmn2:potentialOwner>
    </bpmn2:userTask>
    <bpmn2:sequenceFlow id="SequenceFlow_5" tns:priority="1" sourceRef="StartEvent_1" targetRef="UserTask_2"/>
    <bpmn2:sequenceFlow id="SequenceFlow_6" tns:priority="1" sourceRef="UserTask_2" targetRef="EndEvent_1"/>
  </bpmn2:process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_1" name="Default Process Diagram">
    <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="SubprocessSignalProcess">
      <bpmndi:BPMNShape id="BPMNShape_SubProcess_1" bpmnElement="SubProcess_1" isExpanded="true">
        <dc:Bounds height="131.0" width="381.0" x="180.0" y="240.0"/>
        <bpmndi:BPMNLabel>
          <dc:Bounds height="18.0" width="97.0" x="186.0" y="243.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_1" bpmnElement="StartEvent_1">
        <dc:Bounds height="36.0" width="36.0" x="100.0" y="100.0"/>
        <bpmndi:BPMNLabel>
          <dc:Bounds height="18.0" width="29.0" x="103.0" y="136.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_2" bpmnElement="EndEvent_1">
        <dc:Bounds height="36.0" width="36.0" x="500.0" y="100.0"/>
        <bpmndi:BPMNLabel>
          <dc:Bounds height="18.0" width="24.0" x="506.0" y="136.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_StartEvent_1" bpmnElement="StartEvent_2">
        <dc:Bounds height="36.0" width="36.0" x="232.0" y="287.0"/>
        <bpmndi:BPMNLabel>
          <dc:Bounds height="18.0" width="58.0" x="221.0" y="323.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_ScriptTask_1" bpmnElement="ScriptTask_1">
        <dc:Bounds height="50.0" width="110.0" x="318.0" y="280.0"/>
        <bpmndi:BPMNLabel>
          <dc:Bounds height="18.0" width="65.0" x="340.0" y="296.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_EndEvent_1" bpmnElement="EndEvent_2">
        <dc:Bounds height="36.0" width="36.0" x="478.0" y="287.0"/>
        <bpmndi:BPMNLabel>
          <dc:Bounds height="18.0" width="53.0" x="470.0" y="323.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_UserTask_2" bpmnElement="UserTask_2" isExpanded="true">
        <dc:Bounds height="50.0" width="110.0" x="260.0" y="93.0"/>
        <bpmndi:BPMNLabel>
          <dc:Bounds height="18.0" width="79.0" x="275.0" y="109.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_3" bpmnElement="SequenceFlow_3" sourceElement="BPMNShape_StartEvent_1" targetElement="BPMNShape_ScriptTask_1">
        <di:waypoint xsi:type="dc:Point" x="268.0" y="305.0"/>
        <di:waypoint xsi:type="dc:Point" x="318.0" y="305.0"/>
        <bpmndi:BPMNLabel/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_4" bpmnElement="SequenceFlow_4" sourceElement="BPMNShape_ScriptTask_1" targetElement="BPMNShape_EndEvent_1">
        <di:waypoint xsi:type="dc:Point" x="428.0" y="305.0"/>
        <di:waypoint xsi:type="dc:Point" x="478.0" y="305.0"/>
        <bpmndi:BPMNLabel/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_5" bpmnElement="SequenceFlow_5" sourceElement="BPMNShape_1" targetElement="BPMNShape_UserTask_2">
        <di:waypoint xsi:type="dc:Point" x="136.0" y="118.0"/>
        <di:waypoint xsi:type="dc:Point" x="198.0" y="118.0"/>
        <di:waypoint xsi:type="dc:Point" x="260.0" y="118.0"/>
        <bpmndi:BPMNLabel/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_6" bpmnElement="SequenceFlow_6" sourceElement="BPMNShape_UserTask_2" targetElement="BPMNShape_2">
        <di:waypoint xsi:type="dc:Point" x="370.0" y="118.0"/>
        <di:waypoint xsi:type="dc:Point" x="435.0" y="118.0"/>
        <di:waypoint xsi:type="dc:Point" x="500.0" y="118.0"/>
        <bpmndi:BPMNLabel/>
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</bpmn2:definitions>