[jboss-user] [JBoss jBPM] - Re: dual jbpm context
do-not-reply at jboss.com
Fri Jan 9 09:43:40 EST 2009
Ah... I finally "get" it.
If I want long running workflows, I use the JbpmContext and go off and persist it. Then I need to hold the id in session.
If I only want to do stuff in memory, I cannot use the JbmpContext at all, notably not for "findLatestProcessDefinition", since there is no store. I have to recreate a ProcessDefinition from the XML definition each time and store the process definition instace in the session.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200588#4200588
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200588
More information about the jboss-user