<?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:bpsim="http://www.bpsim.org/schemas/1.0" xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL" 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:drools="http://www.jboss.org/drools" id="_hyKP0MYuEeGqSa7ZBZwe3A" 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" expressionLanguage="http://www.mvel.org/2.0" targetNamespace="http://www.omg.org/bpmn20" typeLanguage="http://www.java.com/javaTypes">
  <bpmn2:process id="AdHocProcess" drools:adHoc="true" drools:packageName="defaultPackage" name="AdHoc" isExecutable="true">
    <bpmn2:scriptTask id="_062B2E1F-5B9A-4736-830F-CE1701A794F4" drools:selectable="true" name="Task1" scriptFormat="http://www.java.com/java">
      <bpmn2:script><![CDATA[System.out.println("Task1");]]></bpmn2:script>
    </bpmn2:scriptTask>
    <bpmn2:scriptTask id="_48322753-5663-47E0-AC6C-6EDA2E65E691" drools:selectable="true" name="Task2" scriptFormat="http://www.java.com/java">
      <bpmn2:script><![CDATA[System.out.println("Task2");]]></bpmn2:script>
    </bpmn2:scriptTask>
    <bpmn2:scriptTask id="_4CB6EAA2-C289-4783-9B47-CF1646E5E627" drools:selectable="true" name="Task3" scriptFormat="http://www.java.com/java">
      <bpmn2:outgoing>_4D90EA4D-A7BA-430B-9B70-475D55F49620</bpmn2:outgoing>
      <bpmn2:script><![CDATA[System.out.println("Task3");]]></bpmn2:script>
    </bpmn2:scriptTask>
    <bpmn2:scriptTask id="_B0BC552A-0A60-41F3-8B29-EEFD93352108" drools:selectable="true" name="Task4" scriptFormat="http://www.java.com/java">
      <bpmn2:incoming>_F8016A84-8E0E-4C52-8E5A-BDD36C7CC12E</bpmn2:incoming>
      <bpmn2:script><![CDATA[System.out.println("Task4");]]></bpmn2:script>
    </bpmn2:scriptTask>
    <bpmn2:endEvent id="_DAFCB73F-D66C-49CA-9EE4-5AA0B822F49E" drools:bgcolor="#f5deb3" drools:selectable="true" name="End">
      <bpmn2:incoming>_E70AC4B9-CB04-48BF-9475-F9719BD016B3</bpmn2:incoming>
      <bpmn2:terminateEventDefinition id="_hyK24MYuEeGqSa7ZBZwe3A"/>
    </bpmn2:endEvent>
    <bpmn2:exclusiveGateway id="_D71F67D1-B368-4AC3-8701-0553B9E5C75A" drools:bgcolor="#f5deb3" drools:selectable="true" drools:dg="" name="Gateway" gatewayDirection="Diverging">
      <bpmn2:incoming>_4D90EA4D-A7BA-430B-9B70-475D55F49620</bpmn2:incoming>
      <bpmn2:outgoing>_F8016A84-8E0E-4C52-8E5A-BDD36C7CC12E</bpmn2:outgoing>
      <bpmn2:outgoing>_E70AC4B9-CB04-48BF-9475-F9719BD016B3</bpmn2:outgoing>
    </bpmn2:exclusiveGateway>
    <bpmn2:userTask id="_58BB442E-1052-4AFB-8429-918A34319C80" drools:selectable="true" drools:scriptFormat="http://www.java.com/java" name="User1"/>
    <bpmn2:sequenceFlow id="_F8016A84-8E0E-4C52-8E5A-BDD36C7CC12E" drools:bgcolor="#000000" drools:selectable="true" name="default" sourceRef="_D71F67D1-B368-4AC3-8701-0553B9E5C75A" targetRef="_B0BC552A-0A60-41F3-8B29-EEFD93352108">
      <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression" id="_hyK24cYuEeGqSa7ZBZwe3A" language="http://www.jboss.org/drools/rule"><![CDATA[not org.jbpm.examples.junit.Person()]]></bpmn2:conditionExpression>
    </bpmn2:sequenceFlow>
    <bpmn2:sequenceFlow id="_E70AC4B9-CB04-48BF-9475-F9719BD016B3" drools:bgcolor="#000000" drools:selectable="true" name="Person" sourceRef="_D71F67D1-B368-4AC3-8701-0553B9E5C75A" targetRef="_DAFCB73F-D66C-49CA-9EE4-5AA0B822F49E">
      <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression" id="_hyK24sYuEeGqSa7ZBZwe3A" language="http://www.jboss.org/drools/rule"><![CDATA[org.jbpm.examples.junit.Person()]]></bpmn2:conditionExpression>
    </bpmn2:sequenceFlow>
    <bpmn2:sequenceFlow id="_4D90EA4D-A7BA-430B-9B70-475D55F49620" drools:bgcolor="#000000" drools:selectable="true" sourceRef="_4CB6EAA2-C289-4783-9B47-CF1646E5E627" targetRef="_D71F67D1-B368-4AC3-8701-0553B9E5C75A"/>
  </bpmn2:process>
  <bpmndi:BPMNDiagram id="_hyK248YuEeGqSa7ZBZwe3A">
    <bpmndi:BPMNPlane id="_hyK25MYuEeGqSa7ZBZwe3A" bpmnElement="AdHocProcess">
      <bpmndi:BPMNShape id="_hyK25cYuEeGqSa7ZBZwe3A" bpmnElement="_062B2E1F-5B9A-4736-830F-CE1701A794F4">
        <dc:Bounds height="48.0" width="80.0" x="96.0" y="16.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_hyK25sYuEeGqSa7ZBZwe3A" bpmnElement="_48322753-5663-47E0-AC6C-6EDA2E65E691">
        <dc:Bounds height="48.0" width="80.0" x="96.0" y="90.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_hyK258YuEeGqSa7ZBZwe3A" bpmnElement="_4CB6EAA2-C289-4783-9B47-CF1646E5E627">
        <dc:Bounds height="48.0" width="80.0" x="97.0" y="162.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_hyK26MYuEeGqSa7ZBZwe3A" bpmnElement="_B0BC552A-0A60-41F3-8B29-EEFD93352108">
        <dc:Bounds height="48.0" width="80.0" x="297.0" y="257.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_hyK26cYuEeGqSa7ZBZwe3A" bpmnElement="_DAFCB73F-D66C-49CA-9EE4-5AA0B822F49E">
        <dc:Bounds height="28.0" width="28.0" x="316.0" y="83.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_hyK26sYuEeGqSa7ZBZwe3A" bpmnElement="_D71F67D1-B368-4AC3-8701-0553B9E5C75A">
        <dc:Bounds height="40.0" width="40.0" x="217.0" y="165.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_hyK268YuEeGqSa7ZBZwe3A" bpmnElement="_58BB442E-1052-4AFB-8429-918A34319C80">
        <dc:Bounds height="48.0" width="100.0" x="99.0" y="312.0"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="_hyK27MYuEeGqSa7ZBZwe3A" bpmnElement="_F8016A84-8E0E-4C52-8E5A-BDD36C7CC12E">
        <di:waypoint xsi:type="dc:Point" x="237.0" y="185.0"/>
        <di:waypoint xsi:type="dc:Point" x="337.0" y="281.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="_hyK27cYuEeGqSa7ZBZwe3A" bpmnElement="_E70AC4B9-CB04-48BF-9475-F9719BD016B3">
        <di:waypoint xsi:type="dc:Point" x="237.0" y="185.0"/>
        <di:waypoint xsi:type="dc:Point" x="330.0" y="97.0"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="_hyK27sYuEeGqSa7ZBZwe3A" bpmnElement="_4D90EA4D-A7BA-430B-9B70-475D55F49620">
        <di:waypoint xsi:type="dc:Point" x="137.0" y="186.0"/>
        <di:waypoint xsi:type="dc:Point" x="237.0" y="185.0"/>
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</bpmn2:definitions>
