[jboss-user] [JBoss jBPM] - Re: Purge existing process instances

cpob do-not-reply at jboss.com
Fri Jul 21 12:05:34 EDT 2006


Why alter the foreign keys?  Why not just set the JBPM_TOKEN.PROCESSINSTANCE to null on the token table, delete the process instances, and then the tokens.

Also, you might want to look into the GraphSession.  In 3.1.x, there is a GraphSession.deleteProcessInstance which will automatically go through and delete everything tied to that process instance, instead of you worrying about it.

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959939



More information about the jboss-user mailing list