AnsweredAssumed Answered

HELP!Activiti 5.9 not support Activiti Modeler?

Question asked by croc1 on Mar 22, 2012
Latest reply on Mar 22, 2012 by croc1
When I use Activiti Modeler and draw a bpmn-diagram without any attribute ,the diagram was a purity  bpmn20.xml

<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" 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="" expressionLanguage="http://www.w3.org/1999/XPath" id="sid-80e251be-8767-44a9-b995-09d230c473e1" targetNamespace="httpwww.signavio://.com/bpmn20" typeLanguage="http://www.w3.org/2001/XMLSchema" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL http://www.omg.org/spec/BPMN/2.0/20100501/BPMN20.xsd">
   <process id="sid-89b5e6ee-a43e-47f9-b4ad-c60a5109dd05" isExecutable="false">
      <startEvent id="sid-9B10FE5C-729A-4DA2-A20D-1D50D8855DCE" name="">
         <extensionElements>
            <signavio:signavioMetaData metaKey="bgcolor" metaValue="#ffffff"/>
         </extensionElements>
         <outgoing>sid-F2F669CF-1B30-4C70-8AC3-21F362D3B168</outgoing>
      </startEvent>
      <task completionQuantity="1" id="sid-C7F14208-039A-4339-AADD-85D9EF9BFE1C" isForCompensation="false" name="A" startQuantity="1">
         <extensionElements>
            <signavio:signavioMetaData metaKey="bgcolor" metaValue="#ffffcc"/>
         </extensionElements>
         <incoming>sid-F2F669CF-1B30-4C70-8AC3-21F362D3B168</incoming>
         <outgoing>sid-3BD8DC2F-52B5-4B25-84D4-DC26DA3C82E8</outgoing>
      </task>
      <endEvent id="sid-A3A3940A-1540-40E2-AFC9-F02BF6D82208" name="">
         <extensionElements>
            <signavio:signavioMetaData metaKey="bgcolor" metaValue="#ffffff"/>
         </extensionElements>
         <incoming>sid-3BD8DC2F-52B5-4B25-84D4-DC26DA3C82E8</incoming>
      </endEvent>
      <sequenceFlow id="sid-F2F669CF-1B30-4C70-8AC3-21F362D3B168" name="" sourceRef="sid-9B10FE5C-729A-4DA2-A20D-1D50D8855DCE" targetRef="sid-C7F14208-039A-4339-AADD-85D9EF9BFE1C"/>
      <sequenceFlow id="sid-3BD8DC2F-52B5-4B25-84D4-DC26DA3C82E8" name="" sourceRef="sid-C7F14208-039A-4339-AADD-85D9EF9BFE1C" targetRef="sid-A3A3940A-1540-40E2-AFC9-F02BF6D82208"/>
   </process>
   <bpmndi:BPMNDiagram id="sid-df4f4383-9d10-451a-b702-a8f422c872c7">
      <bpmndi:BPMNPlane bpmnElement="sid-89b5e6ee-a43e-47f9-b4ad-c60a5109dd05" id="sid-acecdaf6-5be1-4582-821d-0d02104cf913">
         <bpmndi:BPMNShape bpmnElement="sid-9B10FE5C-729A-4DA2-A20D-1D50D8855DCE" id="sid-9B10FE5C-729A-4DA2-A20D-1D50D8855DCE_gui">
            <omgdc:Bounds height="30.0" width="30.0" x="166.0" y="156.0"/>
         </bpmndi:BPMNShape>
         <bpmndi:BPMNShape bpmnElement="sid-C7F14208-039A-4339-AADD-85D9EF9BFE1C" id="sid-C7F14208-039A-4339-AADD-85D9EF9BFE1C_gui">
            <omgdc:Bounds height="80.0" width="100.0" x="241.0" y="131.0"/>
         </bpmndi:BPMNShape>
         <bpmndi:BPMNShape bpmnElement="sid-A3A3940A-1540-40E2-AFC9-F02BF6D82208" id="sid-A3A3940A-1540-40E2-AFC9-F02BF6D82208_gui">
            <omgdc:Bounds height="28.0" width="28.0" x="386.0" y="157.0"/>
         </bpmndi:BPMNShape>
         <bpmndi:BPMNEdge bpmnElement="sid-3BD8DC2F-52B5-4B25-84D4-DC26DA3C82E8" id="sid-3BD8DC2F-52B5-4B25-84D4-DC26DA3C82E8_gui">
            <omgdi:waypoint x="341.0" y="171.0"/>
            <omgdi:waypoint x="386.0" y="171.0"/>
         </bpmndi:BPMNEdge>
         <bpmndi:BPMNEdge bpmnElement="sid-F2F669CF-1B30-4C70-8AC3-21F362D3B168" id="sid-F2F669CF-1B30-4C70-8AC3-21F362D3B168_gui">
            <omgdi:waypoint x="196.0" y="171.0"/>
            <omgdi:waypoint x="241.0" y="171.0"/>
         </bpmndi:BPMNEdge>
      </bpmndi:BPMNPlane>
   </bpmndi:BPMNDiagram>
</definitions>
and I deploy it with Activiti 5.9 ,unlucky that throws a Exception:

org.activiti.engine.ActivitiException: Invalid reference in 'bpmnElement' attribute, process sid-90227e42-7e9f-4eac-8699-5cbe37ab6b3f not found | C:\bpmn2\SIGNAVIO.bpmn20.xml | line 21 | column 126

   at org.activiti.engine.impl.util.xml.Parse.throwActivitiExceptionForErrors(Parse.java:186)
   at org.activiti.engine.impl.bpmn.parser.BpmnParse.execute(BpmnParse.java:222)
   at org.activiti.engine.impl.bpmn.deployer.BpmnDeployer.deploy(BpmnDeployer.java:86)

Thanks a lot!

Outcomes