Salesforce Public Sector Solutions Accredited Professional — Question 10
When configuring an Inspection, the administrator wants a Violation record to be automatically generated when an Inspector indicates that a standard requirement failed or an issue was identified.
What is the recommended approach for configuring the Inspection to achieve this requirement?
Answer options
- A. Build an auto-launched Flow that will get all of the assessment questions in an Inspection. For each question that has a result marked as “Issue” or “Fail”, generate a Violation record.
- B. In the Action Plan Template, add the associated Assessment Task Definitions to be performed. Select the “Violations” checkbox so it will generate a Violation record whenever the Assessment Task Definition fails.
- C. In the “Results” picklist field of the Inspection Assessment Indicator object, edit the “Fail” and “Issue” picklist values and select the “Violations” checkbox for the values to generate a Violation record when selected.
- D. Create a new Violation Type record and associate it with an appropriate it with an appropriate Assessment Indicator Definition. Select the “Auto-generate” checkbox so it will generate a Violation record whenever the Assessment Indicator Definition fails.
Correct answer: C
Explanation
The correct answer is C because it directly modifies the 'Results' picklist to ensure that a Violation record is generated when specific failure conditions are met. Option A involves a more complex Flow that may not be necessary, B relies on the Action Plan Template which does not cover all scenarios, and D requires creating additional records that may not be needed for this specific purpose.