Skip to main content

After I deleted a record from recycle bin, and I run this in Anonymous;


 
 System.debug(database.query('select id,name from Candidate__c where id=\'a012800000Gs7IG\' all rows'));

 

I am able to see the record.

Can anyone tell me how long a data will live after getting deleted from recycle bin ??

or

the effect of deleted records from recycle bin will work after some time from the moment it is deleted from recycle bin ? i.e. after a day or two I won't get any result from this query. Because even now I see my recycle bin is empty.

After I deleted a record from recycle bin, and I run this in Anonymous;


 
 System.debug(database.query('select id,name from Candidate__c where id=\'a012800000Gs7IG\' all rows'));

 

I am able to see the record.

Can anyone tell me how long a data will live after getting deleted from recycle bin ??

or

the effect of deleted records from recycle bin will work after some time from the moment it is deleted from recycle bin ? i.e. after a day or two I won't get any result from this query. Because even now I see my recycle bin is empty.

After I deleted a record from recycle bin, and I run this in Anonymous;

System.debug(database.query('select id,name from Candidate__c where id=\'a012800000Gs7IG\' all rows'));

I am able to see the record.

Can anyone tell me how long a data will live after getting deleted from recycle bin ??

or

the effect of deleted records from recycle bin will work after some time from the moment it is deleted from recycle bin ? i.e. after a day or two I won't get any result from this query. Because even now I see my recycle bin is empty.

Source Link

Retrieving data from recycle bin

After I deleted a record from recycle bin, and I run this in Anonymous;


System.debug(database.query('select id,name from Candidate__c where id=\'a012800000Gs7IG\' all rows'));

I am able to see the record.

Can anyone tell me how long a data will live after getting deleted from recycle bin ??

or

the effect of deleted records from recycle bin will work after some time from the moment it is deleted from recycle bin ? i.e. after a day or two I won't get any result from this query. Because even now I see my recycle bin is empty.