Write a trigger to prevent users from deleting a file (ContentDocument) if it is attached to an approved Contract. · ForceChallenges