<?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:color="http://www.omg.org/spec/BPMN/non-normative/color" 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="__bB9oNljEeWve4WVfYANkQ" 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" exporter="jBPM Designer" exporterVersion="6.2.0" expressionLanguage="http://www.mvel.org/2.0" targetNamespace="http://www.omg.org/bpmn20" typeLanguage="http://www.java.com/javaTypes">
  <bpmn2:process id="orderApproval" drools:packageName="org.jbpm" drools:version="1.0" name="orderApproval" isExecutable="true">
    <bpmn2:startEvent id="processStartEvent" drools:selectable="true" color:background-color="#9acd32" color:border-color="#000000" color:color="#000000" name="">
      <bpmn2:extensionElements>
        <drools:metaData name="elementname">
          <drools:metaValue><![CDATA[]]></drools:metaValue>
        </drools:metaData>
        <drools:metaData name="elementname">
          <drools:metaValue><![CDATA[]]></drools:metaValue>
        </drools:metaData>
      </bpmn2:extensionElements>
      <bpmn2:outgoing>_6D38C5A6-C946-4BA0-841C-EEEE1159A666</bpmn2:outgoing>
    </bpmn2:startEvent>
    <bpmn2:businessRuleTask id="_A5599348-D711-48F7-B971-1BC34650FC66" drools:selectable="true" drools:ruleFlowGroup="approval" drools:scriptFormat="http://www.java.com/java" color:background-color="#fafad2" color:border-color="#000000" color:color="#000000" name="approval">
      <bpmn2:extensionElements>
        <drools:metaData name="elementname">
          <drools:metaValue><![CDATA[approval]]></drools:metaValue>
        </drools:metaData>
      </bpmn2:extensionElements>
      <bpmn2:incoming>_6D38C5A6-C946-4BA0-841C-EEEE1159A666</bpmn2:incoming>
      <bpmn2:outgoing>_A63DB429-A75C-433A-AC6A-DCFB5FE31385</bpmn2:outgoing>
    </bpmn2:businessRuleTask>
    <bpmn2:scriptTask id="_DCCB001E-579C-4FD4-8254-9429A36E94C7" drools:selectable="true" color:background-color="#fafad2" color:border-color="#000000" color:color="#000000" name="postprocess" scriptFormat="http://www.java.com/java">
      <bpmn2:extensionElements>
        <drools:metaData name="elementname">
          <drools:metaValue><![CDATA[postprocess]]></drools:metaValue>
        </drools:metaData>
      </bpmn2:extensionElements>
      <bpmn2:incoming>_A63DB429-A75C-433A-AC6A-DCFB5FE31385</bpmn2:incoming>
      <bpmn2:outgoing>_14BC9755-CB41-4A32-8113-F004EF28B937</bpmn2:outgoing>
      <bpmn2:script><![CDATA[System.out.println("Script executed.");]]></bpmn2:script>
    </bpmn2:scriptTask>
    <bpmn2:endEvent id="_9D01BDE5-0710-4107-AD82-16C4B2DCA9B2" drools:selectable="true" color:background-color="#ff6347" color:border-color="#000000" color:color="#000000" name="">
      <bpmn2:extensionElements>
        <drools:metaData name="elementname">
          <drools:metaValue><![CDATA[]]></drools:metaValue>
        </drools:metaData>
        <drools:metaData name="elementname">
          <drools:metaValue><![CDATA[]]></drools:metaValue>
        </drools:metaData>
      </bpmn2:extensionElements>
      <bpmn2:incoming>_14BC9755-CB41-4A32-8113-F004EF28B937</bpmn2:incoming>
    </bpmn2:endEvent>
    <bpmn2:sequenceFlow id="_6D38C5A6-C946-4BA0-841C-EEEE1159A666" drools:selectable="true" color:background-color="#000000" color:border-color="#000000" color:color="#000000" sourceRef="processStartEvent" targetRef="_A5599348-D711-48F7-B971-1BC34650FC66"/>
    <bpmn2:sequenceFlow id="_A63DB429-A75C-433A-AC6A-DCFB5FE31385" drools:selectable="true" color:background-color="#000000" color:border-color="#000000" color:color="#000000" sourceRef="_A5599348-D711-48F7-B971-1BC34650FC66" targetRef="_DCCB001E-579C-4FD4-8254-9429A36E94C7"/>
    <bpmn2:sequenceFlow id="_14BC9755-CB41-4A32-8113-F004EF28B937" drools:selectable="true" color:background-color="#000000" color:border-color="#000000" color:color="#000000" sourceRef="_DCCB001E-579C-4FD4-8254-9429A36E94C7" targetRef="_9D01BDE5-0710-4107-AD82-16C4B2DCA9B2"/>
  </bpmn2:process>
  <bpmndi:BPMNDiagram id="__bB9qNljEeWve4WVfYANkQ">
    <bpmndi:BPMNPlane id="__bB9qdljEeWve4WVfYANkQ" bpmnElement="project1.approvalProcess">
      <bpmndi:BPMNShape id="__bB9qtljEeWve4WVfYANkQ" bpmnElement="processStartEvent">
        <dc:Bounds height="30.0" width="30.0" x="120.0" y="165.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="__bB9q9ljEeWve4WVfYANkQ" bpmnElement="_A5599348-D711-48F7-B971-1BC34650FC66">
        <dc:Bounds height="80.0" width="100.0" x="270.0" y="140.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="__bB9rNljEeWve4WVfYANkQ" bpmnElement="_DCCB001E-579C-4FD4-8254-9429A36E94C7">
        <dc:Bounds height="80.0" width="100.0" x="480.0" y="140.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="__bB9rdljEeWve4WVfYANkQ" bpmnElement="_9D01BDE5-0710-4107-AD82-16C4B2DCA9B2">
        <dc:Bounds height="28.0" width="28.0" x="696.0" y="166.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="__bB9rtljEeWve4WVfYANkQ" bpmnElement="_6D38C5A6-C946-4BA0-841C-EEEE1159A666">
        <di:waypoint xsi:type="dc:Point" x="135.0" y="180.0"/>
        <di:waypoint xsi:type="dc:Point" x="320.0" y="180.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="__bB9r9ljEeWve4WVfYANkQ" bpmnElement="_A63DB429-A75C-433A-AC6A-DCFB5FE31385">
        <di:waypoint xsi:type="dc:Point" x="320.0" y="180.0"/>
        <di:waypoint xsi:type="dc:Point" x="530.0" y="180.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="__bB9sNljEeWve4WVfYANkQ" bpmnElement="_14BC9755-CB41-4A32-8113-F004EF28B937">
        <di:waypoint xsi:type="dc:Point" x="530.0" y="180.0"/>
        <di:waypoint xsi:type="dc:Point" x="710.0" y="180.0"/>
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
  <bpmn2:relationship id="__bB9sdljEeWve4WVfYANkQ" type="BPSimData">
    <bpmn2:extensionElements>
      <bpsim:BPSimData>
        <bpsim:Scenario xsi:type="bpsim:Scenario" id="default" name="Simulationscenario">
          <bpsim:ScenarioParameters xsi:type="bpsim:ScenarioParameters" baseTimeUnit="min"/>
          <bpsim:ElementParameters xsi:type="bpsim:ElementParameters" elementRef="_A5599348-D711-48F7-B971-1BC34650FC66" id="__bB9stljEeWve4WVfYANkQ">
            <bpsim:TimeParameters xsi:type="bpsim:TimeParameters">
              <bpsim:ProcessingTime xsi:type="bpsim:Parameter">
                <bpsim:UniformDistribution max="10.0" min="5.0"/>
              </bpsim:ProcessingTime>
            </bpsim:TimeParameters>
            <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="_A63DB429-A75C-433A-AC6A-DCFB5FE31385" id="__bB9s9ljEeWve4WVfYANkQ">
            <bpsim:ControlParameters xsi:type="bpsim:ControlParameters">
              <bpsim:Probability xsi:type="bpsim:Parameter">
                <bpsim:FloatingParameter value="100.0"/>
              </bpsim:Probability>
            </bpsim:ControlParameters>
          </bpsim:ElementParameters>
          <bpsim:ElementParameters xsi:type="bpsim:ElementParameters" elementRef="_9D01BDE5-0710-4107-AD82-16C4B2DCA9B2" id="__bB9tNljEeWve4WVfYANkQ">
            <bpsim:TimeParameters xsi:type="bpsim:TimeParameters">
              <bpsim:ProcessingTime xsi:type="bpsim:Parameter">
                <bpsim:UniformDistribution max="10.0" min="5.0"/>
              </bpsim:ProcessingTime>
            </bpsim:TimeParameters>
          </bpsim:ElementParameters>
          <bpsim:ElementParameters xsi:type="bpsim:ElementParameters" elementRef="_6D38C5A6-C946-4BA0-841C-EEEE1159A666" id="__bB9tdljEeWve4WVfYANkQ">
            <bpsim:ControlParameters xsi:type="bpsim:ControlParameters">
              <bpsim:Probability xsi:type="bpsim:Parameter">
                <bpsim:FloatingParameter value="100.0"/>
              </bpsim:Probability>
            </bpsim:ControlParameters>
          </bpsim:ElementParameters>
          <bpsim:ElementParameters xsi:type="bpsim:ElementParameters" elementRef="_DCCB001E-579C-4FD4-8254-9429A36E94C7" id="__bB9ttljEeWve4WVfYANkQ">
            <bpsim:TimeParameters xsi:type="bpsim:TimeParameters">
              <bpsim:ProcessingTime xsi:type="bpsim:Parameter">
                <bpsim:UniformDistribution max="10.0" min="5.0"/>
              </bpsim:ProcessingTime>
            </bpsim:TimeParameters>
            <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="_14BC9755-CB41-4A32-8113-F004EF28B937" id="__bB9t9ljEeWve4WVfYANkQ">
            <bpsim:ControlParameters xsi:type="bpsim:ControlParameters">
              <bpsim:Probability xsi:type="bpsim:Parameter">
                <bpsim:FloatingParameter value="100.0"/>
              </bpsim:Probability>
            </bpsim:ControlParameters>
          </bpsim:ElementParameters>
          <bpsim:ElementParameters xsi:type="bpsim:ElementParameters" elementRef="processStartEvent" id="__bB9uNljEeWve4WVfYANkQ">
            <bpsim:TimeParameters xsi:type="bpsim:TimeParameters">
              <bpsim:ProcessingTime xsi:type="bpsim:Parameter">
                <bpsim:UniformDistribution max="10.0" min="5.0"/>
              </bpsim:ProcessingTime>
            </bpsim:TimeParameters>
            <bpsim:ControlParameters xsi:type="bpsim:ControlParameters">
              <bpsim:Probability xsi:type="bpsim:Parameter">
                <bpsim:FloatingParameter value="100.0"/>
              </bpsim:Probability>
            </bpsim:ControlParameters>
          </bpsim:ElementParameters>
        </bpsim:Scenario>
      </bpsim:BPSimData>
    </bpmn2:extensionElements>
    <bpmn2:source>__bB9oNljEeWve4WVfYANkQ</bpmn2:source>
    <bpmn2:target>__bB9oNljEeWve4WVfYANkQ</bpmn2:target>
  </bpmn2:relationship>
</bpmn2:definitions>
