Blue Prism in-product maintenance

The Blue Prism software includes a number of maintenance capabilities which are predominately focused on removing old information from the database to prevent ongoing database growth and expansion.

Archiving

Blue Prism Archiving is used to extract specific data types of a certain age from the database for the purposes of retaining historic data externally for prolonged periods of time without requiring ever-increasing amounts of space within the SQL database.

The facility to re-import archived data is provided which allows the Blue Prism GUI to be used to view and traverse the historic information.

The following data is currently affected by archiving:

  • Session logs are extracted into a compressed XML file and removed from the database.
  • Process alerts that relate to the sessions logs being extracted are permanently deleted.

The process of archiving relies on the SQL database and therefore manual archiving should be performed under controlled conditions to limit the impact of this action on other users.
Additionally the SQL actions performed by archiving will cause SQL transaction logs to be generated and therefore it is recommended that, if the database is set to Full Recovery Mode, that a log backup is taken shortly after large archiving operations have completed to reduce the log size within the file.

Blue Prism recommends that a centralised archive location is defined and configured for appropriate access by the relevant users and resources that will be responsible for archiving. The permissions granted for the location will need to include the ability to create folders, and read/write files.

There are three options for archiving:

  • Manually via the user interface.
  • Automatically via the user interface.
  • Using the command line (automatec.exe).

The automatic and command line archiving actions provide the advanced option to permanently delete the applicable data without first extracting the data to folder location.

Audit logs

There is currently no in-product mechanism for deleting audit logs. The tables are generally quite small and grow slowly, except for the inclusion of historic versions of process and business objects.

Database updates

Periodically Blue Prism software updates also require updates or changes to the Blue Prism database. Such database updates can be manually driven from within the product, or alternatively SQL scripts can be provided to allow the updates to be applied manually on the SQL Server.

It is recommended that a full database backup takes place and is subsequently verified prior to any manual database updates or modifications.

Session logs

There are a number of options for managing and deleting session log information:

  • Using the Archiving feature (recommended) – This includes manual, automatic and command line archiving (or permanent deletion) of session logs and can be aligned with the organisation’s data retention policy.
  • Via the User Interface – Within Control Room, select the items to be deleted and choose to Delete.

Work queues

Historic work items can be permanently deleted using any of the following methods:

Via the User interface – Within Control Room, select the items to be deleted and choose to Delete Worked Cases.

Using a Blue Prism process – A custom Blue Prism process can be configured to review and delete the appropriate items using the Delete Processed Items action.

Command line – AutomateC.exe includes a /queueclearworked command which can be used to permanently delete worked items.

It is important to ensure that work items are not required as part of a data retention policy prior to deleting them as there is presently no facility for archiving or re-importing them.