We have the following in our bpm-platform.xml:
<properties>
<property name="history">full</property>
<property name="databaseSchemaUpdate">true</property>
<property name="authorizationEnabled">true</property>
<property name="jobExecutorDeploymentAware">true</property>
<property name="jobExecutorActivate">true</property>
<property name="defaultNumberOfRetries">1</property>
<property name="defaultSerializationFormat">application/json</property>
<property name="defaultUserPermissionNameForTask">TASK_WORK</property>
<property name="historyCleanupBatchWindowStartTime">00:01</property>
<property name="historyCleanupBatchWindowEndTime">23:59</property>
<property name="historyCleanupBatchSize">1</property>
<property name="historyCleanupBatchThreshold">0</property>
</properties>
But unfortunately we don’t see any process instances being cleaned up. historyTimeToLive is set to 1 day. We’re using version 7.7.3.