You need to sign in to do that
Don't have an account?

ISCHANGED in Apex
Hi,
In formulas you can use ISCHANGED function. Is there a similar method in Apex or is there some recommended design pattern for checking if a field value has changed in after update event?
How about ISNEW function?
Thanks!
You can compare them to see if a filed has been changed.
All Answers
You can compare them to see if a filed has been changed.
if (newList.status != oldList.status && newList.status == "Open"){
}
Please mark it best answer if it helpfull.
Thanks,
Shubham