After following these docs for enabling History Cleaning, we tried to run a flowable engine but nothing happened. Logs also didn’t show any indication of running history cleaning jobs or reported any exception while executing it.
I tried to look into the code of Flowable and found that after enabling history cleaning,
HandleHistoryCleanupTimerJobCmd.execute(CommandContext) runs while booting up the application but nothing happens after that.
These are the properties I’ve set in
flowable.history-cleaning-cycle=0 * * ? * * #to run every minute for testing
After no luck with the above properties, I tried to use the Manual configuration also to test the history deletion but it didn’t work too.
Is there something else we need to change/enable also to make the History Cleaning work?