Salesforce Decode
Salesforcedecode
Apex questionsQuestion 166 of 179
ApexIntermediateCode Reviewapextriggersrecursion

How do you prevent a trigger from running recursively with a static variable?

Scenario

An after update trigger updates the same records and loops.

Answer it out loud first

Serious prep means attempting before reading. Take two minutes to structure your answer, then compare.