I want to delete all data from the jBPM 5 database for which the process is already completed. I know that data from processinstanceinfo and workiteminfo are removed automatically when it completes. But I want to remove from other tables (SessionInfo eventtypes content i18ntext peopleassignments_bas peopleassignments_potowners task) too.
Can anybody suggest anyways other than writing manual SQL Queries? Is there any library method in jBPM 5 that do this work in couple of method calls?
Please let me know if more information needed from my end.