cancel
Showing results for 
Search instead for 
Did you mean: 

Historic Data Cleanup

lojian
Champ in-the-making
Champ in-the-making
Is there any guideline on how to clean up the audit data rows saved in Historic tables?

Thanks…
2 REPLIES 2

frederikherema1
Star Contributor
Star Contributor
Currently, it' only possible to remove HistoricTaskInstances (runtimeService.deleteHistoricTaskInstance).

Since there are timestamps included in all history tables (start/end times), you can perhaps create a batch-process that runs every day and cleans up the history for X days ago using plain old SQL Smiley Wink

lojian
Champ in-the-making
Champ in-the-making
Great idea!

Every routine job could be described in work flow 😉

Thanks…