Comparing old and new values in an apex trigger

When developing solutions in apex triggers you sometimes have to know what the original or old values of the record was and comparing them to the new updated values that caused the trigger to run.

Here is an example on how to check old values against new values:

 

Add Comment