Salesforce Platform Developer I (legacy) — Question 59
Candidates are reviewed by four separate reviewers and their comments and scores which range from 1 (lowest) to 5 (highest) are stored on a review record that is a detail record for a candidate.
What is the best way to indicate that a combined review score of 15 or better is required to recommend that the candidate come in for an interview?
Answer options
- A. Use a Validation Rule on a total score field on the candidate record that prevents a recommended field from being true if the total score is less than 15.
- B. Use a Rollup Summary field to calculate the sum of the review scores, and store this in a total score field on the candidate.
- C. Use Visual Workflow to set a recommended field on the candidate whenever the cumulative review score is 15 or better.
- D. Use a Workflow Rule to calculate the sum of the review scores and send an email to the hiring manager when the total is 15 or better.
Correct answer: B
Explanation
The correct answer is B because a Rollup Summary field effectively aggregates the review scores, allowing for a straightforward calculation of the total. Option A is incorrect as it only prevents a recommendation without calculating the score, C is not ideal since Visual Workflow is not the best tool for this scenario, and D does not provide a direct method to enforce the score requirement before recommendation.