Penstock

Guide / Every rule

Process without a history time to live

The check compat/history-time-to-live, in the group Engine compatibility.

Advice

Why it matters

Without a time to live the engine keeps the history of every finished instance for ever unless it is set for the whole engine, and the database grows.

How to fix it

Set the history time to live of the process, for example P30D, or set it once for the engine.

Where you see it

The Problems tab lists it under Engine, the editor marks the element on the canvas, and penstock check reports it as compat/history-time-to-live. It checks the diagram against the engine and the version it is written for: the version in the file's modeler:executionPlatformVersion, or the newest one when the file has none. Operaton and CIB seven are checked as Camunda 7. This check is free.

To turn it off, set camunda-compat/history-time-to-live or compat/history-time-to-live to off in your .bpmnlintrc. See Validation.

Rule details

Idcompat/history-time-to-live
GroupEngine compatibility
LevelAdvice: it works, and reads or runs better without it

Read more: Validation. All rules: Every rule.