Tommer Wizansky [
http://community.jboss.org/people/twizansk] created the discussion
"Best practices for cleaning the jBPM database"
To view the discussion, visit:
http://community.jboss.org/message/643204#643204
--------------------------------------------------------------
Hi,
What are the best practices for cleaning old processes, tasks and sessions from the
database?
I've found partial solutions. for example:
1) StatefulKnowledgeSession.abortProcessInstance removes the process and work item
records.
2) taskService.remove should remove tasks (although I haven't tried it yet).
However there are still some remnants that I can't get rid of, like SessionInfo
records. How do I delete old sessions?
I can always do a direct DELETE on the tables but I would rather use the jBPM API if it
provides the functionality.
Thanks
Tommer
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/643204#643204]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]