[jboss-user] [jBPM] - Re: How does a sub-process work?

Esteban Aliverti do-not-reply at jboss.com
Fri Jun 17 08:00:53 EDT 2011


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&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110617/ba660ca3/attachment.html 


More information about the jboss-user mailing list