How should the developer handle the recursive trigger? A developer - ProProfs Discuss
Topics
Products
Follow Us:

How should the developer handle the recursive trigger? A developer has written an After Update trigger on Account. A workflow rule and field update causethe trigger to repeatedly update the Account records.



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.

This question is part of PD2
Asked by Pal, Last updated: May 28, 2020

+ Answer
Request

1 Answer

Pal

Pal

Answered Apr 07, 2018

Use a static variable to prevent the trigger from executing more than once.
 

Search for Google images
Select a recommended image
Upload from your computer
Search for Google images
Select a recommended image
Upload from your computer
Search for Google images
Select a recommended image
Upload from your computer

Email Sent
We have sent an email to your address "" with instructions to reset your password.