Two things.... 1. Use code tags when you want to post XML and other code. That's why lines of your process definition keep getting deleted from the post. Look right under the Subject text box when posting a reply, and you'll see the Code tag button.
2. I think you need to do something like the following to get a start state to actually be created. This code also handles the case when there is no task attached to the start state. I believe that simply adapted this from the jbpm webapp, and this is what I use in our application when starting a process. | ProcessInstance processInstance = context.newProcessInstance(processName); | if (processInstance.getProcessDefinition().getTaskMgmtDefinition().getStartTask() == null) | { | processInstance.signal(); | } | else | { | TaskInstance startTask = | processInstance.getTaskMgmtInstance().createStartTaskInstance(); | context.save(startTask); | } | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953290#3953290 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953290 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user