Salesforce
PDII · Question #13
PDII Question #13: Real Exam Question with Answer & Explanation
The correct answer is B. Use the Database method with allOrNone set to False.. See the full explanation below for the reasoning.
Question
A developer created a new trigger that inserts a Task when a new Lead is created. After deploying to production, an outside integration is periodically reporting errors. Which change should the developer make to ensure the integration is not affected with minimal impact to business logic?
Options
- ARemove the Apex Class from the Integration User's Profile.
- BUse the Database method with allOrNone set to False.
- CUse a Try/Catch block after the insert statement.
- DDeactivate the Trigger before the Integration runs.
Community Discussion
No community discussion yet for this question.