Salesforce
PDII · Question #210
PDII Question #210: Real Exam Question with Answer & Explanation
The correct answer is B. Create an After Insert trigger on the Convention Attendee custom object, and use Apex Sharing. See the full explanation below for the reasoning.
Question
Universal Containers implements a private sharing model for the Convention_Attendee_ 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?
Options
- ACreate a criteria-based sharing rule on the Convention Attendee custom object to share the
- BCreate an After Insert trigger on the Convention Attendee custom object, and use Apex Sharing
- CCreate criteria-based sharing rules on the Convention Attendee custom object to share the records
- DCreate a Before Insert trigger on the Convention Attendee custom object, and use Apex Sharing
Community Discussion
No community discussion yet for this question.