0

We have ServiceMax managed package custom object in our org. We have found thousands of records have been deleted and they were available in recycle bin. We are able see user id of deleted records. But how to Find out how the records were deleted. We have verified the code trigger and batch classes in could not found delete operation in that. How to find how the records were deleted?

Thanks, Anil Kumar

  • If I remember correctly the last modified by Id gets set by the deleting user. – Girbot Apr 25 '19 at 17:02
0

I think the subject of your question is different than what you are asking for. To find who deleted the records you can refer to the below article that specifies how to find who deleted a record through the Recycle Bin or the Dataloader

https://help.salesforce.com/articleView?id=000199422&language=en_US&type=1

In terms of finding how they were deleted I would suggest using the debug logs and specifying the user as the Trace Entity Name. You can then see what triggers/automation is causing the deletion.

Sometimes with managed packages the actual function of how the record is deleted is hidden but you will be able to see that a record entered a managed package and then determine if it was deleted or not.

I would also recommend reaching out to ServiceMax and explaining the issue and see if they have the ability to review what is going on from their end.

| improve this answer | |

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.