ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 303 - Certified Platform Developer II discussion

Report
Export

Salesforce users consistently receive a "Maximum trigger depth exceeded" error when saving m Account.

How can a developer fix this error?

A.
Split the trigger logic into two separate triggers.
Answers
A.
Split the trigger logic into two separate triggers.
B.
Modify the trigger to use the isMultiThread=true annotation.
Answers
B.
Modify the trigger to use the isMultiThread=true annotation.
C.
Convert trigger to use the ©future annotation, and chain any subsequent trigger invocations to the Account object.
Answers
C.
Convert trigger to use the ©future annotation, and chain any subsequent trigger invocations to the Account object.
D.
Use a helper class to set a Boolean to TRUE the first time a trigger is fired, and then; modify the trigger to only fire when modify the trigger to only fire when the Boolean is FALSE.
Answers
D.
Use a helper class to set a Boolean to TRUE the first time a trigger is fired, and then; modify the trigger to only fire when modify the trigger to only fire when the Boolean is FALSE.
Suggested answer: D
asked 23/09/2024
Franckline Dormeus
44 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first