|
@@ -0,0 +1,213 @@
|
|
|
+<?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="_NBJhQNOMEDq5KINlO68CJg" 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="__EFD251FE-A9E4-4778-84D2-2D23776B6BEE_namespaceInputXItem" structureRef="java.lang.String"/>
|
|
|
+ <bpmn2:itemDefinition id="__EFD251FE-A9E4-4778-84D2-2D23776B6BEE_modelInputXItem" structureRef="java.lang.String"/>
|
|
|
+ <bpmn2:itemDefinition id="__EFD251FE-A9E4-4778-84D2-2D23776B6BEE_decisionInputXItem" structureRef="java.lang.String"/>
|
|
|
+ <bpmn2:itemDefinition id="__AB87ECC8-D369-4A43-A00B-EE70C8AD3B64_namespaceInputXItem" structureRef="java.lang.String"/>
|
|
|
+ <bpmn2:itemDefinition id="__AB87ECC8-D369-4A43-A00B-EE70C8AD3B64_modelInputXItem" structureRef="java.lang.String"/>
|
|
|
+ <bpmn2:itemDefinition id="__AB87ECC8-D369-4A43-A00B-EE70C8AD3B64_decisionInputXItem" structureRef="java.lang.String"/>
|
|
|
+ <bpmn2:itemDefinition id="__755CF8BC-A303-4EE7-8181-2C2E8020E181_namespaceInputXItem" structureRef="java.lang.String"/>
|
|
|
+ <bpmn2:itemDefinition id="__755CF8BC-A303-4EE7-8181-2C2E8020E181_modelInputXItem" structureRef="java.lang.String"/>
|
|
|
+ <bpmn2:itemDefinition id="__755CF8BC-A303-4EE7-8181-2C2E8020E181_decisionInputXItem" structureRef="java.lang.String"/>
|
|
|
+ <bpmn2:itemDefinition id="__AF4B09DD-4D13-488B-9BFE-45F7BAD60CDB_namespaceInputXItem" structureRef="java.lang.String"/>
|
|
|
+ <bpmn2:itemDefinition id="__AF4B09DD-4D13-488B-9BFE-45F7BAD60CDB_modelInputXItem" structureRef="java.lang.String"/>
|
|
|
+ <bpmn2:itemDefinition id="__AF4B09DD-4D13-488B-9BFE-45F7BAD60CDB_decisionInputXItem" structureRef="java.lang.String"/>
|
|
|
+ <bpmn2:collaboration id="_E96AF999-E189-4555-A806-D7B689D438E6" name="Default Collaboration">
|
|
|
+ <bpmn2:participant id="_EF8D1A93-C7E0-4A1E-BD1C-F656E7F5F156" name="Pool Participant" processRef="ruleFlow"/>
|
|
|
+ </bpmn2:collaboration>
|
|
|
+ <bpmn2:process id="ruleFlow" drools:packageName="com.redhat.training.orders" drools:version="1.0" drools:adHoc="false" name="rule-flow" isExecutable="true" processType="Public">
|
|
|
+ <bpmn2:sequenceFlow id="_B236D665-C4D9-40DA-8CEA-3CB48C5F28D2" sourceRef="_AF4B09DD-4D13-488B-9BFE-45F7BAD60CDB" targetRef="_755CF8BC-A303-4EE7-8181-2C2E8020E181">
|
|
|
+ <bpmn2:extensionElements>
|
|
|
+ <drools:metaData name="isAutoConnection.target">
|
|
|
+ <drools:metaValue><![CDATA[true]]></drools:metaValue>
|
|
|
+ </drools:metaData>
|
|
|
+ </bpmn2:extensionElements>
|
|
|
+ </bpmn2:sequenceFlow>
|
|
|
+ <bpmn2:sequenceFlow id="_7BF77305-F355-4E36-86A2-1CC2E79BC1E0" sourceRef="_AB87ECC8-D369-4A43-A00B-EE70C8AD3B64" targetRef="_AF4B09DD-4D13-488B-9BFE-45F7BAD60CDB"/>
|
|
|
+ <bpmn2:sequenceFlow id="_1BA4CDDB-95E7-48D3-994A-211ED41B10A9" sourceRef="_EFD251FE-A9E4-4778-84D2-2D23776B6BEE" targetRef="_AB87ECC8-D369-4A43-A00B-EE70C8AD3B64"/>
|
|
|
+ <bpmn2:sequenceFlow id="_25993DE8-BEE3-4A1C-8F9E-79A8A98C8F0B" sourceRef="_755CF8BC-A303-4EE7-8181-2C2E8020E181" targetRef="_7D87D78E-3B37-4C0F-BF87-3B88ACAD35B5"/>
|
|
|
+ <bpmn2:sequenceFlow id="_E6513DD1-D675-437C-AA9B-A39C7D726EFC" sourceRef="_758143E6-CFDD-483E-A9F5-C2828652DAA8" targetRef="_EFD251FE-A9E4-4778-84D2-2D23776B6BEE"/>
|
|
|
+ <bpmn2:businessRuleTask id="_AF4B09DD-4D13-488B-9BFE-45F7BAD60CDB" drools:ruleFlowGroup="final-pricing" name="Calculate Final Price" implementation="http://www.jboss.org/drools/rule">
|
|
|
+ <bpmn2:extensionElements>
|
|
|
+ <drools:metaData name="elementname">
|
|
|
+ <drools:metaValue><![CDATA[Calculate Final Price]]></drools:metaValue>
|
|
|
+ </drools:metaData>
|
|
|
+ </bpmn2:extensionElements>
|
|
|
+ <bpmn2:incoming>_7BF77305-F355-4E36-86A2-1CC2E79BC1E0</bpmn2:incoming>
|
|
|
+ <bpmn2:outgoing>_B236D665-C4D9-40DA-8CEA-3CB48C5F28D2</bpmn2:outgoing>
|
|
|
+ </bpmn2:businessRuleTask>
|
|
|
+ <bpmn2:businessRuleTask id="_755CF8BC-A303-4EE7-8181-2C2E8020E181" drools:ruleFlowGroup="loyalty" name="Re-Evaluate Loyalty" implementation="http://www.jboss.org/drools/rule">
|
|
|
+ <bpmn2:extensionElements>
|
|
|
+ <drools:metaData name="elementname">
|
|
|
+ <drools:metaValue><![CDATA[Re-Evaluate Loyalty]]></drools:metaValue>
|
|
|
+ </drools:metaData>
|
|
|
+ </bpmn2:extensionElements>
|
|
|
+ <bpmn2:incoming>_B236D665-C4D9-40DA-8CEA-3CB48C5F28D2</bpmn2:incoming>
|
|
|
+ <bpmn2:outgoing>_25993DE8-BEE3-4A1C-8F9E-79A8A98C8F0B</bpmn2:outgoing>
|
|
|
+ </bpmn2:businessRuleTask>
|
|
|
+ <bpmn2:businessRuleTask id="_AB87ECC8-D369-4A43-A00B-EE70C8AD3B64" drools:ruleFlowGroup="discount" name="Discounting" implementation="http://www.jboss.org/drools/rule">
|
|
|
+ <bpmn2:extensionElements>
|
|
|
+ <drools:metaData name="elementname">
|
|
|
+ <drools:metaValue><![CDATA[Discounting]]></drools:metaValue>
|
|
|
+ </drools:metaData>
|
|
|
+ </bpmn2:extensionElements>
|
|
|
+ <bpmn2:incoming>_1BA4CDDB-95E7-48D3-994A-211ED41B10A9</bpmn2:incoming>
|
|
|
+ <bpmn2:outgoing>_7BF77305-F355-4E36-86A2-1CC2E79BC1E0</bpmn2:outgoing>
|
|
|
+ </bpmn2:businessRuleTask>
|
|
|
+ <bpmn2:businessRuleTask id="_EFD251FE-A9E4-4778-84D2-2D23776B6BEE" drools:ruleFlowGroup="loyalty" name="Loyalty Level" implementation="http://www.jboss.org/drools/rule">
|
|
|
+ <bpmn2:extensionElements>
|
|
|
+ <drools:metaData name="elementname">
|
|
|
+ <drools:metaValue><![CDATA[Loyalty Level]]></drools:metaValue>
|
|
|
+ </drools:metaData>
|
|
|
+ </bpmn2:extensionElements>
|
|
|
+ <bpmn2:incoming>_E6513DD1-D675-437C-AA9B-A39C7D726EFC</bpmn2:incoming>
|
|
|
+ <bpmn2:outgoing>_1BA4CDDB-95E7-48D3-994A-211ED41B10A9</bpmn2:outgoing>
|
|
|
+ </bpmn2:businessRuleTask>
|
|
|
+ <bpmn2:endEvent id="_7D87D78E-3B37-4C0F-BF87-3B88ACAD35B5">
|
|
|
+ <bpmn2:incoming>_25993DE8-BEE3-4A1C-8F9E-79A8A98C8F0B</bpmn2:incoming>
|
|
|
+ </bpmn2:endEvent>
|
|
|
+ <bpmn2:startEvent id="_758143E6-CFDD-483E-A9F5-C2828652DAA8">
|
|
|
+ <bpmn2:outgoing>_E6513DD1-D675-437C-AA9B-A39C7D726EFC</bpmn2:outgoing>
|
|
|
+ </bpmn2:startEvent>
|
|
|
+ </bpmn2:process>
|
|
|
+ <bpmndi:BPMNDiagram>
|
|
|
+ <bpmndi:BPMNPlane bpmnElement="ruleFlow">
|
|
|
+ <bpmndi:BPMNShape id="shape__758143E6-CFDD-483E-A9F5-C2828652DAA8" bpmnElement="_758143E6-CFDD-483E-A9F5-C2828652DAA8">
|
|
|
+ <dc:Bounds height="56" width="56" x="80" y="3"/>
|
|
|
+ </bpmndi:BPMNShape>
|
|
|
+ <bpmndi:BPMNShape id="shape__7D87D78E-3B37-4C0F-BF87-3B88ACAD35B5" bpmnElement="_7D87D78E-3B37-4C0F-BF87-3B88ACAD35B5">
|
|
|
+ <dc:Bounds height="56" width="56" x="499" y="323"/>
|
|
|
+ </bpmndi:BPMNShape>
|
|
|
+ <bpmndi:BPMNShape id="shape__EFD251FE-A9E4-4778-84D2-2D23776B6BEE" bpmnElement="_EFD251FE-A9E4-4778-84D2-2D23776B6BEE">
|
|
|
+ <dc:Bounds height="102" width="154" x="216" y="-20"/>
|
|
|
+ </bpmndi:BPMNShape>
|
|
|
+ <bpmndi:BPMNShape id="shape__AB87ECC8-D369-4A43-A00B-EE70C8AD3B64" bpmnElement="_AB87ECC8-D369-4A43-A00B-EE70C8AD3B64">
|
|
|
+ <dc:Bounds height="102" width="154" x="450" y="-20"/>
|
|
|
+ </bpmndi:BPMNShape>
|
|
|
+ <bpmndi:BPMNShape id="shape__755CF8BC-A303-4EE7-8181-2C2E8020E181" bpmnElement="_755CF8BC-A303-4EE7-8181-2C2E8020E181">
|
|
|
+ <dc:Bounds height="102" width="154" x="450" y="146"/>
|
|
|
+ </bpmndi:BPMNShape>
|
|
|
+ <bpmndi:BPMNShape id="shape__AF4B09DD-4D13-488B-9BFE-45F7BAD60CDB" bpmnElement="_AF4B09DD-4D13-488B-9BFE-45F7BAD60CDB">
|
|
|
+ <dc:Bounds height="102" width="154" x="216" y="146"/>
|
|
|
+ </bpmndi:BPMNShape>
|
|
|
+ <bpmndi:BPMNEdge id="edge_shape__758143E6-CFDD-483E-A9F5-C2828652DAA8_to_shape__EFD251FE-A9E4-4778-84D2-2D23776B6BEE" bpmnElement="_E6513DD1-D675-437C-AA9B-A39C7D726EFC">
|
|
|
+ <di:waypoint x="108" y="31"/>
|
|
|
+ <di:waypoint x="293" y="31"/>
|
|
|
+ </bpmndi:BPMNEdge>
|
|
|
+ <bpmndi:BPMNEdge id="edge_shape__755CF8BC-A303-4EE7-8181-2C2E8020E181_to_shape__7D87D78E-3B37-4C0F-BF87-3B88ACAD35B5" bpmnElement="_25993DE8-BEE3-4A1C-8F9E-79A8A98C8F0B">
|
|
|
+ <di:waypoint x="527" y="197"/>
|
|
|
+ <di:waypoint x="527" y="351"/>
|
|
|
+ </bpmndi:BPMNEdge>
|
|
|
+ <bpmndi:BPMNEdge id="edge_shape__EFD251FE-A9E4-4778-84D2-2D23776B6BEE_to_shape__AB87ECC8-D369-4A43-A00B-EE70C8AD3B64" bpmnElement="_1BA4CDDB-95E7-48D3-994A-211ED41B10A9">
|
|
|
+ <di:waypoint x="293" y="31"/>
|
|
|
+ <di:waypoint x="527" y="31"/>
|
|
|
+ </bpmndi:BPMNEdge>
|
|
|
+ <bpmndi:BPMNEdge id="edge_shape__AB87ECC8-D369-4A43-A00B-EE70C8AD3B64_to_shape__AF4B09DD-4D13-488B-9BFE-45F7BAD60CDB" bpmnElement="_7BF77305-F355-4E36-86A2-1CC2E79BC1E0">
|
|
|
+ <di:waypoint x="527" y="31"/>
|
|
|
+ <di:waypoint x="293" y="197"/>
|
|
|
+ </bpmndi:BPMNEdge>
|
|
|
+ <bpmndi:BPMNEdge id="edge_shape__AF4B09DD-4D13-488B-9BFE-45F7BAD60CDB_to_shape__755CF8BC-A303-4EE7-8181-2C2E8020E181" bpmnElement="_B236D665-C4D9-40DA-8CEA-3CB48C5F28D2">
|
|
|
+ <di:waypoint x="293" y="197"/>
|
|
|
+ <di:waypoint x="450" y="197"/>
|
|
|
+ </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="_758143E6-CFDD-483E-A9F5-C2828652DAA8">
|
|
|
+ <bpsim:TimeParameters>
|
|
|
+ <bpsim:ProcessingTime>
|
|
|
+ <bpsim:NormalDistribution mean="0" standardDeviation="0"/>
|
|
|
+ </bpsim:ProcessingTime>
|
|
|
+ </bpsim:TimeParameters>
|
|
|
+ </bpsim:ElementParameters>
|
|
|
+ <bpsim:ElementParameters elementRef="_EFD251FE-A9E4-4778-84D2-2D23776B6BEE">
|
|
|
+ <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="_AB87ECC8-D369-4A43-A00B-EE70C8AD3B64">
|
|
|
+ <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="_755CF8BC-A303-4EE7-8181-2C2E8020E181">
|
|
|
+ <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="_AF4B09DD-4D13-488B-9BFE-45F7BAD60CDB">
|
|
|
+ <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>_NBJhQNOMEDq5KINlO68CJg</bpmn2:source>
|
|
|
+ <bpmn2:target>_NBJhQNOMEDq5KINlO68CJg</bpmn2:target>
|
|
|
+ </bpmn2:relationship>
|
|
|
+</bpmn2:definitions>
|