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.02-23-2011 05:18 AM
02-23-2011 05:36 AM
03-04-2011 06:11 PM
<subProcess id="subprocess3" name="管理层审核">
<startEvent id="subprocess3startevent6" name="Start"></startEvent>
<bpmndi:BPMNShape bpmnElement="subprocess3" id="BPMNShape_subprocess3">
<omgdc:Bounds height="379" width="801" x="140" y="89"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="startevent6" id="BPMNShape_startevent6">
<omgdc:Bounds height="55" width="55" x="150" y="117"></omgdc:Bounds>
</bpmndi:BPMNShape>
03-05-2011 01:27 AM
03-05-2011 09:22 PM
So let me know why you want to know how to resolve this before the next release.I design bpmn20 model use Eclipse designer, this will generate BPMNDI information in model file,
Invalid reference in 'bpmnElement' attribute, sequenceFlow flow40not found | rill/activiti5/pangu/pg-support.bpmn20.xml | line 154 | column 66
at org.activiti.engine.impl.util.xml.Parse.throwActivitiExceptionForErrors(Parse.java:190)
at org.activiti.engine.impl.bpmn.parser.BpmnParse.execute(BpmnParse.java:172)
at org.activiti.engine.impl.bpmn.deployer.BpmnDeployer.deploy(BpmnDeployer.java:76)
at org.activiti.engine.impl.db.DbRepositorySession.deploy(DbRepositorySession.java:65)
at org.activiti.engine.impl.cmd.DeployCmd.execute(DeployCmd.java:53)
at org.activiti.engine.impl.cmd.DeployCmd.execute(DeployCmd.java:30)
at org.activiti.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:24)
at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:42)
at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33)
at org.activiti.engine.impl.RepositoryServiceImpl.deploy(RepositoryServiceImpl.java:43)
at org.activiti.engine.impl.repository.DeploymentBuilderImpl.deploy(DeploymentBuilderImpl.java:103)
at org.activiti.engine.impl.test.TestHelper.annotationDeploymentSetUp(TestHelper.java:96)
at org.activiti.engine.impl.test.AbstractActivitiTestCase.runBare(AbstractActivitiTestCase.java:87)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:515)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1031)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:888)
[org.activiti.engine.impl.interceptor.CommandContext]
03-06-2011 05:15 AM
03-06-2011 08:50 AM
03-06-2011 02:25 PM
03-06-2011 04:49 PM
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.