[jboss-user] [JBoss jBPM] - Re: when i end the TaskInstance, an LazyInitializationExcepti
vtysh
do-not-reply at jboss.com
Wed Aug 1 06:51:39 EDT 2007
Try to save process instance after creation and before the task ending
| TaskInstance ti = pi.getTaskMgmtInstance().createStartTaskInstance();
| jbpmContext.save(pi);
|
If it will not help, try to close jbpmContext after creation of start task instance and create new one (jbpmContext). Then retrieve already created taskInstance by id and try to process it.
About why i am not sleeping, because we are in different time zones and i have a day now.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4069569#4069569
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4069569
More information about the jboss-user
mailing list