function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
VarunCVarunC 

Formula Field's Old and New value in Trigger

Is it normal or a bug? I've noticed that a Formula field value in trigger.Old and trigger.New is not evaluating. I'm facing issues with evaluating value change in trigger code for Formula field.

 

Has anyone also noticed this? Is it normal  to observe this behavior?

VarunCVarunC

anyone having any idea on this subject? ...

akschampakschamp

Trigger.New will not return the value of the formula field. If you query that field then you can see the values. Formula fields values always calculated when it renders.