AnsweredAssumed Answered

Cannot Import BPMN20.xml File From Another Editor

Question asked by ct1 on Oct 5, 2011
Latest reply on Jul 30, 2014 by geostp
I created the following bpmn20.xml file in the Yaoqiang-BPMN-Editor.  When I tried to use the "Import BPMN 2.0 file" selection in Eclipse, the Designer created an .activiti file that had only a subset of the elements the bmpm20.xml file had.

The original bmpm20.xml file:

<definitions xmlns="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:tns="http://sourceforge.net/bpmn/definitions/_1317394466801" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" exporter="Yaoqiang BPMN Editor" exporterVersion="2.0" expressionLanguage="http://www.w3.org/1999/XPath" id="_1317394466801" name="" targetNamespace="http://sourceforge.net/bpmn/definitions/_1317394466801" typeLanguage="http://www.w3.org/2001/XMLSchema" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL http://bpmn.sourceforge.net/schemas/BPMN20.xsd">
  <process id="_1" isClosed="false" isExecutable="true" processType="Private">
    <startEvent id="_2" isInterrupting="true" name="Start Event" parallelMultiple="false">
      <outgoing>_4</outgoing>
      <property id="_2_P_1" itemSubjectRef="xsd:string" name="Product"/>
      <property id="_2_P_2" itemSubjectRef="xsd:long" name="Quantity"/>
      <property id="_2_P_3" itemSubjectRef="xsd:string" name="Description"/>
      <property id="_2_P_4" itemSubjectRef="xsd:long" name="customerNumber"/>
      <dataOutput id="Dout_2_1" isCollection="false" itemSubjectRef="xsd:string" name="Product"/>
      <dataOutput id="Dout_2_2" isCollection="false" itemSubjectRef="xsd:long" name="Quantity"/>
      <dataOutput id="Dout_2_3" isCollection="false" itemSubjectRef="xsd:string" name="Description"/>
      <dataOutput id="Dout_2_4" isCollection="false" itemSubjectRef="xsd:long" name="Customer number"/>
      <dataOutputAssociation id="DOA_2_1">
        <sourceRef>Dout_2_1</sourceRef>
        <targetRef>_2_P_1</targetRef>
      </dataOutputAssociation>
      <dataOutputAssociation id="DOA_2_2">
        <sourceRef>Dout_2_2</sourceRef>
        <targetRef>_2_P_2</targetRef>
      </dataOutputAssociation>
      <dataOutputAssociation id="DOA_2_3">
        <sourceRef>Dout_2_3</sourceRef>
        <targetRef>_2_P_3</targetRef>
      </dataOutputAssociation>
      <dataOutputAssociation id="DOA_2_4">
        <sourceRef>Dout_2_4</sourceRef>
        <targetRef>_2_P_4</targetRef>
      </dataOutputAssociation>
      <outputSet>
        <dataOutputRefs>Dout_2_1</dataOutputRefs>
        <dataOutputRefs>Dout_2_2</dataOutputRefs>
        <dataOutputRefs>Dout_2_3</dataOutputRefs>
        <dataOutputRefs>Dout_2_4</dataOutputRefs>
      </outputSet>
    </startEvent>
    <exclusiveGateway gatewayDirection="Unspecified" id="_3" name="Exclusive Gateway">
      <incoming>_4</incoming>
      <outgoing>_7</outgoing>
      <outgoing>_8</outgoing>
    </exclusiveGateway>
    <sequenceFlow id="_4" sourceRef="_2" targetRef="_3"/>
    <exclusiveGateway gatewayDirection="Unspecified" id="_5" name="Exclusive Gateway">
      <incoming>_8</incoming>
      <incoming>_9</incoming>
      <outgoing>_17</outgoing>
    </exclusiveGateway>
    <userTask completionQuantity="1" id="_6" implementation="##unspecified" isForCompensation="false" name="Provide additional &#10;customer information" startQuantity="1">
      <documentation id="_6_D_1" textFormat="text/plain"><![CDATA[Additional info needed for sales
opportunity for product ${product}]]></documentation>
      <incoming>_7</incoming>
      <outgoing>_9</outgoing>
      <potentialOwner id="_6_RES_1" name="sales">
        <resourceAssignmentExpression>
          <formalExpression/>
        </resourceAssignmentExpression>
      </potentialOwner>
    </userTask>
    <sequenceFlow id="_7" sourceRef="_3" targetRef="_6">
      <conditionExpression><![CDATA[${customerNumber == 0}]]></conditionExpression>
    </sequenceFlow>
    <sequenceFlow id="_8" sourceRef="_3" targetRef="_5">
      <conditionExpression><![CDATA[${customerNumber > 0}]]></conditionExpression>
    </sequenceFlow>
    <sequenceFlow id="_9" sourceRef="_6" targetRef="_5"/>
    <subProcess completionQuantity="1" id="_13" isForCompensation="false" name="Sub-Process" startQuantity="1" triggeredByEvent="false">
      <incoming>_17</incoming>
      <outgoing>_28</outgoing>
      <startEvent id="_14" isInterrupting="true" name="Start Event" parallelMultiple="false">
        <outgoing>_20</outgoing>
      </startEvent>
      <serviceTask completionQuantity="1" id="_15" implementation="##WebService" isForCompensation="false" name="Find Customer" startQuantity="1">
        <incoming>_20</incoming>
        <outgoing>_21</outgoing>
      </serviceTask>
      <exclusiveGateway gatewayDirection="Unspecified" id="_16" name="Exclusive Gateway">
        <incoming>_21</incoming>
        <outgoing>_22</outgoing>
        <outgoing>_23</outgoing>
      </exclusiveGateway>
      <endEvent id="_18" name="End Event">
        <documentation id="_18_D_1" textFormat="text/plain"><![CDATA[customerNotFoundError]]></documentation>
        <incoming>_22</incoming>
        <errorEventDefinition id="_18_ED_1"/>
      </endEvent>
      <endEvent id="_19" name="End Event">
        <incoming>_23</incoming>
      </endEvent>
      <sequenceFlow id="_20" sourceRef="_14" targetRef="_15"/>
      <sequenceFlow id="_21" sourceRef="_15" targetRef="_16"/>
      <sequenceFlow id="_22" sourceRef="_16" targetRef="_18">
        <conditionExpression><![CDATA[${customer.customerFound == false}]]></conditionExpression>
      </sequenceFlow>
      <sequenceFlow id="_23" sourceRef="_16" targetRef="_19">
        <conditionExpression><![CDATA[${customer.customerFound == true}]]></conditionExpression>
      </sequenceFlow>
    </subProcess>
    <sequenceFlow id="_17" sourceRef="_5" targetRef="_13"/>
    <serviceTask completionQuantity="1" id="_25" implementation="##WebService" isForCompensation="false" name="Service Task" startQuantity="1">
      <incoming>_28</incoming>
      <outgoing>_30</outgoing>
    </serviceTask>
    <boundaryEvent attachedToRef="_13" cancelActivity="true" id="_26" name="Intermediate Event" parallelMultiple="false">
      <outgoing>_32</outgoing>
      <errorEventDefinition id="_26_ED_1"/>
    </boundaryEvent>
    <sequenceFlow id="_28" sourceRef="_13" targetRef="_25"/>
    <endEvent id="_29" name="End Event">
      <incoming>_30</incoming>
      <incoming>_33</incoming>
    </endEvent>
    <sequenceFlow id="_30" sourceRef="_25" targetRef="_29"/>
    <userTask completionQuantity="1" id="_31" implementation="##unspecified" isForCompensation="false" name="Create a new&#10; customer entry" startQuantity="1">
      <incoming>_32</incoming>
      <outgoing>_33</outgoing>
      <potentialOwner id="_31_RES_1" name="sales">
        <resourceAssignmentExpression>
          <formalExpression/>
        </resourceAssignmentExpression>
      </potentialOwner>
    </userTask>
    <sequenceFlow id="_32" sourceRef="_26" targetRef="_31"/>
    <sequenceFlow id="_33" sourceRef="_31" targetRef="_29"/>
  </process>
  <bpmndi:BPMNDiagram documentation="background=#FFFFFF;count=1;horizontalcount=1;orientation=0;width=841.824;height=595.224" id="Yaoqiang-_0" name="Yaoqiang BPMN Diagram 1">
    <bpmndi:BPMNPlane bpmnElement="_1">
      <bpmndi:BPMNShape bpmnElement="_2" id="Yaoqiang-_2">
        <dc:Bounds height="32.0" width="32.0" x="25.0" y="155.0"/>
        <bpmndi:BPMNLabel>
          <dc:Bounds height="19.83011429398148" width="59.33333333333333" x="61.33333333333334" y="244.56642433449073"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="_3" id="Yaoqiang-_3" isMarkerVisible="true">
        <dc:Bounds height="42.0" width="42.0" x="110.0" y="150.0"/>
        <bpmndi:BPMNLabel>
          <dc:Bounds height="19.83011429398148" width="97.1111111111111" x="132.44444444444446" y="243.48148148148147"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="_5" id="Yaoqiang-_5" isMarkerVisible="true">
        <dc:Bounds height="42.0" width="42.0" x="340.0" y="150.0"/>
        <bpmndi:BPMNLabel>
          <dc:Bounds height="19.83011429398148" width="97.1111111111111" x="362.44444444444446" y="243.48148148148147"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="_6" id="Yaoqiang-_6">
        <dc:Bounds height="55.0" width="105.0" x="190.0" y="260.0"/>
        <bpmndi:BPMNLabel>
          <dc:Bounds height="47.97826244212962" width="90.44444444444443" x="247.27777777777777" y="314.99235026041663"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="_13" id="Yaoqiang-_13" isExpanded="true">
        <dc:Bounds height="250.0" width="400.0" x="420.0" y="45.0"/>
        <bpmndi:BPMNLabel>
          <dc:Bounds height="19.83011429398148" width="69.7037037037037" x="635.1481481481482" y="96.48148148148148"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="_25" id="Yaoqiang-_25">
        <dc:Bounds height="55.0" width="85.0" x="880.0" y="145.0"/>
        <bpmndi:BPMNLabel>
          <dc:Bounds height="19.83011429398148" width="68.96296296296295" x="938.0185185185186" y="214.0664243344907"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="_29" id="Yaoqiang-_29">
        <dc:Bounds height="32.0" width="32.0" x="1015.0" y="155.0"/>
        <bpmndi:BPMNLabel>
          <dc:Bounds height="19.83011429398148" width="55.62962962962962" x="1053.1851851851852" y="244.56642433449073"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="_31" id="Yaoqiang-_31">
        <dc:Bounds height="55.0" width="85.0" x="595.0" y="390.0"/>
        <bpmndi:BPMNLabel>
          <dc:Bounds height="47.97826244212962" width="70.44444444444443" x="652.2777777777778" y="444.9923502604167"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="_14" id="Yaoqiang-_14">
        <dc:Bounds height="32.0" width="32.0" x="440.0" y="135.0"/>
        <bpmndi:BPMNLabel>
          <dc:Bounds height="19.83011429398148" width="59.33333333333333" x="476.3333333333333" y="224.56642433449076"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="_15" id="Yaoqiang-_15">
        <dc:Bounds height="55.0" width="85.0" x="520.0" y="125.0"/>
        <bpmndi:BPMNLabel>
          <dc:Bounds height="19.83011429398148" width="77.85185185185185" x="573.5740740740741" y="194.06642433449076"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="_16" id="Yaoqiang-_16" isMarkerVisible="true">
        <dc:Bounds height="42.0" width="42.0" x="655.0" y="130.0"/>
        <bpmndi:BPMNLabel>
          <dc:Bounds height="19.83011429398148" width="97.1111111111111" x="677.4444444444445" y="223.4814814814815"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="_18" id="Yaoqiang-_18">
        <dc:Bounds height="32.0" width="32.0" x="765.0" y="70.0"/>
        <bpmndi:BPMNLabel>
          <dc:Bounds height="19.83011429398148" width="55.62962962962962" x="803.1851851851852" y="159.56642433449073"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="_19" id="Yaoqiang-_19">
        <dc:Bounds height="32.0" width="32.0" x="770.0" y="195.0"/>
        <bpmndi:BPMNLabel>
          <dc:Bounds height="19.83011429398148" width="55.62962962962962" x="808.1851851851852" y="284.5664243344907"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="_26" id="Yaoqiang-_26">
        <dc:Bounds height="32.0" width="32.0" x="620.0" y="283.0"/>
        <bpmndi:BPMNLabel>
          <dc:Bounds height="19.83011429398148" width="95.62962962962962" x="638.1851851851851" y="372.5664243344907"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge bpmnElement="_17" id="Yaoqiang-_17" sourceElement="_5" targetElement="_13">
        <di:waypoint x="360.0" y="150.0"/>
        <di:waypoint x="430.0" y="145.0"/>
        <bpmndi:BPMNLabel>
          <dc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="_9" id="Yaoqiang-_9" sourceElement="_6" targetElement="_5">
        <di:waypoint x="235.0" y="290.0"/>
        <di:waypoint x="355.0" y="175.0"/>
        <bpmndi:BPMNLabel>
          <dc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="_8" id="Yaoqiang-_8" sourceElement="_3" targetElement="_5">
        <di:waypoint x="130.0" y="170.0"/>
        <di:waypoint x="350.0" y="170.0"/>
        <bpmndi:BPMNLabel>
          <dc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="_7" id="Yaoqiang-_7" sourceElement="_3" targetElement="_6">
        <di:waypoint x="130.0" y="170.0"/>
        <di:waypoint x="200.0" y="290.0"/>
        <bpmndi:BPMNLabel>
          <dc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="_4" id="Yaoqiang-_4" sourceElement="_2" targetElement="_3">
        <di:waypoint x="40.0" y="170.0"/>
        <di:waypoint x="135.0" y="180.0"/>
        <bpmndi:BPMNLabel>
          <dc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="_28" id="Yaoqiang-_28" sourceElement="_13" targetElement="_25">
        <di:waypoint x="625.0" y="170.0"/>
        <di:waypoint x="885.0" y="155.0"/>
        <bpmndi:BPMNLabel>
          <dc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="_23" id="Yaoqiang-_23" sourceElement="_16" targetElement="_19">
        <di:waypoint x="675.0" y="150.0"/>
        <di:waypoint x="795.0" y="215.0"/>
        <bpmndi:BPMNLabel>
          <dc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="_22" id="Yaoqiang-_22" sourceElement="_16" targetElement="_18">
        <di:waypoint x="675.0" y="150.0"/>
        <di:waypoint x="780.0" y="90.0"/>
        <bpmndi:BPMNLabel>
          <dc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="_21" id="Yaoqiang-_21" sourceElement="_15" targetElement="_16">
        <di:waypoint x="565.0" y="155.0"/>
        <di:waypoint x="680.0" y="150.0"/>
        <bpmndi:BPMNLabel>
          <dc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="_20" id="Yaoqiang-_20" sourceElement="_14" targetElement="_15">
        <di:waypoint x="455.0" y="150.0"/>
        <di:waypoint x="565.0" y="150.0"/>
        <bpmndi:BPMNLabel>
          <dc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="_33" id="Yaoqiang-_33" sourceElement="_31" targetElement="_29">
        <di:waypoint x="640.0" y="415.0"/>
        <di:waypoint x="990.0" y="300.0"/>
        <di:waypoint x="1040.0" y="180.0"/>
        <bpmndi:BPMNLabel>
          <dc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="_32" id="Yaoqiang-_32" sourceElement="_26" targetElement="_31">
        <di:waypoint x="635.0" y="300.0"/>
        <di:waypoint x="635.0" y="415.0"/>
        <bpmndi:BPMNLabel>
          <dc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="_30" id="Yaoqiang-_30" sourceElement="_25" targetElement="_29">
        <di:waypoint x="920.0" y="170.0"/>
        <di:waypoint x="1035.0" y="175.0"/>
        <bpmndi:BPMNLabel>
          <dc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</definitions>

Outcomes