02-23-2011 05:15 AM
<process id="helloworld" name="helloworld">
<startEvent id="startevent1" name="Start"></startEvent>
<endEvent id="endevent1" name="End"></endEvent>
<subProcess id="subprocess1" name="Sub Process">
<startEvent id="startevent2" name="Start"></startEvent>
<serviceTask id="subprocess1_servicetask1" name="Service Task" activiti:class="sample.JavaService"></serviceTask>
<endEvent id="endevent2" name="End"></endEvent>
<sequenceFlow id="subprocess1_flow3" name="" sourceRef="subprocess1_startevent2" targetRef="subprocess1_servicetask1"></sequenceFlow>
<sequenceFlow id="subprocess1_flow4" name="" sourceRef="subprocess1_servicetask1" targetRef="subprocess1_endevent2"></sequenceFlow>
</subProcess>
<sequenceFlow id="flow1" name="" sourceRef="startevent1" targetRef="subprocess1"></sequenceFlow>
<sequenceFlow id="flow2" name="" sourceRef="subprocess1" targetRef="endevent1"></sequenceFlow>
</process>
Here, the sequenceFlow references a source node "subprocess1_startevent2" which should be rather "startevent2". <sequenceFlow id="subprocess1_flow3" name="" sourceRef="subprocess1_startevent2" targetRef="subprocess1_servicetask1"></sequenceFlow>
The same for subprocess1_flow4.03-08-2011 04:02 AM
<bpmn2:CallActivity id="callactivity5" name="Call Activity" incoming="flow28" outgoing="flow133" calledElementRef="SubGraphTest1"/>
Error message:
Could not open the editor: org.eclipse.emf.ecore.xmi.UnresolvedReferenceException: Unresolved reference 'SubGraphTest1'. (platform:/resource/test/bpm/graph/GraphTest1.activiti, 1190, 134)
Stacktrace:
org.eclipse.emf.ecore.xmi.UnresolvedReferenceException: Unresolved reference 'SubGraphTest1'. (platform:/resource/test/bpm/graph/GraphTest1.activiti, 1190, 134)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.handleForwardReferences(XMLHandler.java:1154)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.endDocument(XMLHandler.java:1228)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endDocument(AbstractSAXParser.java:737)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:516)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl.java:181)
at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(XMLResourceImpl.java:180)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1494)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1282)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoad(ResourceSetImpl.java:255)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:270)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(ResourceSetImpl.java:397)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getEObject(ResourceSetImpl.java:216)
at org.eclipse.graphiti.ui.editor.DiagramEditorInput.getEObject(DiagramEditorInput.java:676)
at org.eclipse.graphiti.ui.editor.DiagramEditorInput.setEditorEditingDomain(DiagramEditorInput.java:571)
at org.eclipse.graphiti.ui.editor.DiagramEditorInput.<init>(DiagramEditorInput.java:268)
at org.eclipse.graphiti.ui.editor.DiagramEditorFactory.createEditorInput(DiagramEditorFactory.java:76)
at org.eclipse.graphiti.ui.internal.editor.DiagramEditorInternal.init(DiagramEditorInternal.java:1063)
at org.eclipse.ui.part.MultiPageEditorPart.addPage(MultiPageEditorPart.java:237)
at org.eclipse.ui.part.MultiPageEditorPart.addPage(MultiPageEditorPart.java:211)
at org.activiti.designer.eclipse.editor.ActivitiMultiPageEditor.createDiagramPage(ActivitiMultiPageEditor.java:69)
at org.activiti.designer.eclipse.editor.ActivitiMultiPageEditor.createPages(ActivitiMultiPageEditor.java:89)
[…]
03-08-2011 07:41 AM
03-16-2011 06:50 AM
03-17-2011 03:48 PM
07-29-2011 10:56 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.