Clean Up Overview
Clean up involves some or all of the following steps:
- Identify and remove unused customizations (either individual or multiple):
- Completely unused
- Useless or inefficient
- Identify and fix improperly set-up customizations (eg. no help text, inactive owner).
- Describe each object and its clean up task (under the improvements tab.)
- Assign change/approval policy.
Clean Up Tools
There is a series of built in Clean Up Tools to enable Administrators to clean up their account in an organized and efficient manner. There are many types of clean up, but they generally follow the same steps:
- Select the approach
- Analyze and organize the results
- Create a Change Request (if required)
- Manage the clean up as appropriate
- Run the scanner
Always check the Last Date Scanned on any object and re-scan that object if necessary to ensure the information about that object is up to date.
Select the Approach
Clean up:
- Unused Customizations
- Unused Custom Fields
- Unused Scripts
- Unused Reports
Customizations that do not follow best practices:
- Customizations with No Related Process
- Customizations with No Description
- Customizations with No Help Text
- Customizations with No Active Owner
Depending on what you want to clean up, you can view clean up reports from the Strongpoint tab under Reports and then choosing Clean Up. You can also find the clean up reports at the bottom of the Strongpoint homepage under Strongpoint Features and Reports.
You can clean up individual or multiple customizations by going to the Customization tab and selecting Create New View. Use the filters to generate your list.
Before moving on to other clean up activities, it is often a good idea to delete unused customizations that are highly likely safe to delete, such as fields that have not been used in years or that are not used by any other customization.
Analyze and Organize the Results
Once you have selected the customizations that you want to clean up and have created a New View, you can analyze the results. The results can then be sorted and filtered and are required to group and manage the output for subsequent steps. You may chose to clean up based on Salesforce type and record type (among other options).
Every Customization record has a Clean-Up Status field that enables us to track the status of the clean-up process for that object.
The statuses are:
- To Be Cleaned Up: Flags the customization to be cleaned up.
- Send Request Info Emails: Triggers an email warning that the customization is about to be deleted.
- Under Investigation: Flags the customization as under investigation.
- Disabled/Hidden: Tracks that the customization has been disabled.
- Archived: Tracks that the data / set-up was archived.
- Deleted: Tracks that the customization has been deleted. The doc will be inactivated.
- Ignore: Removes it from the searches.
- Fix ScriptID: Changes the ID of the script.
- Reassign Owner: Changes the owner.
- Closed: Flags the clean up status as closed.
Create Change Requests (if required)
Some changes such as deletion, changes to scriptID and Help impact the customization itself. For these types of changes we recommend creating a Change Request. However, for clean up, you can create new change requests and assign them to the customizations. In the results view, Create Change Request creates a new change request. Once that is added to that customization it appears under Related Change Requests. You can have multiple customizations assigned to multiple change requests as appropriate.
Manage the Change or Clean Up
You can find more information about how to use the Change Request under Managing Change. Once the appropriate investigations are conducted and approvals are obtained the customization can be changed as appropriate based on company policies and procedures.
Some of the items being changed, such as the description or owner, can be direct list edited or bulk edited like any other Salesforce data directly in a Platform Governance for Salesforce view such as Unused Fields.
Run the Scanner
At the end of the process of updating the customization record(s), the account should be scanned to update the documentation for the customization changes. It can be re-scanned for just the specific record type that was changed.