Hi i want to get the deleted records (records deleted from recycle bin of sales force).can any one help on this i tried this soql query retrive deleted records but its result showing error:
"SELECT Id, Name,ISDeleted FROM lead WHERE ISDeleted = true"
Best Answer
Update: As of July 31, 2020, Data Recovery service has been retired and no longer available as a service. So now we don't have any way to get deleted records unless we have some backups.
Data Recovery Retirement
I don't think that's possible without Salesforce support. You need to contact them and they will charge you some amount and maybe then you will get your records back.
As per Salesforce docs
Data Recovery Service and Cost FAQ