Hi Team,
We are using the spring boot based embedded Camunda for our business use case. I am facing issue with cleanup of the table once the task is completed. I have setup the TTL and all the other config in the yml and the processes.xml file. The only thing which I can see is the data is getting deleted in ACT_HI_PROCINST table as per the REMOVAL_TIME_, however the data in the ACT_HI_DETAIL and ACT_HI_VARINST is not getting purged. Below are my config in the yml and the xml file. Please help as once the data increases beyond certain limit it breaks the services.
<?xml version="1.0" encoding="UTF-8" ?>
<process-archive name="bpmn-workflow">
<process-engine>default</process-engine>
<properties>
<property name="isDeleteUponUndeploy">false</property>
<property name="isScanForProcessDefinitions">true</property>
<property name="batchOperationHistoryTimeToLive">P1D</property>
<property name="historyCleanupStrategy">removalTimeBased</property>
<property name="historyRemovalTimeStrategy">end</property>
<property name="historyTimeToLive">P1D</property>
<property name="history">ACTIVITY</property>
<property name="historyCleanupBatchWindowStartTime">7:00</property>
<property name="historyCleanupBatchWindowEndTime">15:00</property>
<property name="historyRemovalTimeStrategy">start</property>
<property name="jobExecutorActivate">false</property>
<property name="jobExecutorDeploymentAware">true</property>
</properties>
</process-archive>
camunda.bpm:
generic-properties:
properties:
history: ACTIVITY
history-cleanup-strategy: removalTimeBased
batchOperationHistoryTimeToLive: βP1Dβ
historyCleanupBatchWindowStartTime: β7:00β
historyCleanupBatchWindowEndTime: β15:00β
historyTimeToLive: βP1Dβ
default-number-of-retries: 5
Thanks in Advance.