This content has been marked as final.
Show 4 replies
-
1. Re: How to delete particular process instance related records from jbpm database?
michael.wagner Jul 26, 2011 5:20 AM (in response to stsivarajjboss)Hi,
I think with the API there is not way to do this directly. But calling "ksession.dispose()" should finish the actual session and delete process instances which are not needed any more.
Michael
-
2. Re: How to delete particular process instance related records from jbpm database?
calca Jul 27, 2011 9:46 AM (in response to michael.wagner)Hi,
For the tables you mention, it does not seems to be JBPM5. I think in JBPM5 the process runtime is deleted from db when the process is completed.
If you are using jbpm3, this api should help:
http://docs.jboss.com/jbpm/v3.2/javadoc-jpdl/org/jbpm/db/GraphSession.html#deleteProcessInstance(org.jbpm.graph.exe.ProcessInstance, boolean, boolean)
Regards,
Demian
-
3. Re: How to delete particular process instance related records from jbpm database?
stsivarajjboss Aug 12, 2011 3:13 AM (in response to michael.wagner)thank you....
-
4. Re: How to delete particular process instance related records from jbpm database?
stsivarajjboss Aug 12, 2011 3:13 AM (in response to calca)Thanks lot..