2 Replies Latest reply on Dec 27, 2011 8:28 AM by Tommer Wizansky

    Best practices for cleaning the jBPM database

    Tommer Wizansky Newbie

      Hi,

       

      What are the best practices for cleaning old processes, tasks and sessions from the database?

       

      So far I've only managed to remove process instances using StatefulKnowledgeSession.abortProcessInstance but I still can't clean sessions, tasks, etc.

       

      I can always do a direct DELETE on the database ables but I would rather use the jBPM API if it provides the functionality.

       

      I imagine there is a correct way to do this that I'm simply not aware of.

       

      Thanks

       

      Tommer