-
1. Re: error importing bpmn file in designer
tsurdilovic Feb 24, 2012 6:08 PM (in response to malabalu)Can you attach your bpmn2 file to test with?
-
2. Re: error importing bpmn file in designer
malabalu Feb 27, 2012 10:28 AM (in response to tsurdilovic)<?xml version="1.0" encoding="UTF-8"?>
<definitions id="Definition"
targetNamespace="http://www.jboss.org/drools"
typeLanguage="http://www.java.com/javaTypes"
expressionLanguage="http://www.mvel.org/2.0"
xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd"
xmlns:g="http://www.jboss.org/drools/flow/gpd"
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://www.jboss.org/drools">
<process processType="Private" isExecutable="true" id="com.sample.bpmn" name="Sample Process" tns:packageName="defaultPackage" >
<!-- nodes -->
<startEvent id="_1" name="StartProcess" />
<scriptTask id="_2" name="test" scriptFormat="http://www.java.com/java" >
<script>System.out.println("Hello");</script>
</scriptTask>
<endEvent id="_3" name="End" >
<terminateEventDefinition/>
</endEvent>
<!-- connections -->
<sequenceFlow id="_1-_2" sourceRef="_1" targetRef="_2" />
<sequenceFlow id="_2-_3" sourceRef="_2" targetRef="_3" />
</process>
<bpmndi:BPMNDiagram>
<bpmndi:BPMNPlane bpmnElement="com.sample.bpmn" >
<bpmndi:BPMNShape bpmnElement="_1" >
<dc:Bounds x="45" y="45" width="48" height="48" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="_2" >
<dc:Bounds x="163" y="52" width="80" height="48" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="_3" >
<dc:Bounds x="333" y="51" width="48" height="48" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge bpmnElement="_1-_2" >
<di:waypoint x="69" y="69" />
<di:waypoint x="203" y="76" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="_2-_3" >
<di:waypoint x="203" y="76" />
<di:waypoint x="357" y="75" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</definitions>
-
3. Re: error importing bpmn file in designer
tsurdilovic Feb 28, 2012 8:54 AM (in response to malabalu)What is the Designer version you are using? I cannot reproduce (see screenshot). Until we release official Designer 2.1 soon you can get the bits from people.redhat.com/tsurdilo/designer/master. Please update your designer war with whats there and let me know if you still run into this problem.
-
4. Re: error importing bpmn file in designer
malabalu Feb 28, 2012 10:53 AM (in response to tsurdilovic)Thank you.It worked in Designer 2.1 .I was using designer2.0.
thanks for the help.