blob: 9e510574376714cda4356dff571d7be097aebb6f [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!-- origin at X=0.0 Y=0.0 -->
<bpmn2:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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:java="http://www.java.com/javaTypes" xmlns:tns="http://www.jboss.org/drools" xmlns="http://www.jboss.org/drools" 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" id="Definition" exporter="org.eclipse.bpmn2.modeler.core" exporterVersion="1.1.4.201511051307" expressionLanguage="http://www.mvel.org/2.0" targetNamespace="http://www.jboss.org/drools" typeLanguage="http://www.java.com/javaTypes">
<bpmn2:itemDefinition id="ItemDefinition_1" isCollection="false" structureRef="String"/>
<bpmn2:itemDefinition id="ItemDefinition_2" isCollection="false" structureRef="Integer"/>
<bpmn2:itemDefinition id="ItemDefinition_3" isCollection="false" structureRef="Boolean"/>
<bpmn2:itemDefinition id="ItemDefinition_11" isCollection="false" structureRef="${{BASIC_PROJECT_NAME}}.functionlibrary.ListingGateWays"/>
<bpmn2:process id="listingGateWaysTest" tns:version="1" tns:packageName="defaultPackage" tns:adHoc="false" name="ListingGateWaysTest" isExecutable="true" processType="Private">
<bpmn2:extensionElements>
<tns:import name="${{BASIC_PROJECT_NAME}}.functionlibrary.ListingGateWays"/>
</bpmn2:extensionElements>
<bpmn2:startEvent id="StartEvent_1" name="StartProcess">
<bpmn2:outgoing>SequenceFlow_3</bpmn2:outgoing>
</bpmn2:startEvent>
<bpmn2:endEvent id="EndEvent_1" name="">
<bpmn2:incoming>SequenceFlow_8</bpmn2:incoming>
</bpmn2:endEvent>
<bpmn2:userTask id="UserTask_1" name="Choose brand owners" implementation="Java">
<bpmn2:extensionElements>
<tns:onEntry-script scriptFormat="http://www.java.com/java">
<tns:script>ListingGateWays.onEntryChooseBrandOwners();</tns:script>
</tns:onEntry-script>
<tns:onExit-script scriptFormat="http://www.java.com/java">
<tns:script>${{BASIC_PROJECT_NAME}}.functionlibrary.ListingGateWays.onExitChooseBrandOwners();</tns:script>
</tns:onExit-script>
</bpmn2:extensionElements>
<bpmn2:incoming>SequenceFlow_4</bpmn2:incoming>
<bpmn2:outgoing>SequenceFlow_6</bpmn2:outgoing>
<bpmn2:ioSpecification id="_InputOutputSpecification_3">
<bpmn2:dataInput id="_DataInput_9" itemSubjectRef="ItemDefinition_1" name="TaskName"/>
<bpmn2:dataInput id="_DataInput_10" itemSubjectRef="ItemDefinition_2" name="Priority"/>
<bpmn2:dataInput id="_DataInput_11" itemSubjectRef="ItemDefinition_1" name="Comment"/>
<bpmn2:dataInput id="_DataInput_12" itemSubjectRef="ItemDefinition_1" name="GroupId"/>
<bpmn2:dataInput id="_DataInput_13" itemSubjectRef="ItemDefinition_3" name="Skippable"/>
<bpmn2:dataInput id="_DataInput_14" itemSubjectRef="ItemDefinition_1" name="Content"/>
<bpmn2:dataInput id="_DataInput_15" itemSubjectRef="ItemDefinition_1" name="Locale"/>
<bpmn2:inputSet id="_InputSet_3" name="New Input Set">
<bpmn2:dataInputRefs>_DataInput_9</bpmn2:dataInputRefs>
<bpmn2:dataInputRefs>_DataInput_10</bpmn2:dataInputRefs>
<bpmn2:dataInputRefs>_DataInput_11</bpmn2:dataInputRefs>
<bpmn2:dataInputRefs>_DataInput_12</bpmn2:dataInputRefs>
<bpmn2:dataInputRefs>_DataInput_13</bpmn2:dataInputRefs>
<bpmn2:dataInputRefs>_DataInput_14</bpmn2:dataInputRefs>
<bpmn2:dataInputRefs>_DataInput_15</bpmn2:dataInputRefs>
</bpmn2:inputSet>
<bpmn2:outputSet id="_OutputSet_3" name="Output Set"/>
</bpmn2:ioSpecification>
<bpmn2:dataInputAssociation id="_DataInputAssociation_9">
<bpmn2:targetRef>_DataInput_9</bpmn2:targetRef>
<bpmn2:assignment id="Assignment_1">
<bpmn2:from xsi:type="bpmn2:tFormalExpression" id="FormalExpression_2">Select brand owners</bpmn2:from>
<bpmn2:to xsi:type="bpmn2:tFormalExpression" id="FormalExpression_1">_DataInput_9</bpmn2:to>
</bpmn2:assignment>
</bpmn2:dataInputAssociation>
<bpmn2:dataInputAssociation id="_DataInputAssociation_10">
<bpmn2:targetRef>_DataInput_10</bpmn2:targetRef>
<bpmn2:assignment id="Assignment_2">
<bpmn2:from xsi:type="bpmn2:tFormalExpression" id="FormalExpression_4">2</bpmn2:from>
<bpmn2:to xsi:type="bpmn2:tFormalExpression" id="FormalExpression_3">_DataInput_10</bpmn2:to>
</bpmn2:assignment>
</bpmn2:dataInputAssociation>
<bpmn2:dataInputAssociation id="_DataInputAssociation_11">
<bpmn2:targetRef>_DataInput_11</bpmn2:targetRef>
<bpmn2:assignment id="Assignment_3">
<bpmn2:from xsi:type="bpmn2:tFormalExpression" id="FormalExpression_6">Brand owners must be selected in order to decide for brands</bpmn2:from>
<bpmn2:to xsi:type="bpmn2:tFormalExpression" id="FormalExpression_5">_DataInput_11</bpmn2:to>
</bpmn2:assignment>
</bpmn2:dataInputAssociation>
<bpmn2:dataInputAssociation id="_DataInputAssociation_12">
<bpmn2:targetRef>_DataInput_12</bpmn2:targetRef>
<bpmn2:assignment id="Assignment_4">
<bpmn2:from xsi:type="bpmn2:tFormalExpression" id="FormalExpression_8">StoreManagement</bpmn2:from>
<bpmn2:to xsi:type="bpmn2:tFormalExpression" id="FormalExpression_7">_DataInput_12</bpmn2:to>
</bpmn2:assignment>
</bpmn2:dataInputAssociation>
<bpmn2:dataInputAssociation id="_DataInputAssociation_13">
<bpmn2:targetRef>_DataInput_13</bpmn2:targetRef>
</bpmn2:dataInputAssociation>
<bpmn2:dataInputAssociation id="_DataInputAssociation_14">
<bpmn2:targetRef>_DataInput_14</bpmn2:targetRef>
</bpmn2:dataInputAssociation>
<bpmn2:dataInputAssociation id="_DataInputAssociation_15">
<bpmn2:targetRef>_DataInput_15</bpmn2:targetRef>
<bpmn2:assignment id="Assignment_7">
<bpmn2:from xsi:type="bpmn2:tFormalExpression" id="FormalExpression_14">de-DE</bpmn2:from>
<bpmn2:to xsi:type="bpmn2:tFormalExpression" id="FormalExpression_13">_DataInput_15</bpmn2:to>
</bpmn2:assignment>
</bpmn2:dataInputAssociation>
</bpmn2:userTask>
<bpmn2:exclusiveGateway id="ExclusiveGateway_2" name="decide" gatewayDirection="Diverging">
<bpmn2:incoming>SequenceFlow_3</bpmn2:incoming>
<bpmn2:outgoing>SequenceFlow_4</bpmn2:outgoing>
<bpmn2:outgoing>SequenceFlow_5</bpmn2:outgoing>
</bpmn2:exclusiveGateway>
<bpmn2:sequenceFlow id="SequenceFlow_3" tns:priority="1" sourceRef="StartEvent_1" targetRef="ExclusiveGateway_2"/>
<bpmn2:sequenceFlow id="SequenceFlow_4" tns:priority="1" name="lets choose" sourceRef="ExclusiveGateway_2" targetRef="UserTask_1">
<bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression" id="FormalExpression_47" language="http://www.java.com/java">return ListingGateWays.decideLetsChoose();</bpmn2:conditionExpression>
</bpmn2:sequenceFlow>
<bpmn2:userTask id="UserTask_3" name="Select brand owners" implementation="Java">
<bpmn2:extensionElements>
<tns:onEntry-script>
<tns:script>System.out.println(&quot;ListingGateWays.onEntrySelectBrandOwners();&quot;);</tns:script>
</tns:onEntry-script>
<tns:onExit-script scriptFormat="http://www.mvel.org/2.0">
<tns:script>System.out.println(&quot;ListingGateWays.onExitSelectBrandOwners();&quot;);</tns:script>
</tns:onExit-script>
</bpmn2:extensionElements>
<bpmn2:incoming>SequenceFlow_5</bpmn2:incoming>
<bpmn2:outgoing>SequenceFlow_7</bpmn2:outgoing>
<bpmn2:ioSpecification id="InputOutputSpecification_2">
<bpmn2:dataInput id="DataInput_8" itemSubjectRef="ItemDefinition_1" name="TaskName"/>
<bpmn2:dataInput id="DataInput_9" itemSubjectRef="ItemDefinition_2" name="Priority"/>
<bpmn2:dataInput id="DataInput_10" itemSubjectRef="ItemDefinition_1" name="Comment"/>
<bpmn2:dataInput id="DataInput_11" itemSubjectRef="ItemDefinition_1" name="GroupId"/>
<bpmn2:dataInput id="DataInput_12" itemSubjectRef="ItemDefinition_3" name="Skippable"/>
<bpmn2:dataInput id="DataInput_13" itemSubjectRef="ItemDefinition_1" name="Content"/>
<bpmn2:dataInput id="DataInput_14" itemSubjectRef="ItemDefinition_1" name="Locale"/>
<bpmn2:inputSet id="InputSet_3" name="New Input Set">
<bpmn2:dataInputRefs>DataInput_8</bpmn2:dataInputRefs>
<bpmn2:dataInputRefs>DataInput_9</bpmn2:dataInputRefs>
<bpmn2:dataInputRefs>DataInput_10</bpmn2:dataInputRefs>
<bpmn2:dataInputRefs>DataInput_11</bpmn2:dataInputRefs>
<bpmn2:dataInputRefs>DataInput_12</bpmn2:dataInputRefs>
<bpmn2:dataInputRefs>DataInput_13</bpmn2:dataInputRefs>
<bpmn2:dataInputRefs>DataInput_14</bpmn2:dataInputRefs>
</bpmn2:inputSet>
<bpmn2:outputSet id="OutputSet_3" name="Output Set"/>
</bpmn2:ioSpecification>
<bpmn2:dataInputAssociation id="DataInputAssociation_8">
<bpmn2:targetRef>DataInput_8</bpmn2:targetRef>
<bpmn2:assignment id="Assignment_11">
<bpmn2:from xsi:type="bpmn2:tFormalExpression" id="FormalExpression_21">Select brand owners</bpmn2:from>
<bpmn2:to xsi:type="bpmn2:tFormalExpression" id="FormalExpression_22">_DataInput_9</bpmn2:to>
</bpmn2:assignment>
</bpmn2:dataInputAssociation>
<bpmn2:dataInputAssociation id="DataInputAssociation_9">
<bpmn2:targetRef>DataInput_9</bpmn2:targetRef>
<bpmn2:assignment id="Assignment_12">
<bpmn2:from xsi:type="bpmn2:tFormalExpression" id="FormalExpression_23">2</bpmn2:from>
<bpmn2:to xsi:type="bpmn2:tFormalExpression" id="FormalExpression_24">_DataInput_10</bpmn2:to>
</bpmn2:assignment>
</bpmn2:dataInputAssociation>
<bpmn2:dataInputAssociation id="DataInputAssociation_10">
<bpmn2:targetRef>DataInput_10</bpmn2:targetRef>
<bpmn2:assignment id="Assignment_13">
<bpmn2:from xsi:type="bpmn2:tFormalExpression" id="FormalExpression_25">Brand owners must be selected in order to decide for brands</bpmn2:from>
<bpmn2:to xsi:type="bpmn2:tFormalExpression" id="FormalExpression_26">_DataInput_11</bpmn2:to>
</bpmn2:assignment>
</bpmn2:dataInputAssociation>
<bpmn2:dataInputAssociation id="DataInputAssociation_11">
<bpmn2:targetRef>DataInput_11</bpmn2:targetRef>
<bpmn2:assignment id="Assignment_14">
<bpmn2:from xsi:type="bpmn2:tFormalExpression" id="FormalExpression_27">StoreManagement</bpmn2:from>
<bpmn2:to xsi:type="bpmn2:tFormalExpression" id="FormalExpression_28">_DataInput_12</bpmn2:to>
</bpmn2:assignment>
</bpmn2:dataInputAssociation>
<bpmn2:dataInputAssociation id="DataInputAssociation_12">
<bpmn2:targetRef>DataInput_12</bpmn2:targetRef>
</bpmn2:dataInputAssociation>
<bpmn2:dataInputAssociation id="DataInputAssociation_13">
<bpmn2:targetRef>DataInput_13</bpmn2:targetRef>
</bpmn2:dataInputAssociation>
<bpmn2:dataInputAssociation id="DataInputAssociation_14">
<bpmn2:targetRef>DataInput_14</bpmn2:targetRef>
<bpmn2:assignment id="Assignment_15">
<bpmn2:from xsi:type="bpmn2:tFormalExpression" id="FormalExpression_29">de-DE</bpmn2:from>
<bpmn2:to xsi:type="bpmn2:tFormalExpression" id="FormalExpression_30">_DataInput_15</bpmn2:to>
</bpmn2:assignment>
</bpmn2:dataInputAssociation>
</bpmn2:userTask>
<bpmn2:sequenceFlow id="SequenceFlow_5" tns:priority="1" name="lets select" sourceRef="ExclusiveGateway_2" targetRef="UserTask_3">
<bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression" id="FormalExpression_48" language="http://www.mvel.org/2.0">System.out.println(&quot;ListingGateWays.decideLetsSelect();&quot;); return false;</bpmn2:conditionExpression>
</bpmn2:sequenceFlow>
<bpmn2:exclusiveGateway id="ExclusiveGateway_3" name="it's done" gatewayDirection="Converging">
<bpmn2:incoming>SequenceFlow_6</bpmn2:incoming>
<bpmn2:incoming>SequenceFlow_7</bpmn2:incoming>
<bpmn2:outgoing>SequenceFlow_8</bpmn2:outgoing>
</bpmn2:exclusiveGateway>
<bpmn2:sequenceFlow id="SequenceFlow_6" tns:priority="1" sourceRef="UserTask_1" targetRef="ExclusiveGateway_3"/>
<bpmn2:sequenceFlow id="SequenceFlow_7" tns:priority="1" sourceRef="UserTask_3" targetRef="ExclusiveGateway_3"/>
<bpmn2:sequenceFlow id="SequenceFlow_8" tns:priority="1" sourceRef="ExclusiveGateway_3" targetRef="EndEvent_1"/>
</bpmn2:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_Process_1" bpmnElement="listing">
<bpmndi:BPMNShape id="BPMNShape_StartEvent_1" bpmnElement="StartEvent_1">
<dc:Bounds height="36.0" width="36.0" x="71.0" y="207.0"/>
<bpmndi:BPMNLabel id="BPMNLabel_1">
<dc:Bounds height="15.0" width="71.0" x="54.0" y="243.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="BPMNShape_EndEvent_1" bpmnElement="EndEvent_1">
<dc:Bounds height="36.0" width="36.0" x="590.0" y="207.0"/>
<bpmndi:BPMNLabel id="BPMNLabel_2"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="BPMNShape_UserTask_1" bpmnElement="UserTask_1">
<dc:Bounds height="50.0" width="110.0" x="300.0" y="151.0"/>
<bpmndi:BPMNLabel id="BPMNLabel_3">
<dc:Bounds height="30.0" width="83.0" x="313.0" y="161.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="BPMNShape_ExclusiveGateway_2" bpmnElement="ExclusiveGateway_2" isMarkerVisible="true">
<dc:Bounds height="50.0" width="50.0" x="150.0" y="200.0"/>
<bpmndi:BPMNLabel id="BPMNLabel_4">
<dc:Bounds height="15.0" width="37.0" x="156.0" y="250.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="BPMNShape_UserTask_2" bpmnElement="UserTask_3">
<dc:Bounds height="50.0" width="110.0" x="300.0" y="250.0"/>
<bpmndi:BPMNLabel id="BPMNLabel_5">
<dc:Bounds height="30.0" width="73.0" x="318.0" y="260.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="BPMNShape_ExclusiveGateway_3" bpmnElement="ExclusiveGateway_3" isMarkerVisible="true">
<dc:Bounds height="50.0" width="50.0" x="466.0" y="200.0"/>
<bpmndi:BPMNLabel id="BPMNLabel_6">
<dc:Bounds height="15.0" width="46.0" x="468.0" y="250.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_3" bpmnElement="SequenceFlow_3" sourceElement="BPMNShape_StartEvent_1" targetElement="BPMNShape_ExclusiveGateway_2">
<di:waypoint xsi:type="dc:Point" x="107.0" y="225.0"/>
<di:waypoint xsi:type="dc:Point" x="128.0" y="225.0"/>
<di:waypoint xsi:type="dc:Point" x="150.0" y="225.0"/>
<bpmndi:BPMNLabel id="BPMNLabel_7"/>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_4" bpmnElement="SequenceFlow_4" sourceElement="BPMNShape_ExclusiveGateway_2" targetElement="BPMNShape_UserTask_1">
<di:waypoint xsi:type="dc:Point" x="175.0" y="200.0"/>
<di:waypoint xsi:type="dc:Point" x="175.0" y="176.0"/>
<di:waypoint xsi:type="dc:Point" x="300.0" y="176.0"/>
<bpmndi:BPMNLabel id="BPMNLabel_8">
<dc:Bounds height="15.0" width="64.0" x="195.0" y="177.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_5" bpmnElement="SequenceFlow_5" sourceElement="BPMNShape_ExclusiveGateway_2" targetElement="BPMNShape_UserTask_2">
<di:waypoint xsi:type="dc:Point" x="175.0" y="250.0"/>
<di:waypoint xsi:type="dc:Point" x="175.0" y="275.0"/>
<di:waypoint xsi:type="dc:Point" x="300.0" y="275.0"/>
<bpmndi:BPMNLabel id="BPMNLabel_9">
<dc:Bounds height="15.0" width="56.0" x="198.0" y="276.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_6" bpmnElement="SequenceFlow_6" sourceElement="BPMNShape_UserTask_1" targetElement="BPMNShape_ExclusiveGateway_3">
<di:waypoint xsi:type="dc:Point" x="410.0" y="176.0"/>
<di:waypoint xsi:type="dc:Point" x="491.0" y="176.0"/>
<di:waypoint xsi:type="dc:Point" x="491.0" y="200.0"/>
<bpmndi:BPMNLabel id="BPMNLabel_10"/>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_7" bpmnElement="SequenceFlow_7" sourceElement="BPMNShape_UserTask_2" targetElement="BPMNShape_ExclusiveGateway_3">
<di:waypoint xsi:type="dc:Point" x="410.0" y="275.0"/>
<di:waypoint xsi:type="dc:Point" x="491.0" y="275.0"/>
<di:waypoint xsi:type="dc:Point" x="491.0" y="250.0"/>
<bpmndi:BPMNLabel id="BPMNLabel_11"/>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_8" bpmnElement="SequenceFlow_8" sourceElement="BPMNShape_ExclusiveGateway_3" targetElement="BPMNShape_EndEvent_1">
<di:waypoint xsi:type="dc:Point" x="516.0" y="225.0"/>
<di:waypoint xsi:type="dc:Point" x="553.0" y="225.0"/>
<di:waypoint xsi:type="dc:Point" x="590.0" y="225.0"/>
<bpmndi:BPMNLabel id="BPMNLabel_12"/>
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn2:definitions>