I have a business rule in the ProjectApprovalStatusNote object that is being ignored to protect against a delete when a user that tries to delete a record is not the user that created the record. This rule below should only allow the creator of the record to delete it.
I display a message, and indeed the IDs are not equal. AWARE IM ignores the PROTECT.
Both users are Customer access level, and not Administrators
if ProjectApprovalStatusNote.AddedBy.ID<>LoggedInEmployee.ID then PROTECT ProjectApprovalStatusNote FROM ALL EXCEPT Administrator