BDM data retention
|
For Teamwork, Efficiency, Performance, Enterprise and Scale editions only. |
The BDM data retention feature enables you to configure retention rules on Business Data Model object types so that expired records are deleted automatically on a scheduled basis. This supports GDPR compliance and prevents unbounded growth of the business data database.
Overview
For each top-level BDM object type, an administrator can configure:
-
a reference date: either the object’s creation date or its last update date,
-
a retention period (in days).
When the scheduled cleanup job runs, every BDM object instance whose reference date is older than now - retention period is deleted from the database, along with its composition children.
Retention rules are configured through the Data Retention (GDPR) administration page of the Admin application, available by default under the BDM menu.
|
Updating from a Bonita version earlier than 2026.1 ? |
Scheduling the cleanup
A CRON job performs the BDM data retention cleanup. The default schedule runs once a week, every Saturday at 02:00 UTC.
Configuration parameter
| Property | Description |
|---|---|
|
6-field cron expression ( |
To override the default, declare the property in bonita-platform-sp-custom.properties and restart the platform.
In a clustered setup, the cleanup job is coordinated so that only a single node runs it at a given time.
Execution audit trail
Each cleanup run produces one queriable log entry per BDM object type that had at least one expired instance deleted. The entry has:
-
action_type:BUSINESS_DATA_CLEANED_UP, -
message: the fully qualified BDM class name, -
action_scope: the number of deleted instances (as a string).
These entries can be queried through the existing /API/system/log REST endpoint and are displayed in the Audit log tab of the Data Retention (GDPR) administration page.