[jboss-user] [jBPM] - Re: How to delete particular process instance related records from jbpm database?

Demian Calcaprina do-not-reply at jboss.com
Wed Jul 27 09:46:59 EDT 2011


Demian Calcaprina [http://community.jboss.org/people/calca] created the discussion

"Re: How to delete particular process instance related records from jbpm database?"

To view the discussion, visit: http://community.jboss.org/message/617904#617904

--------------------------------------------------------------
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 http://docs.jboss.com/jbpm/v3.2/javadoc-jpdl/org/jbpm/db/GraphSession.html#deleteProcessInstance(org.jbpm.graph.exe.ProcessInstance, boolean, boolean)

Regards,

Demian
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/617904#617904]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110727/8fbca79e/attachment.html 


More information about the jboss-user mailing list