1. Confirm that the records haven't been transferred to another user (out of your view).
2. Ask your Salesforce System Administrator if any changes have been made to the organization's sharing rules affecting your visibility.
3. In the Recycle Bin, change the drop down to "All Recycle Bin" and search for your records. Keep in mind, there are size limits to the Recycle Bin and the oldest deleted records will be lost forever to make room for more recently deleted records.
Troubleshoot using Workbench
Another way to find deleted records is to use Workbench to query records which are deleted from your Organization's recycle bin.
- If the records are available in the Recycle Bin, you can Undelete the record directly via Workbench.
- If the records are deleted from the Recycle Bin, you can still query on the record to retrieve the information but cannot Undelete the same.
Queries to use within Workbench
To ensure that the query results include records which are deleted, you must ensure that the setting "Deleted and archived records" is set to "include".
- Find all Deleted records - SELECT Id,Name FROM Account WHERE IsDeleted = true
- Find records with specific names - SELECT Id,IsDeleted,LastName FROM Account WHERE LastName = 'Account A'
Once you locate your deleted records, hover your mouse on them and select Update | Delete | Purge | View in Salesforce.
1. Review if a master detail record has been deleted. Keep in mind that the "children" of "parent" records won't display in the recycle bin even though they were automatically deleted with the parent. They will reappear if you undelete the parent record. For example, if you delete an account you won't see the associated contacts in the recycle bin.
2. Make sure that the records were not re-parented. This can happen when you associate a contact to a different account where you may lose visibility.
3. Check your most recent Weekly Data Export to confirm the record did or did not exist.
4. Have your System Administrator look at the "View Setup Audit Trail"
by navigating to Setup
| Administration Setup
| Security Controls
| View Setup Audit Trail
. If someone deleted a custom object then all the data under that custom object will also have been deleted. Check with the user who deleted the items to see if they knowingly did this, and see if they are using any unknown browser plug-ins.
What to do if none of these troubleshooting steps help you recover your data
If you go through these steps and you are still having trouble finding your lost data, please create a case with Salesforce Support.
Related Information: Variations of Deletion behavior
- If a child record (like a Contact or Opportunity) is deleted and the parent record is subsequently deleted (Like the Account), the child record is permanently deleted. Even if the parent record is undeleted, the child record cannot be recovered, but if the child record is undeleted first this won't happen.
- When a parent account is deleted, all the links to the child accounts are removed. If that account is subsequently restored from the recycle bin, the links to the previous children accounts are not restored.
- When a parent account is restored from the recycle bin the previous children records can be recovered (not restored) via the API using the DataLoader API v21 and higher by using the Export All option which utilizes the queryall api call.
- Record data has 3 stages of deletion:
- Stage 1 - Deleted to Recycle Bin - Data in this stage can still be recovered from the recycle bin. This can also be referred to as soft deleted.
- Stage 2 - Emptied from the Recycle Bin or hard deleted - Data in this stage cannot be recovered from the recycle bin but can be accessed and exported from the API using Export All (queryall) in DataLoader v21 and higher or other api tools. Records can also be put in this state directly by using the hard delete option in the Data Loader.
- Stage 3 - Physically/Permanently deleted - Data in this stage has been wiped from database and only recoverable by contacting Salesforce to request a Data Recovery Service (fee associated). Please click here to learn more about the Data Recovery Process.