+ Start a Discussion
vishwa attikerivishwa attikeri 

ho to compare new value and old value

Hi,

 

How to compare new value and old value in apex controller 

Devendra@SFDCDevendra@SFDC

Hi,

 

You will have to use Trigger.New and Trigger.Old here.

 

Also refer a blog from Andrew Boettcher http://techman97.wordpress.com/2011/10/22/comparing-new-values-vs-old-values-in-apex-trigger/

 

Thanks,

Devendra