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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...