How should the developer handle the recursive trigger?
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
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
D . Use a global variable to prevent the trigger from executing more than once
Answer: C
Latest PDII Practice Questions with 280 Q&As
Updated Study Material | Instant Download | Detailed Answers and Explanations
Subscribe
Login
0 Comments