[jboss-user] [JBoss jBPM] - Re: Sub processe definition is null

2009-03-20 Thread PsmithInOz
Why should I need a database (even an in memory one) to run short running processes? If you specified a subprocess and resolvable process xml then everything should be sweet without a database. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220004#4220004 R

[jboss-user] [JBoss jBPM] - Re: Sub processe definition is null

2009-03-20 Thread PsmithInOz
I found a solution to this based on another post and that was to do the following | ProcessState superState = (ProcessState) superDef.getNode("process-state1"); | superState.setSubProcessDefinition(subDef); | This seems realy yuk. If the parent process knows that

[jboss-user] [JBoss jBPM] - Sub processe definition is null

2009-03-20 Thread PsmithInOz
There seems to be an issue running processes outside of the container when they contain sub-process. The following code is a simple test that has one process with a contained node that is a sub-process. This code produces the following error: Exception in thread "main" org.jbpm.JbpmException: c