Which change should the developer make to ensure the integration is not affected with minimal impact to business logic?
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?
A . Use a Try/Catch block after the insert statement.
B . Remove the Apex Class from the Integration User’s Profile.
C . Deactivate the Trigger before the Integration runs.
D . Use the Database method with allOrNone set to False.
Answer: A
Latest PDII Practice Questions with 280 Q&As
Updated Study Material | Instant Download | Detailed Answers and Explanations
Subscribe
Login
0 Comments