AnsweredAssumed Answered

Cannot deploy diagram with swimlane inside to engine 5.3

Question asked by hery1 on Apr 1, 2011
Latest reply on Feb 24, 2016 by jtrask1
Hi,

I used the activiti modeler based on signavio to draw a simple diagram with a swim lane inside the diagram but the resulting bpmn20.xml file cannot be deployed on the engine version 5.3.
Please see the attachment for the screenshot of the 2 diagrams (with and without swimlane) and the exception message.

This is the resulting diagram bpmn20.xml file

<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:activiti="http://activiti.org/bpmn" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI" xmlns:signavio="http://www.signavio.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" exporter="Signavio Process Editor, http://www.signavio.com" exporterVersion="" id="sid-09ba8bdd-a419-4674-b78a-f6c99744d08c" targetNamespace="http://www.signavio.com/bpmn20" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL http://www.omg.org/spec/BPMN/2.0/20100501/BPMN20.xsd">
   <process id="testActiviti53Key" isClosed="false" isExecutable="false" name="testActiviti53" processType="None">
      <laneSet id="sid-34a111c9-158c-466b-a204-0eb1cb5a47d0">
         <lane id="sid-5BE82672-BF71-462F-B3BD-2103379D1D68">
            <extensionElements>
               <signavio:signavioMetaData metaKey="bgcolor" metaValue=""/>
            </extensionElements>
            <flowNodeRef>sid-61BF5017-7D15-47F6-8EAC-A478EB9A05D2</flowNodeRef>
            <flowNodeRef>sid-F576E162-50A0-4202-A77C-8E9D2949EB35</flowNodeRef>
            <flowNodeRef>sid-4D1BC5C4-02B2-41FB-BF14-57CDD6402663</flowNodeRef>
            <flowNodeRef>sid-BF68F82D-D515-4642-994E-B668C7D5D9EA</flowNodeRef>
         </lane>
      </laneSet>
      <manualTask id="sid-61BF5017-7D15-47F6-8EAC-A478EB9A05D2" isForCompensation="false" name="manual task">
         <extensionElements>
            <signavio:signavioMetaData metaKey="bgcolor" metaValue="#ffffcc"/>
         </extensionElements>
         <incoming>sid-E34FF502-AC6F-4BF4-B6B0-8BB5237CC7AC</incoming>
         <outgoing>sid-BC778E85-AB5A-42F9-A4C9-C4BE5D7603B2</outgoing>
      </manualTask>
      <userTask activiti:formKey="" id="sid-F576E162-50A0-4202-A77C-8E9D2949EB35" isForCompensation="false" name="task 1">
         <extensionElements>
            <signavio:signavioMetaData metaKey="bgcolor" metaValue="#ffffcc"/>
         </extensionElements>
         <incoming>sid-BC778E85-AB5A-42F9-A4C9-C4BE5D7603B2</incoming>
         <outgoing>sid-48CFAC5E-C78E-44C4-AF19-2481CCAF3835</outgoing>
         <potentialOwner id="sid-f013eee9-619a-4b97-95b2-94ca7ad66c72">
            <resourceAssignmentExpression id="sid-a79085b5-a848-4bbe-9e5a-0d6b9cd93a9a">
               <formalExpression id="sid-7114c64a-60c6-45f3-b49f-53c11984ada0">group(management)</formalExpression>
            </resourceAssignmentExpression>
         </potentialOwner>
      </userTask>
      <endEvent id="sid-4D1BC5C4-02B2-41FB-BF14-57CDD6402663" name="">
         <extensionElements>
            <signavio:signavioMetaData metaKey="bgcolor" metaValue="#ffffff"/>
         </extensionElements>
         <incoming>sid-48CFAC5E-C78E-44C4-AF19-2481CCAF3835</incoming>
      </endEvent>
      <startEvent id="sid-BF68F82D-D515-4642-994E-B668C7D5D9EA" name="">
         <extensionElements>
            <signavio:signavioMetaData metaKey="bgcolor" metaValue="#ffffff"/>
         </extensionElements>
         <outgoing>sid-E34FF502-AC6F-4BF4-B6B0-8BB5237CC7AC</outgoing>
      </startEvent>
      <sequenceFlow id="sid-E34FF502-AC6F-4BF4-B6B0-8BB5237CC7AC" name="" sourceRef="sid-BF68F82D-D515-4642-994E-B668C7D5D9EA" targetRef="sid-61BF5017-7D15-47F6-8EAC-A478EB9A05D2"/>
      <sequenceFlow id="sid-48CFAC5E-C78E-44C4-AF19-2481CCAF3835" name="" sourceRef="sid-F576E162-50A0-4202-A77C-8E9D2949EB35" targetRef="sid-4D1BC5C4-02B2-41FB-BF14-57CDD6402663"/>
      <sequenceFlow id="sid-BC778E85-AB5A-42F9-A4C9-C4BE5D7603B2" name="" sourceRef="sid-61BF5017-7D15-47F6-8EAC-A478EB9A05D2" targetRef="sid-F576E162-50A0-4202-A77C-8E9D2949EB35"/>
   </process>
   <collaboration id="sid-f96018c8-2e82-4e5a-86d2-140d8ea96734">
      <participant id="sid-24F68080-7675-4C2C-B078-DD0ED77D8BBF" name="poolname" processRef="testActiviti53Key">
         <extensionElements>
            <signavio:signavioMetaData metaKey="bgcolor" metaValue="#ffffff"/>
         </extensionElements>
      </participant>
   </collaboration>
   <bpmndi:BPMNDiagram id="sid-8a52ec7a-9438-4e14-804f-1c5a045d9a97">
      <bpmndi:BPMNPlane bpmnElement="sid-f96018c8-2e82-4e5a-86d2-140d8ea96734" id="sid-40d84498-6e3a-461b-890b-8772f50a14e0">
         <bpmndi:BPMNShape bpmnElement="sid-5BE82672-BF71-462F-B3BD-2103379D1D68" id="sid-5BE82672-BF71-462F-B3BD-2103379D1D68_gui" isHorizontal="true">
            <omgdc:Bounds height="250.0" width="570.0" x="135.0" y="165.0"/>
         </bpmndi:BPMNShape>
         <bpmndi:BPMNShape bpmnElement="sid-61BF5017-7D15-47F6-8EAC-A478EB9A05D2" id="sid-61BF5017-7D15-47F6-8EAC-A478EB9A05D2_gui">
            <omgdc:Bounds height="80.0" width="100.0" x="294.0" y="255.0"/>
         </bpmndi:BPMNShape>
         <bpmndi:BPMNShape bpmnElement="sid-F576E162-50A0-4202-A77C-8E9D2949EB35" id="sid-F576E162-50A0-4202-A77C-8E9D2949EB35_gui">
            <omgdc:Bounds height="80.0" width="100.0" x="443.0" y="255.0"/>
         </bpmndi:BPMNShape>
         <bpmndi:BPMNShape bpmnElement="sid-4D1BC5C4-02B2-41FB-BF14-57CDD6402663" id="sid-4D1BC5C4-02B2-41FB-BF14-57CDD6402663_gui">
            <omgdc:Bounds height="28.0" width="28.0" x="593.0" y="281.0"/>
         </bpmndi:BPMNShape>
         <bpmndi:BPMNShape bpmnElement="sid-BF68F82D-D515-4642-994E-B668C7D5D9EA" id="sid-BF68F82D-D515-4642-994E-B668C7D5D9EA_gui">
            <omgdc:Bounds height="30.0" width="30.0" x="219.0" y="280.0"/>
         </bpmndi:BPMNShape>
         <bpmndi:BPMNShape bpmnElement="sid-24F68080-7675-4C2C-B078-DD0ED77D8BBF" id="sid-24F68080-7675-4C2C-B078-DD0ED77D8BBF_gui" isHorizontal="false">
            <omgdc:Bounds height="250.0" width="600.0" x="105.0" y="165.0"/>
         </bpmndi:BPMNShape>
         <bpmndi:BPMNEdge bpmnElement="sid-E34FF502-AC6F-4BF4-B6B0-8BB5237CC7AC" id="sid-E34FF502-AC6F-4BF4-B6B0-8BB5237CC7AC_gui">
            <omgdi:waypoint x="249.0" y="295.0"/>
            <omgdi:waypoint x="294.0" y="295.0"/>
         </bpmndi:BPMNEdge>
         <bpmndi:BPMNEdge bpmnElement="sid-BC778E85-AB5A-42F9-A4C9-C4BE5D7603B2" id="sid-BC778E85-AB5A-42F9-A4C9-C4BE5D7603B2_gui">
            <omgdi:waypoint x="394.0" y="295.0"/>
            <omgdi:waypoint x="443.0" y="295.0"/>
         </bpmndi:BPMNEdge>
         <bpmndi:BPMNEdge bpmnElement="sid-48CFAC5E-C78E-44C4-AF19-2481CCAF3835" id="sid-48CFAC5E-C78E-44C4-AF19-2481CCAF3835_gui">
            <omgdi:waypoint x="543.0" y="295.0"/>
            <omgdi:waypoint x="593.0" y="295.0"/>
         </bpmndi:BPMNEdge>
      </bpmndi:BPMNPlane>
   </bpmndi:BPMNDiagram>
