I'm trying to delete certain records from the recycle bin. I am querying the Account records like as:
Map<Id,Account>accMap = new Map<Id,Account>([Select id.name from Account where Type='xyz value' ALL ROWS]); List<ID> accIds = new List<Id>(accmap.keyset());// Getting correct Ids Database.emptyRecycleBin(accIds); //my account records are successfully deleted from recycle bin
However if i do the same query again then it again showing the same account records.
Can anyone help me why these records are coming out by SOQL but has already been removed from recycle bin.