Where to configure history cleanup in Camunda RUN

Hello,

I am runninb Camunda RUN 7.15.0 and need another translation of the documentation from Java into common. I need to configure the historyCleanup properties.

Unfortunately, the snippets are for Spring Boot XML magic, which I do not have available. I am randomly guessing where to put the property in my default.yml, but nothing seems to work and I am not sure, if it is something else or if I just don’t hit the right combination. Is it something like:

camunda.bpm:
  historyCleanupStrategy: removalTimeBased
  historyCleanupBatchWindowStartTime: 01:00
  historyCleanupBatchWindowEndTime: 03:00

# OR
camunda.bpmn.engine:
  historyCleanupStrategy: removalTimeBased
  historyCleanupBatchWindowStartTime: 01:00
  historyCleanupBatchWindowEndTime: 03:00

# OR
camunda.bpmn.engine.jobs:
  historyCleanupStrategy: removalTimeBased
  historyCleanupBatchWindowStartTime: 01:00
  historyCleanupBatchWindowEndTime: 03:00

# OR
camunda.job-executor:
  historyCleanupStrategy: removalTimeBased
  historyCleanupBatchWindowStartTime: 01:00
  historyCleanupBatchWindowEndTime: 03:00

Regards,
Markus

Camunda Run uses spring boot behind the scenes. So the config file for run follows the same syntax as described here:

History cleanup falls into the category of generic-properties and so you can read more about how to configure it correctly in this post:

1 Like