Case Data Management Configuration

The Case Data Management component manages the flow of case data.

The configurable properties for the Case Data Management component are:

Property Default Value Description
autopurge.interval  15 The interval, in minutes, between auto-purge cycles.

The interval must be in the range 15 to 35791394. The minimum value of 15 minutes is to prevent it from being configured to run too frequently and creating an unnecessary load on the system. The maximum is Integer.MAX_VALUE/60, as we internally convert this to seconds and it has to fit in an Integer. 

autopurge.purgeTime 129600 The number of minutes that must elapse after a case enters a terminal state before it qualifies for purging.

This must be in the range 0 to 5256000, where 0 means to purge as soon as the case enters a terminal state, and 5256000 means to purge when the case has been in a terminal state for 10 years.

caseIdsCacheSize 50

The cache size of the case id sequence.

These caches store unique identifiers for various case types within the system. When a new case of the appropriate type is required, its ID can be assigned from the cache without needing a call to the database. The size chosen for a cache can have an impact on system performance. For example, a cache size that is too large consumes unnecessary resources whereas a small cache size needs frequent calls to the database for a new batch of identifiers.