Hi,
I am having following simple code for accessing processDefinition
from the Database. ProcessDefinition is already loaded into databse
by JbpmContext::deployProcessDefinition().

When I call getGraphSession(), my processDefinition gets deleted
from the databse row.

JbpmConfiguration conf = JbpmConfiguration.getInstance();
JbpmContext cont = conf.createJbpmContext();
GraphSession session = cont.getGraphSession();
ProcessDefinition def = session.findLatestProcessDefinition("name");

What might be possible problem ?
If I deploy and fetch the definition in a single program, then everything is 
fine. But if I call the "fetching" code from some other process
(than deployment), then only this issue occurs.

Any suggestions/pointers will be highly appreciated. Please help.
Thanks,
Santosh

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147125#4147125

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147125
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to