Esteban Aliverti [
http://community.jboss.org/people/eaa] created the discussion
"Re: How does a sub-process work?"
To view the discussion, visit:
http://community.jboss.org/message/610772#610772
--------------------------------------------------------------
The ksession is shared among all the processes and sub-processes no matter the sub-process
type. So what you get in your main process when you invoke kcontext.getKnowledgeRuntime()
is the same object that you get in a (reusable or embedded) sub-process when you invoke
kcontext.getKnowledgeRuntime(). If you still want to see a simple example using embedded
sub-process you can take a look at the same example project I have provided.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/610772#610772]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]