0

I am able to see the deleted records in the Recycle Bin. But when we try to query the deleted records using the QueryAll/IsDeleted/AllRows keywords the query is not returning the records.

However, the query SELECT Id,IsDeleted,IsPrivate,OwnerId,ParentId FROM Note WHERE Id = '00X0903940' is working fine for system admin profile .

However , It fails and give no records for the different profile. The record is still there inside the recycle bin

3
  • 4
    Is that your complete query? You need the ALL ROWS keyword... – Adrian Larson May 2 '16 at 19:36
  • 5
    Also, "normal users" can't query records that are deleted by someone else. Make sure that they were the ones that deleted the record(s). – sfdcfox May 2 '16 at 19:40
  • @sfdcfox that is the one who has deleted the record . – cloudy-ritz May 2 '16 at 19:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.