[jboss-user] [jBPM] - Best practices for cleaning the jBPM database
Tommer Wizansky
do-not-reply at jboss.com
Mon Dec 26 08:58:47 EST 2011
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&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111226/dff91b46/attachment.html
More information about the jboss-user
mailing list