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