What is the best approach to ensure the assigned reviewer obtains Read/Write access to the record?
Universal Containers implements a private sharing model for the Convention_Attendence_c custom object. As part of a new quality assurance effort, the company created an Event___Reviewer__c user lookup field on the object. Management wants the event reviewer to automatically gain Read/write access to every record they are assigned to.
What is the best approach to ensure the assigned reviewer obtains Read/Write access to the record?
A . Create an After Insert trigger on the Convention Attendee custom object, and use Apex Sharing Reasons and Apex Managed Sharing.
B. Create a Before Insert trigger on the Convention Attendee custom object, and use Apex Sharing Reasons and Apex Managed Sharing.
C. Create a criteria-based sharing rule on the Convention Attendee custom object to share the records the a group of Event Reviewers.
D. Create criteria-based sharing rules on the Convention Attendee custom object to share the records with the Event Reviewers.
Answer: B
Latest PDII Practice Questions with 280 Q&As
Updated Study Material | Instant Download | Detailed Answers and Explanations
after trigger not before