</definitions>

This is the diagram bpmn20.xml file without swimlane. It can be deployed just fine and started just fine.

<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:activiti="http://activiti.org/bpmn" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI" xmlns:signavio="http://www.signavio.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" exporter="Signavio Process Editor, http://www.signavio.com" exporterVersion="" id="sid-866fc2ee-1202-443f-90b0-046223c91655" targetNamespace="http://www.signavio.com/bpmn20" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL http://www.omg.org/spec/BPMN/2.0/20100501/BPMN20.xsd">
   <process id="testActiviti53Key" isExecutable="false" name="testActiviti53">
      <manualTask id="sid-61BF5017-7D15-47F6-8EAC-A478EB9A05D2" isForCompensation="false" name="manual task">
         <extensionElements>
            <signavio:signavioMetaData metaKey="bgcolor" metaValue="#ffffcc"/>
         </extensionElements>
         <incoming>sid-E34FF502-AC6F-4BF4-B6B0-8BB5237CC7AC</incoming>
         <outgoing>sid-BC778E85-AB5A-42F9-A4C9-C4BE5D7603B2</outgoing>
      </manualTask>
      <startEvent id="sid-BF68F82D-D515-4642-994E-B668C7D5D9EA" name="">
         <extensionElements>
            <signavio:signavioMetaData metaKey="bgcolor" metaValue="#ffffff"/>
         </extensionElements>
         <outgoing>sid-E34FF502-AC6F-4BF4-B6B0-8BB5237CC7AC</outgoing>
      </startEvent>
      <userTask activiti:formKey="" id="sid-F576E162-50A0-4202-A77C-8E9D2949EB35" isForCompensation="false" name="task 1">
         <extensionElements>
            <signavio:signavioMetaData metaKey="bgcolor" metaValue="#ffffcc"/>
         </extensionElements>
         <incoming>sid-BC778E85-AB5A-42F9-A4C9-C4BE5D7603B2</incoming>
         <outgoing>sid-48CFAC5E-C78E-44C4-AF19-2481CCAF3835</outgoing>
         <potentialOwner id="sid-d7d447b9-dfc9-4605-92d8-5a23c5abb808">
            <resourceAssignmentExpression id="sid-34feb416-7d58-44cd-a8e6-0cf98fecdd5c">
               <formalExpression id="sid-a0510528-ae48-4803-9fa1-060c25121985">group(management)</formalExpression>
            </resourceAssignmentExpression>
         </potentialOwner>
      </userTask>
      <endEvent id="sid-4D1BC5C4-02B2-41FB-BF14-57CDD6402663" name="">
         <extensionElements>
            <signavio:signavioMetaData metaKey="bgcolor" metaValue="#ffffff"/>
         </extensionElements>
         <incoming>sid-48CFAC5E-C78E-44C4-AF19-2481CCAF3835</incoming>
      </endEvent>
      <sequenceFlow id="sid-E34FF502-AC6F-4BF4-B6B0-8BB5237CC7AC" name="" sourceRef="sid-BF68F82D-D515-4642-994E-B668C7D5D9EA" targetRef="sid-61BF5017-7D15-47F6-8EAC-A478EB9A05D2"/>
      <sequenceFlow id="sid-48CFAC5E-C78E-44C4-AF19-2481CCAF3835" name="" sourceRef="sid-F576E162-50A0-4202-A77C-8E9D2949EB35" targetRef="sid-4D1BC5C4-02B2-41FB-BF14-57CDD6402663"/>
      <sequenceFlow id="sid-BC778E85-AB5A-42F9-A4C9-C4BE5D7603B2" name="" sourceRef="sid-61BF5017-7D15-47F6-8EAC-A478EB9A05D2" targetRef="sid-F576E162-50A0-4202-A77C-8E9D2949EB35"/>
   </process>
   <bpmndi:BPMNDiagram id="sid-22575a87-0fdd-4232-9212-3e70c0e170e5">
      <bpmndi:BPMNPlane bpmnElement="testActiviti53Key" id="sid-38e0ef2b-a4b8-4e9c-b296-377626b55c0e">
         <bpmndi:BPMNShape bpmnElement="sid-61BF5017-7D15-47F6-8EAC-A478EB9A05D2" id="sid-61BF5017-7D15-47F6-8EAC-A478EB9A05D2_gui">
            <omgdc:Bounds height="80.0" width="100.0" x="435.0" y="180.0"/>
         </bpmndi:BPMNShape>
         <bpmndi:BPMNShape bpmnElement="sid-BF68F82D-D515-4642-994E-B668C7D5D9EA" id="sid-BF68F82D-D515-4642-994E-B668C7D5D9EA_gui">
            <omgdc:Bounds height="30.0" width="30.0" x="360.0" y="205.0"/>
         </bpmndi:BPMNShape>
         <bpmndi:BPMNShape bpmnElement="sid-F576E162-50A0-4202-A77C-8E9D2949EB35" id="sid-F576E162-50A0-4202-A77C-8E9D2949EB35_gui">
            <omgdc:Bounds height="80.0" width="100.0" x="584.0" y="180.0"/>
         </bpmndi:BPMNShape>
         <bpmndi:BPMNShape bpmnElement="sid-4D1BC5C4-02B2-41FB-BF14-57CDD6402663" id="sid-4D1BC5C4-02B2-41FB-BF14-57CDD6402663_gui">
            <omgdc:Bounds height="28.0" width="28.0" x="734.0" y="206.0"/>
         </bpmndi:BPMNShape>
         <bpmndi:BPMNEdge bpmnElement="sid-E34FF502-AC6F-4BF4-B6B0-8BB5237CC7AC" id="sid-E34FF502-AC6F-4BF4-B6B0-8BB5237CC7AC_gui">
            <omgdi:waypoint x="390.0" y="220.0"/>
            <omgdi:waypoint x="435.0" y="220.0"/>
         </bpmndi:BPMNEdge>
         <bpmndi:BPMNEdge bpmnElement="sid-BC778E85-AB5A-42F9-A4C9-C4BE5D7603B2" id="sid-BC778E85-AB5A-42F9-A4C9-C4BE5D7603B2_gui">
            <omgdi:waypoint x="535.0" y="220.0"/>
            <omgdi:waypoint x="584.0" y="220.0"/>
         </bpmndi:BPMNEdge>
         <bpmndi:BPMNEdge bpmnElement="sid-48CFAC5E-C78E-44C4-AF19-2481CCAF3835" id="sid-48CFAC5E-C78E-44C4-AF19-2481CCAF3835_gui">
            <omgdi:waypoint x="684.0" y="220.0"/>
            <omgdi:waypoint x="734.0" y="220.0"/>
         </bpmndi:BPMNEdge>
      </bpmndi:BPMNPlane>
   </bpmndi:BPMNDiagram>
</definitions>

My question is, is there anything wrong with the xml files generated?
I keep comparing the xml file with the xml in section 7.1.2 from the pdf available from http://www.omg.org/cgi-bin/doc?dtc/10-06-02 but I don't see anything wrong…
Note that the activiti modeler that I used is customized a little bit. But still, I don't see anything wrong with the xml file so it doesn't seem that the customization is the cause of error.

Or is it because the activiti engine currently does not support the existence of swimlane?

Attachments

Outcomes