I am new to activiti BPM. We have Activiti implemented in our project and I am seeing following tables are growing in the activiti.
ACT_HI_ACTINST 21,253,589
ACT_HI_DETAIL 18,867,706
ACT_HI_VARINST 18,867,705
ACT_HI_PROCINST 1,946,655
ACT_RU_VARIABLE 502,627
ACT_RU_EXECUTION 112,370
ACT_RU_IDENTITYLINK 56,307
I am of the understanding that after the workflow is finished, the variables associated with the workflow are deleted. But I still see half a million records in the my environment (ACT_RU_VARIABLE 502,627)
Similarly there are other tables which either needs to be purged or archived or both.
I wanted to know the best strategy to implement the purging in activiti.
Is there any script which comes with activiti which purges data?