<?xml version="1.0" encoding="UTF-8"?> 
<definitions id="Definition"
             typeLanguage="http://www.java.com/javaTypes"
             expressionLanguage="http://www.mvel.org/2.0"
             xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd"
             xmlns:g="http://www.jboss.org/drools/flow/gpd"
             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:tns="http://www.jboss.org/drools"
             targetNamespace="http://www.omg.org/bpmn20">

  <itemDefinition id="_idItem" structureRef="String" />

  <process processType="Private" isExecutable="true" id="customtask" name="flow" tns:packageName="org.drools.integrationtests" >

    <!-- process variables -->
    <property id="id" itemSubjectRef="_idItem"/>

    <!-- nodes -->
    <startEvent id="_1" name="Start" />
    <endEvent id="_3" name="End" >
        <terminateEventDefinition/>
    </endEvent>
    <task id="_4" name="Log" tns:taskName="Log" >
      <ioSpecification>
        <dataInput id="_4_idInput" name="id" />
        <inputSet>
          <dataInputRefs>_4_idInput</dataInputRefs>
        </inputSet>
        <outputSet>
        </outputSet>
      </ioSpecification>
      <dataInputAssociation>
        <sourceRef>id</sourceRef>
        <targetRef>_4_idInput</targetRef>
      </dataInputAssociation>
    </task>

    <!-- connections -->
    <sequenceFlow id="_4-_3" sourceRef="_4" targetRef="_3" />
    <sequenceFlow id="_1-_4" sourceRef="_1" targetRef="_4" />

  </process>

  <bpmndi:BPMNDiagram>
    <bpmndi:BPMNPlane bpmnElement="customtask" >
      <bpmndi:BPMNShape bpmnElement="_1" >
        <dc:Bounds x="18" y="16" width="48" height="48" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="_3" >
        <dc:Bounds x="232" y="16" width="48" height="48" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="_4" >
        <dc:Bounds x="100" y="16" width="100" height="48" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge bpmnElement="_4-_3" >
        <di:waypoint x="150" y="40" />
        <di:waypoint x="256" y="40" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="_1-_4" >
        <di:waypoint x="42" y="40" />
        <di:waypoint x="150" y="40" />
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>

</definitions>