DB Cleanup Configuration

As an Administrator, you can configure an automated cleanup process to delete obsolete workflow Executions, Packages, Artifacts, and History Records from the database.

Important! You may also perform a cleanup via CLI with the Clean-up Utility. For more information, see: Cleaning Up the CDA Database.

To Set Up an Automated Cleanup Process

  1. Open the Administration perspective.
  2. Navigate to Release Automation Management > Cleanup Configuration.
  3. Select the Automatic Cleanup checkbox.
  4. In the Executions Interval section, select a cleanup frequency.

    Options: daily, weekly.

  5. If a weekly frequency is defined, select one or more weekdays on which the cleanup should be performed.
  6. Select a time and a timezone.

    The system displays the planned date and time for the next execution of the cleanup workflow.

  7. Save your changes.

To Configure Cleanup Rules

  1. In the Rules section, you can select the entity types to which the cleanup should be applied. For example, Artifacts.
  2. Select one or more states that the entities should be in in order to be considered for deletion:
    • Successfully deployed/executed.
    • Deployment/execution failed.
    • No yet deployed/executed
    • Archived
  3. Select a time frame (for example, last 90 days)
  4. You can also keep a minimum amount of entities in the system (for example: 5)

To See the History Records of the Cleanup Executions

  1. Click the History button in the toolbar.
  2. The Cleanup History view is displayed, where you can see the changes made to the objects and export the records to a csv file.