blob: 4b51f8d37d98b2c46ab793b34ccaeffa24a5a9cd [file] [log] [blame]
<?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: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" id="_29WqoEk8EeqlMa7ut9bglw" 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="_nameItem" structureRef="java.lang.String"/>
<bpmn2:itemDefinition id="_reviewItem" structureRef="java.lang.String"/>
<bpmn2:itemDefinition id="_travellerItem" structureRef="org.acme.travels.Traveller"/>
<bpmn2:itemDefinition id="__C3082C6F-963E-40A2-B31B-1E8F336AA4C6_dealInputXItem" structureRef="java.lang.String"/>
<bpmn2:itemDefinition id="__C3082C6F-963E-40A2-B31B-1E8F336AA4C6_travellerInputXItem" structureRef="org.acme.travels.Traveller"/>
<bpmn2:itemDefinition id="__C3082C6F-963E-40A2-B31B-1E8F336AA4C6_reviewOutputXItem" structureRef="java.lang.String"/>
<bpmn2:process id="deals" drools:packageName="org.acme.deals" drools:version="1.0" drools:adHoc="false" name="SubmitDeal" isExecutable="true">
<bpmn2:extensionElements>
<drools:import name="org.acme.travels.Traveller"/>
</bpmn2:extensionElements>
<bpmn2:property id="name" itemSubjectRef="_nameItem" name="name"/>
<bpmn2:property id="review" itemSubjectRef="_reviewItem" name="review"/>
<bpmn2:property id="traveller" itemSubjectRef="_travellerItem" name="traveller"/>
<bpmn2:sequenceFlow id="_BCF778A5-0959-49DA-B8FF-DB61025A7DD0" sourceRef="_0BAE98AF-9B65-444E-9B84-E48A3B593DBE" targetRef="_4583DB41-9B89-4729-AC8A-A0666534E616">
<bpmn2:extensionElements>
<drools:metaData name="isAutoConnection.source">
<drools:metaValue><![CDATA[true]]></drools:metaValue>
</drools:metaData>
<drools:metaData name="isAutoConnection.target">
<drools:metaValue><![CDATA[true]]></drools:metaValue>
</drools:metaData>
</bpmn2:extensionElements>
</bpmn2:sequenceFlow>
<bpmn2:sequenceFlow id="_A186F5CE-4300-4506-A89D-50DEDC8F24CF" sourceRef="_C3082C6F-963E-40A2-B31B-1E8F336AA4C6" targetRef="_0BAE98AF-9B65-444E-9B84-E48A3B593DBE">
<bpmn2:extensionElements>
<drools:metaData name="isAutoConnection.source">
<drools:metaValue><![CDATA[true]]></drools:metaValue>
</drools:metaData>
<drools:metaData name="isAutoConnection.target">
<drools:metaValue><![CDATA[true]]></drools:metaValue>
</drools:metaData>
</bpmn2:extensionElements>
</bpmn2:sequenceFlow>
<bpmn2:sequenceFlow id="_E3E55042-CEC7-4574-8315-068794ACBD69" sourceRef="_CBED5120-F3EC-40A0-9A1F-072F37FA1204" targetRef="_C3082C6F-963E-40A2-B31B-1E8F336AA4C6">
<bpmn2:extensionElements>
<drools:metaData name="isAutoConnection.source">
<drools:metaValue><![CDATA[true]]></drools:metaValue>
</drools:metaData>
<drools:metaData name="isAutoConnection.target">
<drools:metaValue><![CDATA[true]]></drools:metaValue>
</drools:metaData>
</bpmn2:extensionElements>
</bpmn2:sequenceFlow>
<bpmn2:endEvent id="_4583DB41-9B89-4729-AC8A-A0666534E616" name="End Event 1">
<bpmn2:extensionElements>
<drools:metaData name="elementname">
<drools:metaValue><![CDATA[End Event 1]]></drools:metaValue>
</drools:metaData>
</bpmn2:extensionElements>
<bpmn2:incoming>_BCF778A5-0959-49DA-B8FF-DB61025A7DD0</bpmn2:incoming>
</bpmn2:endEvent>
<bpmn2:scriptTask id="_0BAE98AF-9B65-444E-9B84-E48A3B593DBE" name="Print review of the deal" scriptFormat="http://www.java.com/java">
<bpmn2:extensionElements>
<drools:metaData name="elementname">
<drools:metaValue><![CDATA[Print review of the deal]]></drools:metaValue>
</drools:metaData>
</bpmn2:extensionElements>
<bpmn2:incoming>_A186F5CE-4300-4506-A89D-50DEDC8F24CF</bpmn2:incoming>
<bpmn2:outgoing>_BCF778A5-0959-49DA-B8FF-DB61025A7DD0</bpmn2:outgoing>
<bpmn2:script><![CDATA[System.out.println("Review of the deal " + review + " for traveller " + traveller.getLastName());]]></bpmn2:script>
</bpmn2:scriptTask>
<bpmn2:callActivity id="_C3082C6F-963E-40A2-B31B-1E8F336AA4C6" drools:independent="false" drools:waitForCompletion="true" name="Call a deal" calledElement="dealreviews">
<bpmn2:extensionElements>
<drools:metaData name="elementname">
<drools:metaValue><![CDATA[Call a deal]]></drools:metaValue>
</drools:metaData>
</bpmn2:extensionElements>
<bpmn2:incoming>_E3E55042-CEC7-4574-8315-068794ACBD69</bpmn2:incoming>
<bpmn2:outgoing>_A186F5CE-4300-4506-A89D-50DEDC8F24CF</bpmn2:outgoing>
<bpmn2:ioSpecification id="_29XRsEk8EeqlMa7ut9bglw">
<bpmn2:dataInput id="_C3082C6F-963E-40A2-B31B-1E8F336AA4C6_dealInputX" drools:dtype="java.lang.String" itemSubjectRef="__C3082C6F-963E-40A2-B31B-1E8F336AA4C6_dealInputXItem" name="deal"/>
<bpmn2:dataInput id="_C3082C6F-963E-40A2-B31B-1E8F336AA4C6_travellerInputX" drools:dtype="org.acme.travels.Traveller" itemSubjectRef="__C3082C6F-963E-40A2-B31B-1E8F336AA4C6_travellerInputXItem" name="traveller"/>
<bpmn2:dataOutput id="_C3082C6F-963E-40A2-B31B-1E8F336AA4C6_reviewOutputX" drools:dtype="java.lang.String" itemSubjectRef="__C3082C6F-963E-40A2-B31B-1E8F336AA4C6_reviewOutputXItem" name="review"/>
<bpmn2:inputSet id="_29XRsUk8EeqlMa7ut9bglw">
<bpmn2:dataInputRefs>_C3082C6F-963E-40A2-B31B-1E8F336AA4C6_dealInputX</bpmn2:dataInputRefs>
<bpmn2:dataInputRefs>_C3082C6F-963E-40A2-B31B-1E8F336AA4C6_travellerInputX</bpmn2:dataInputRefs>
</bpmn2:inputSet>
<bpmn2:outputSet id="_29XRskk8EeqlMa7ut9bglw">
<bpmn2:dataOutputRefs>_C3082C6F-963E-40A2-B31B-1E8F336AA4C6_reviewOutputX</bpmn2:dataOutputRefs>
</bpmn2:outputSet>
</bpmn2:ioSpecification>
<bpmn2:dataInputAssociation id="_29XRs0k8EeqlMa7ut9bglw">
<bpmn2:sourceRef>name</bpmn2:sourceRef>
<bpmn2:targetRef>_C3082C6F-963E-40A2-B31B-1E8F336AA4C6_dealInputX</bpmn2:targetRef>
</bpmn2:dataInputAssociation>
<bpmn2:dataInputAssociation id="_29XRtEk8EeqlMa7ut9bglw">
<bpmn2:sourceRef>traveller</bpmn2:sourceRef>
<bpmn2:targetRef>_C3082C6F-963E-40A2-B31B-1E8F336AA4C6_travellerInputX</bpmn2:targetRef>
</bpmn2:dataInputAssociation>
<bpmn2:dataOutputAssociation id="_29XRtUk8EeqlMa7ut9bglw">
<bpmn2:sourceRef>_C3082C6F-963E-40A2-B31B-1E8F336AA4C6_reviewOutputX</bpmn2:sourceRef>
<bpmn2:targetRef>review</bpmn2:targetRef>
</bpmn2:dataOutputAssociation>
</bpmn2:callActivity>
<bpmn2:startEvent id="_CBED5120-F3EC-40A0-9A1F-072F37FA1204" name="Start Proces">
<bpmn2:extensionElements>
<drools:metaData name="elementname">
<drools:metaValue><![CDATA[Start Proces]]></drools:metaValue>
</drools:metaData>
</bpmn2:extensionElements>
<bpmn2:outgoing>_E3E55042-CEC7-4574-8315-068794ACBD69</bpmn2:outgoing>
</bpmn2:startEvent>
</bpmn2:process>
<bpmndi:BPMNDiagram id="_29XRtkk8EeqlMa7ut9bglw">
<bpmndi:BPMNPlane id="_29XRt0k8EeqlMa7ut9bglw" bpmnElement="deals">
<bpmndi:BPMNShape id="shape__CBED5120-F3EC-40A0-9A1F-072F37FA1204" bpmnElement="_CBED5120-F3EC-40A0-9A1F-072F37FA1204">
<dc:Bounds height="56.0" width="56.0" x="335.0" y="154.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="shape__C3082C6F-963E-40A2-B31B-1E8F336AA4C6" bpmnElement="_C3082C6F-963E-40A2-B31B-1E8F336AA4C6">
<dc:Bounds height="102.0" width="154.0" x="471.0" y="131.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="shape__0BAE98AF-9B65-444E-9B84-E48A3B593DBE" bpmnElement="_0BAE98AF-9B65-444E-9B84-E48A3B593DBE">
<dc:Bounds height="102.0" width="154.0" x="700.0" y="131.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="shape__4583DB41-9B89-4729-AC8A-A0666534E616" bpmnElement="_4583DB41-9B89-4729-AC8A-A0666534E616">
<dc:Bounds height="56.0" width="56.0" x="939.0" y="154.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="edge_shape__CBED5120-F3EC-40A0-9A1F-072F37FA1204_to_shape__C3082C6F-963E-40A2-B31B-1E8F336AA4C6" bpmnElement="_E3E55042-CEC7-4574-8315-068794ACBD69">
<di:waypoint xsi:type="dc:Point" x="391.0" y="182.0"/>
<di:waypoint xsi:type="dc:Point" x="471.0" y="182.0"/>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="edge_shape__C3082C6F-963E-40A2-B31B-1E8F336AA4C6_to_shape__0BAE98AF-9B65-444E-9B84-E48A3B593DBE" bpmnElement="_A186F5CE-4300-4506-A89D-50DEDC8F24CF">
<di:waypoint xsi:type="dc:Point" x="625.0" y="182.0"/>
<di:waypoint xsi:type="dc:Point" x="700.0" y="182.0"/>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="edge_shape__0BAE98AF-9B65-444E-9B84-E48A3B593DBE_to_shape__4583DB41-9B89-4729-AC8A-A0666534E616" bpmnElement="_BCF778A5-0959-49DA-B8FF-DB61025A7DD0">
<di:waypoint xsi:type="dc:Point" x="854.0" y="182.0"/>
<di:waypoint xsi:type="dc:Point" x="939.0" y="182.0"/>
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
<bpmn2:relationship id="_29XRuEk8EeqlMa7ut9bglw" type="BPSimData">
<bpmn2:extensionElements>
<bpsim:BPSimData>
<bpsim:Scenario xsi:type="bpsim:Scenario" id="default" name="Simulationscenario">
<bpsim:ScenarioParameters xsi:type="bpsim:ScenarioParameters"/>
<bpsim:ElementParameters xsi:type="bpsim:ElementParameters" elementRef="_CBED5120-F3EC-40A0-9A1F-072F37FA1204" id="_29XRuUk8EeqlMa7ut9bglw">
<bpsim:TimeParameters xsi:type="bpsim:TimeParameters">
<bpsim:ProcessingTime xsi:type="bpsim:Parameter">
<bpsim:NormalDistribution mean="0.0" standardDeviation="0.0"/>
</bpsim:ProcessingTime>
</bpsim:TimeParameters>
</bpsim:ElementParameters>
<bpsim:ElementParameters xsi:type="bpsim:ElementParameters" elementRef="_C3082C6F-963E-40A2-B31B-1E8F336AA4C6" id="_29XRukk8EeqlMa7ut9bglw">
<bpsim:TimeParameters xsi:type="bpsim:TimeParameters">
<bpsim:ProcessingTime xsi:type="bpsim:Parameter">
<bpsim:NormalDistribution mean="0.0" standardDeviation="0.0"/>
</bpsim:ProcessingTime>
</bpsim:TimeParameters>
<bpsim:ResourceParameters xsi:type="bpsim:ResourceParameters">
<bpsim:Availability xsi:type="bpsim:Parameter">
<bpsim:FloatingParameter value="0.0"/>
</bpsim:Availability>
<bpsim:Quantity xsi:type="bpsim:Parameter">
<bpsim:FloatingParameter value="0.0"/>
</bpsim:Quantity>
</bpsim:ResourceParameters>
<bpsim:CostParameters xsi:type="bpsim:CostParameters">
<bpsim:UnitCost xsi:type="bpsim:Parameter">
<bpsim:FloatingParameter value="0.0"/>
</bpsim:UnitCost>
</bpsim:CostParameters>
</bpsim:ElementParameters>
<bpsim:ElementParameters xsi:type="bpsim:ElementParameters" elementRef="_0BAE98AF-9B65-444E-9B84-E48A3B593DBE" id="_29XRu0k8EeqlMa7ut9bglw">
<bpsim:TimeParameters xsi:type="bpsim:TimeParameters">
<bpsim:ProcessingTime xsi:type="bpsim:Parameter">
<bpsim:NormalDistribution mean="0.0" standardDeviation="0.0"/>
</bpsim:ProcessingTime>
</bpsim:TimeParameters>
<bpsim:ResourceParameters xsi:type="bpsim:ResourceParameters">
<bpsim:Availability xsi:type="bpsim:Parameter">
<bpsim:FloatingParameter value="0.0"/>
</bpsim:Availability>
<bpsim:Quantity xsi:type="bpsim:Parameter">
<bpsim:FloatingParameter value="0.0"/>
</bpsim:Quantity>
</bpsim:ResourceParameters>
<bpsim:CostParameters xsi:type="bpsim:CostParameters">
<bpsim:UnitCost xsi:type="bpsim:Parameter">
<bpsim:FloatingParameter value="0.0"/>
</bpsim:UnitCost>
</bpsim:CostParameters>
</bpsim:ElementParameters>
</bpsim:Scenario>
</bpsim:BPSimData>
</bpmn2:extensionElements>
<bpmn2:source>_29WqoEk8EeqlMa7ut9bglw</bpmn2:source>
<bpmn2:target>_29WqoEk8EeqlMa7ut9bglw</bpmn2:target>
</bpmn2:relationship>
</bpmn2:definitions>