ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 124 - Certified Platform Developer II discussion

Report
Export

A developer has written an After Update trigger on Account. A workflow rule and field update cause the trigger to repeatedly update the Account records.

How should the developer handle the recursive trigger?

A.
Deactivate the trigger and move the logic into a Process or Flow
Answers
A.
Deactivate the trigger and move the logic into a Process or Flow
B.
Deactivate the workflow rule to prevent the field update from executing
Answers
B.
Deactivate the workflow rule to prevent the field update from executing
C.
Use a static variable to prevent the trigger from executing more than once
Answers
C.
Use a static variable to prevent the trigger from executing more than once
D.
Use a global variable to prevent the trigger from executing more than once
Answers
D.
Use a global variable to prevent the trigger from executing more than once
Suggested answer: C
asked 23/09/2024
Abid Ali Minhas
35 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first