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]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to