Cleaning up transaction forms
To improve performance, you can delete transaction records from the BMC HR Case Management database. You might perform this task after testing or after performing an upgrade. Transaction records include cases, people, audit data, broadcasts, and other data that was created after the system was installed.
Only Standard Master users can delete the data from the database in bulk. All types of data except solutions can be deleted in bulk.
Before you begin
- Log in to BMC Remedy Action Request System as a Standard Master user.
- In three separate browser windows open the following BMC Remedy AR System forms:
Form name | In the address bar of a browser, type | Alternative way for accessing a form |
---|---|---|
COL:SYS:Data_Cleanup | http://<AR System address>:<AR System port>/arsys/forms/<AR System address>/COL:SYS:Data_Cleanup | n/a |
COL:CORE:Form_Library | http://<AR System address>:<AR System port>/arsys/forms/<AR System address>/COL:CORE:Form_Library |
|
COL:SYS:Data_Cleanup/Core_Data_View | http://<AR System address>:<AR System port>/arsys/forms/<AR System address>/COL:SYS:Data_Cleanup/Core_Data_View | n/a |
Overview of the cleanup process
The cleanup process uses data in the COL:CORE:Form_Library form to generate the cleanup list of forms.
To clean up the transaction data:
- Customize the list of forms to be cleaned up
- Configure the deletion criteria for the forms selected for cleanup
- Clean up the selected forms
- (Optional) Perform a post-deletion configuration
The following figure describes the flow of data involved in the cleanup process:
All forms having Transaction Data flag set to Yes, and all eForms having the eForm flag set to Yes, are available in the COL:SYS:Data_Cleanup list.
The [expand] macro is a standalone macro and it cannot be used inline. Click on this message for details.
To avoid deleting important data, configure the deletion criteria for the forms to be cleaned up. For example, you want to delete case records with a certain status or you do not want to delete people records where Person Type is set to Full Time. You need to configure the criteria for deletion, otherwise running the cleanup utility will result in deleting all records that have been ever created.
To customize the list of forms to be cleaned up
- Review the list of default forms available for data cleanup:
- In the COL:SYS:Data_Cleanup, search for all forms by entering "%" into the Request ID field.
- Review the list of available forms.
- If necessary, customize the list of default forms available for cleanup:
- To remove some forms from the cleanup list:
- Open the COL:CORE:Form_Library form.
- To remove some forms from the cleanup list:
- Select a form and set the Transaction Data flag for it to No. Save the form.
- Select an eForm and set the eForm flag to No. Save the form.
Open the COL:SYS:Data_Cleanup/Core_Data_View, and search for the deleted forms.
If the deleted forms are still displayed in the list, they must be deleted from the it. Contact the AR System Administrator for assistance.
- To add more forms to the cleanup list:
- Open the COL:CORE:Form_Library form.
- Select a form that you would like to add, and set the Transaction Data flag for the selected form to Yes. Save the form.
- Select an eForm that you would like to add, and set the eForm flag to Yes. Save the form.
To configure the deletion criteria for the forms
- In the COL:CORE:Form_Library form, specify the search criteria for the forms that you want to configure to be cleaned up, and click Search.
- Review the list of forms to be cleaned up, and specify deletion qualification for the forms in the list:
- Select a form, and click on it.
Enter a qualification into the Qualification field, available in the Data Fields section.
- Click Save.
To find out the IDs of the fields available in a selected form
- Double-click on the selected form.
- Review the available fields.
- Open the source HTML for the page by pressing F12.
- Search for a field name.
- Review the value for arid parameter.
To clean up the selected forms
- Open the COL:SYS:Data_Cleanup form, and review the list of forms to be cleaned up.
Make sure that all the necessary forms include qualification for deletion.
- Click Delete Transaction Data.
- Refresh the page to review the status of all forms. When the status is "successful", the data is deleted.
- Click View History to review details of the deletion.
To configure system settings post the bulk delete
- Restart BMC Remedy AR System, so that the user cache is cleared.
- Review the Assigned Individual field, and Owner field of all solutions, and if necessary, update these fields.
- Review system settings, and if necessary, update the following fields as desired:
- Approval Matrix (System Settings > Application Settings): Approver field
- SLA Configuration (System Settings > Foundation): Assigned Individual field
- Survey Configuration (System Settings > Foundation): Assigned To field if it is available in the Survey Qualification field.
- Incoming Email - Settings (System Settings > Email Settings): Unknown Sender Default field.