|  | @@ -0,0 +1,179 @@
 | 
	
		
			
				|  |  | +<?xml version="1.0" encoding="UTF-8"?>
 | 
	
		
			
				|  |  | +<bpmn2:definitions xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:bpsim="http://www.bpsim.org/schemas/1.0" 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" xmlns:xsi="xsi" id="_ic0z4OouEDqmQv_npA3Sew" 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 http://www.omg.org/spec/DD/20100524/DC DC.xsd http://www.omg.org/spec/DD/20100524/DI DI.xsd " exporter="jBPM Process Modeler" exporterVersion="2.0" targetNamespace="http://www.omg.org/bpmn20">
 | 
	
		
			
				|  |  | +  <bpmn2:itemDefinition id="__8FA30527-0154-4D40-9194-0D8DDB10D56F_namespaceInputXItem" structureRef="java.lang.String"/>
 | 
	
		
			
				|  |  | +  <bpmn2:itemDefinition id="__8FA30527-0154-4D40-9194-0D8DDB10D56F_modelInputXItem" structureRef="java.lang.String"/>
 | 
	
		
			
				|  |  | +  <bpmn2:itemDefinition id="__8FA30527-0154-4D40-9194-0D8DDB10D56F_decisionInputXItem" structureRef="java.lang.String"/>
 | 
	
		
			
				|  |  | +  <bpmn2:itemDefinition id="__77839E76-5C5B-47A6-A6C4-19A002783744_namespaceInputXItem" structureRef="java.lang.String"/>
 | 
	
		
			
				|  |  | +  <bpmn2:itemDefinition id="__77839E76-5C5B-47A6-A6C4-19A002783744_modelInputXItem" structureRef="java.lang.String"/>
 | 
	
		
			
				|  |  | +  <bpmn2:itemDefinition id="__77839E76-5C5B-47A6-A6C4-19A002783744_decisionInputXItem" structureRef="java.lang.String"/>
 | 
	
		
			
				|  |  | +  <bpmn2:itemDefinition id="__C99FFBCC-5EC8-4F46-8D20-B764C27B552F_namespaceInputXItem" structureRef="java.lang.String"/>
 | 
	
		
			
				|  |  | +  <bpmn2:itemDefinition id="__C99FFBCC-5EC8-4F46-8D20-B764C27B552F_modelInputXItem" structureRef="java.lang.String"/>
 | 
	
		
			
				|  |  | +  <bpmn2:itemDefinition id="__C99FFBCC-5EC8-4F46-8D20-B764C27B552F_decisionInputXItem" structureRef="java.lang.String"/>
 | 
	
		
			
				|  |  | +  <bpmn2:collaboration id="_79DC6814-EF64-42E8-A295-C67E34FB9816" name="Default Collaboration">
 | 
	
		
			
				|  |  | +    <bpmn2:participant id="_98A4FA78-871C-4258-89F9-0CA875A8D03E" name="Pool Participant" processRef="processTicket"/>
 | 
	
		
			
				|  |  | +  </bpmn2:collaboration>
 | 
	
		
			
				|  |  | +  <bpmn2:process id="processTicket" drools:packageName="com.redhat.training.rules" drools:version="1.0" drools:adHoc="false" name="ticket-processing" isExecutable="true" processType="Public">
 | 
	
		
			
				|  |  | +    <bpmn2:sequenceFlow id="_71A04A0C-E4A0-4E1F-B1DF-1670444DFCB3" sourceRef="_C99FFBCC-5EC8-4F46-8D20-B764C27B552F" targetRef="_6996926E-F83D-411A-A6D8-531B36856985">
 | 
	
		
			
				|  |  | +      <bpmn2:extensionElements>
 | 
	
		
			
				|  |  | +        <drools:metaData name="isAutoConnection.target">
 | 
	
		
			
				|  |  | +          <drools:metaValue><![CDATA[true]]></drools:metaValue>
 | 
	
		
			
				|  |  | +        </drools:metaData>
 | 
	
		
			
				|  |  | +      </bpmn2:extensionElements>
 | 
	
		
			
				|  |  | +    </bpmn2:sequenceFlow>
 | 
	
		
			
				|  |  | +    <bpmn2:sequenceFlow id="_940099C8-D7AB-4C47-B637-635ADBBE1DAE" sourceRef="_77839E76-5C5B-47A6-A6C4-19A002783744" targetRef="_C99FFBCC-5EC8-4F46-8D20-B764C27B552F"/>
 | 
	
		
			
				|  |  | +    <bpmn2:sequenceFlow id="_BEEC9DB5-3B66-4ABB-A435-8BD6C63AA5B5" sourceRef="_8FA30527-0154-4D40-9194-0D8DDB10D56F" targetRef="_77839E76-5C5B-47A6-A6C4-19A002783744">
 | 
	
		
			
				|  |  | +      <bpmn2:extensionElements>
 | 
	
		
			
				|  |  | +        <drools:metaData name="isAutoConnection.target">
 | 
	
		
			
				|  |  | +          <drools:metaValue><![CDATA[true]]></drools:metaValue>
 | 
	
		
			
				|  |  | +        </drools:metaData>
 | 
	
		
			
				|  |  | +      </bpmn2:extensionElements>
 | 
	
		
			
				|  |  | +    </bpmn2:sequenceFlow>
 | 
	
		
			
				|  |  | +    <bpmn2:sequenceFlow id="_87BBD7D5-BF5F-4609-9909-08D681E3F205" sourceRef="_8C33E05A-8FF6-4632-93F6-E7D0F7EE8F7A" targetRef="_8FA30527-0154-4D40-9194-0D8DDB10D56F"/>
 | 
	
		
			
				|  |  | +    <bpmn2:endEvent id="_6996926E-F83D-411A-A6D8-531B36856985">
 | 
	
		
			
				|  |  | +      <bpmn2:incoming>_71A04A0C-E4A0-4E1F-B1DF-1670444DFCB3</bpmn2:incoming>
 | 
	
		
			
				|  |  | +    </bpmn2:endEvent>
 | 
	
		
			
				|  |  | +    <bpmn2:businessRuleTask id="_C99FFBCC-5EC8-4F46-8D20-B764C27B552F" drools:ruleFlowGroup="discount" name="Discount Rules" implementation="http://www.jboss.org/drools/rule">
 | 
	
		
			
				|  |  | +      <bpmn2:extensionElements>
 | 
	
		
			
				|  |  | +        <drools:metaData name="elementname">
 | 
	
		
			
				|  |  | +          <drools:metaValue><![CDATA[Discount Rules]]></drools:metaValue>
 | 
	
		
			
				|  |  | +        </drools:metaData>
 | 
	
		
			
				|  |  | +      </bpmn2:extensionElements>
 | 
	
		
			
				|  |  | +      <bpmn2:incoming>_940099C8-D7AB-4C47-B637-635ADBBE1DAE</bpmn2:incoming>
 | 
	
		
			
				|  |  | +      <bpmn2:outgoing>_71A04A0C-E4A0-4E1F-B1DF-1670444DFCB3</bpmn2:outgoing>
 | 
	
		
			
				|  |  | +    </bpmn2:businessRuleTask>
 | 
	
		
			
				|  |  | +    <bpmn2:businessRuleTask id="_77839E76-5C5B-47A6-A6C4-19A002783744" drools:ruleFlowGroup="loyalty" name="Loyalty Rules" implementation="http://www.jboss.org/drools/rule">
 | 
	
		
			
				|  |  | +      <bpmn2:extensionElements>
 | 
	
		
			
				|  |  | +        <drools:metaData name="elementname">
 | 
	
		
			
				|  |  | +          <drools:metaValue><![CDATA[Loyalty Rules]]></drools:metaValue>
 | 
	
		
			
				|  |  | +        </drools:metaData>
 | 
	
		
			
				|  |  | +      </bpmn2:extensionElements>
 | 
	
		
			
				|  |  | +      <bpmn2:incoming>_BEEC9DB5-3B66-4ABB-A435-8BD6C63AA5B5</bpmn2:incoming>
 | 
	
		
			
				|  |  | +      <bpmn2:outgoing>_940099C8-D7AB-4C47-B637-635ADBBE1DAE</bpmn2:outgoing>
 | 
	
		
			
				|  |  | +    </bpmn2:businessRuleTask>
 | 
	
		
			
				|  |  | +    <bpmn2:businessRuleTask id="_8FA30527-0154-4D40-9194-0D8DDB10D56F" drools:ruleFlowGroup="sanity" name="Sanity Rules" implementation="http://www.jboss.org/drools/rule">
 | 
	
		
			
				|  |  | +      <bpmn2:extensionElements>
 | 
	
		
			
				|  |  | +        <drools:metaData name="elementname">
 | 
	
		
			
				|  |  | +          <drools:metaValue><![CDATA[Sanity Rules]]></drools:metaValue>
 | 
	
		
			
				|  |  | +        </drools:metaData>
 | 
	
		
			
				|  |  | +      </bpmn2:extensionElements>
 | 
	
		
			
				|  |  | +      <bpmn2:incoming>_87BBD7D5-BF5F-4609-9909-08D681E3F205</bpmn2:incoming>
 | 
	
		
			
				|  |  | +      <bpmn2:outgoing>_BEEC9DB5-3B66-4ABB-A435-8BD6C63AA5B5</bpmn2:outgoing>
 | 
	
		
			
				|  |  | +    </bpmn2:businessRuleTask>
 | 
	
		
			
				|  |  | +    <bpmn2:startEvent id="_8C33E05A-8FF6-4632-93F6-E7D0F7EE8F7A">
 | 
	
		
			
				|  |  | +      <bpmn2:outgoing>_87BBD7D5-BF5F-4609-9909-08D681E3F205</bpmn2:outgoing>
 | 
	
		
			
				|  |  | +    </bpmn2:startEvent>
 | 
	
		
			
				|  |  | +  </bpmn2:process>
 | 
	
		
			
				|  |  | +  <bpmndi:BPMNDiagram>
 | 
	
		
			
				|  |  | +    <bpmndi:BPMNPlane bpmnElement="processTicket">
 | 
	
		
			
				|  |  | +      <bpmndi:BPMNShape id="shape__8C33E05A-8FF6-4632-93F6-E7D0F7EE8F7A" bpmnElement="_8C33E05A-8FF6-4632-93F6-E7D0F7EE8F7A">
 | 
	
		
			
				|  |  | +        <dc:Bounds height="56" width="56" x="138" y="149"/>
 | 
	
		
			
				|  |  | +      </bpmndi:BPMNShape>
 | 
	
		
			
				|  |  | +      <bpmndi:BPMNShape id="shape__8FA30527-0154-4D40-9194-0D8DDB10D56F" bpmnElement="_8FA30527-0154-4D40-9194-0D8DDB10D56F">
 | 
	
		
			
				|  |  | +        <dc:Bounds height="102" width="154" x="274" y="126"/>
 | 
	
		
			
				|  |  | +      </bpmndi:BPMNShape>
 | 
	
		
			
				|  |  | +      <bpmndi:BPMNShape id="shape__77839E76-5C5B-47A6-A6C4-19A002783744" bpmnElement="_77839E76-5C5B-47A6-A6C4-19A002783744">
 | 
	
		
			
				|  |  | +        <dc:Bounds height="102" width="154" x="544" y="126"/>
 | 
	
		
			
				|  |  | +      </bpmndi:BPMNShape>
 | 
	
		
			
				|  |  | +      <bpmndi:BPMNShape id="shape__C99FFBCC-5EC8-4F46-8D20-B764C27B552F" bpmnElement="_C99FFBCC-5EC8-4F46-8D20-B764C27B552F">
 | 
	
		
			
				|  |  | +        <dc:Bounds height="102" width="154" x="778" y="126"/>
 | 
	
		
			
				|  |  | +      </bpmndi:BPMNShape>
 | 
	
		
			
				|  |  | +      <bpmndi:BPMNShape id="shape__6996926E-F83D-411A-A6D8-531B36856985" bpmnElement="_6996926E-F83D-411A-A6D8-531B36856985">
 | 
	
		
			
				|  |  | +        <dc:Bounds height="56" width="56" x="1025" y="149"/>
 | 
	
		
			
				|  |  | +      </bpmndi:BPMNShape>
 | 
	
		
			
				|  |  | +      <bpmndi:BPMNEdge id="edge_shape__8C33E05A-8FF6-4632-93F6-E7D0F7EE8F7A_to_shape__8FA30527-0154-4D40-9194-0D8DDB10D56F" bpmnElement="_87BBD7D5-BF5F-4609-9909-08D681E3F205">
 | 
	
		
			
				|  |  | +        <di:waypoint x="166" y="177"/>
 | 
	
		
			
				|  |  | +        <di:waypoint x="351" y="177"/>
 | 
	
		
			
				|  |  | +      </bpmndi:BPMNEdge>
 | 
	
		
			
				|  |  | +      <bpmndi:BPMNEdge id="edge_shape__8FA30527-0154-4D40-9194-0D8DDB10D56F_to_shape__77839E76-5C5B-47A6-A6C4-19A002783744" bpmnElement="_BEEC9DB5-3B66-4ABB-A435-8BD6C63AA5B5">
 | 
	
		
			
				|  |  | +        <di:waypoint x="351" y="177"/>
 | 
	
		
			
				|  |  | +        <di:waypoint x="621" y="126"/>
 | 
	
		
			
				|  |  | +      </bpmndi:BPMNEdge>
 | 
	
		
			
				|  |  | +      <bpmndi:BPMNEdge id="edge_shape__77839E76-5C5B-47A6-A6C4-19A002783744_to_shape__C99FFBCC-5EC8-4F46-8D20-B764C27B552F" bpmnElement="_940099C8-D7AB-4C47-B637-635ADBBE1DAE">
 | 
	
		
			
				|  |  | +        <di:waypoint x="621" y="177"/>
 | 
	
		
			
				|  |  | +        <di:waypoint x="855" y="177"/>
 | 
	
		
			
				|  |  | +      </bpmndi:BPMNEdge>
 | 
	
		
			
				|  |  | +      <bpmndi:BPMNEdge id="edge_shape__C99FFBCC-5EC8-4F46-8D20-B764C27B552F_to_shape__6996926E-F83D-411A-A6D8-531B36856985" bpmnElement="_71A04A0C-E4A0-4E1F-B1DF-1670444DFCB3">
 | 
	
		
			
				|  |  | +        <di:waypoint x="855" y="177"/>
 | 
	
		
			
				|  |  | +        <di:waypoint x="1102" y="149"/>
 | 
	
		
			
				|  |  | +      </bpmndi:BPMNEdge>
 | 
	
		
			
				|  |  | +    </bpmndi:BPMNPlane>
 | 
	
		
			
				|  |  | +  </bpmndi:BPMNDiagram>
 | 
	
		
			
				|  |  | +  <bpmn2:relationship type="BPSimData">
 | 
	
		
			
				|  |  | +    <bpmn2:extensionElements>
 | 
	
		
			
				|  |  | +      <bpsim:BPSimData>
 | 
	
		
			
				|  |  | +        <bpsim:Scenario id="default" name="Simulationscenario">
 | 
	
		
			
				|  |  | +          <bpsim:ScenarioParameters/>
 | 
	
		
			
				|  |  | +          <bpsim:ElementParameters elementRef="_8C33E05A-8FF6-4632-93F6-E7D0F7EE8F7A">
 | 
	
		
			
				|  |  | +            <bpsim:TimeParameters>
 | 
	
		
			
				|  |  | +              <bpsim:ProcessingTime>
 | 
	
		
			
				|  |  | +                <bpsim:NormalDistribution mean="0" standardDeviation="0"/>
 | 
	
		
			
				|  |  | +              </bpsim:ProcessingTime>
 | 
	
		
			
				|  |  | +            </bpsim:TimeParameters>
 | 
	
		
			
				|  |  | +          </bpsim:ElementParameters>
 | 
	
		
			
				|  |  | +          <bpsim:ElementParameters elementRef="_8FA30527-0154-4D40-9194-0D8DDB10D56F">
 | 
	
		
			
				|  |  | +            <bpsim:TimeParameters>
 | 
	
		
			
				|  |  | +              <bpsim:ProcessingTime>
 | 
	
		
			
				|  |  | +                <bpsim:NormalDistribution mean="0" standardDeviation="0"/>
 | 
	
		
			
				|  |  | +              </bpsim:ProcessingTime>
 | 
	
		
			
				|  |  | +            </bpsim:TimeParameters>
 | 
	
		
			
				|  |  | +            <bpsim:ResourceParameters>
 | 
	
		
			
				|  |  | +              <bpsim:Availability>
 | 
	
		
			
				|  |  | +                <bpsim:FloatingParameter value="0"/>
 | 
	
		
			
				|  |  | +              </bpsim:Availability>
 | 
	
		
			
				|  |  | +              <bpsim:Quantity>
 | 
	
		
			
				|  |  | +                <bpsim:FloatingParameter value="0"/>
 | 
	
		
			
				|  |  | +              </bpsim:Quantity>
 | 
	
		
			
				|  |  | +            </bpsim:ResourceParameters>
 | 
	
		
			
				|  |  | +            <bpsim:CostParameters>
 | 
	
		
			
				|  |  | +              <bpsim:UnitCost>
 | 
	
		
			
				|  |  | +                <bpsim:FloatingParameter value="0"/>
 | 
	
		
			
				|  |  | +              </bpsim:UnitCost>
 | 
	
		
			
				|  |  | +            </bpsim:CostParameters>
 | 
	
		
			
				|  |  | +          </bpsim:ElementParameters>
 | 
	
		
			
				|  |  | +          <bpsim:ElementParameters elementRef="_77839E76-5C5B-47A6-A6C4-19A002783744">
 | 
	
		
			
				|  |  | +            <bpsim:TimeParameters>
 | 
	
		
			
				|  |  | +              <bpsim:ProcessingTime>
 | 
	
		
			
				|  |  | +                <bpsim:NormalDistribution mean="0" standardDeviation="0"/>
 | 
	
		
			
				|  |  | +              </bpsim:ProcessingTime>
 | 
	
		
			
				|  |  | +            </bpsim:TimeParameters>
 | 
	
		
			
				|  |  | +            <bpsim:ResourceParameters>
 | 
	
		
			
				|  |  | +              <bpsim:Availability>
 | 
	
		
			
				|  |  | +                <bpsim:FloatingParameter value="0"/>
 | 
	
		
			
				|  |  | +              </bpsim:Availability>
 | 
	
		
			
				|  |  | +              <bpsim:Quantity>
 | 
	
		
			
				|  |  | +                <bpsim:FloatingParameter value="0"/>
 | 
	
		
			
				|  |  | +              </bpsim:Quantity>
 | 
	
		
			
				|  |  | +            </bpsim:ResourceParameters>
 | 
	
		
			
				|  |  | +            <bpsim:CostParameters>
 | 
	
		
			
				|  |  | +              <bpsim:UnitCost>
 | 
	
		
			
				|  |  | +                <bpsim:FloatingParameter value="0"/>
 | 
	
		
			
				|  |  | +              </bpsim:UnitCost>
 | 
	
		
			
				|  |  | +            </bpsim:CostParameters>
 | 
	
		
			
				|  |  | +          </bpsim:ElementParameters>
 | 
	
		
			
				|  |  | +          <bpsim:ElementParameters elementRef="_C99FFBCC-5EC8-4F46-8D20-B764C27B552F">
 | 
	
		
			
				|  |  | +            <bpsim:TimeParameters>
 | 
	
		
			
				|  |  | +              <bpsim:ProcessingTime>
 | 
	
		
			
				|  |  | +                <bpsim:NormalDistribution mean="0" standardDeviation="0"/>
 | 
	
		
			
				|  |  | +              </bpsim:ProcessingTime>
 | 
	
		
			
				|  |  | +            </bpsim:TimeParameters>
 | 
	
		
			
				|  |  | +            <bpsim:ResourceParameters>
 | 
	
		
			
				|  |  | +              <bpsim:Availability>
 | 
	
		
			
				|  |  | +                <bpsim:FloatingParameter value="0"/>
 | 
	
		
			
				|  |  | +              </bpsim:Availability>
 | 
	
		
			
				|  |  | +              <bpsim:Quantity>
 | 
	
		
			
				|  |  | +                <bpsim:FloatingParameter value="0"/>
 | 
	
		
			
				|  |  | +              </bpsim:Quantity>
 | 
	
		
			
				|  |  | +            </bpsim:ResourceParameters>
 | 
	
		
			
				|  |  | +            <bpsim:CostParameters>
 | 
	
		
			
				|  |  | +              <bpsim:UnitCost>
 | 
	
		
			
				|  |  | +                <bpsim:FloatingParameter value="0"/>
 | 
	
		
			
				|  |  | +              </bpsim:UnitCost>
 | 
	
		
			
				|  |  | +            </bpsim:CostParameters>
 | 
	
		
			
				|  |  | +          </bpsim:ElementParameters>
 | 
	
		
			
				|  |  | +        </bpsim:Scenario>
 | 
	
		
			
				|  |  | +      </bpsim:BPSimData>
 | 
	
		
			
				|  |  | +    </bpmn2:extensionElements>
 | 
	
		
			
				|  |  | +    <bpmn2:source>_ic0z4OouEDqmQv_npA3Sew</bpmn2:source>
 | 
	
		
			
				|  |  | +    <bpmn2:target>_ic0z4OouEDqmQv_npA3Sew</bpmn2:target>
 | 
	
		
			
				|  |  | +  </bpmn2:relationship>
 | 
	
		
			
				|  |  | +</bpmn2:definitions>
 |