[jboss-user] [JBoss jBPM] - Re: Deleting a ProcessInstance in jBPM 3
alex.guizar@jboss.com
do-not-reply at jboss.com
Thu Jun 18 19:37:55 EDT 2009
Try JbpmContext.getGraphSession().deleteProcessInstance(). It will take care of everything. Variables, task instances, subprocess instances and logs. Make sure you use a recent version of jBPM. In earlier versions some corner cases were not covered.
Deleting a process instance is a rather complex operation. You'd be better off scheduling a periodic task which queried for and deleted ended process instances. Otherwise the deletion will disrupt your online operation.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238630#4238630
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238630
More information about the jboss-user
mailing list