Showing posts with label validation rule fire only in update. Show all posts
Showing posts with label validation rule fire only in update. Show all posts

Monday, February 18, 2019

How to fire validation rule only in update operation?


This post explains how to fire the validation rule in the update operation.
Use NOT(ISNEW()) function it will stop the validation rule fire in the insert operation.
Example:
AND (
  NOT(ISNEW()),
  ISCHANGED(Phone)
)
above validation rule will fire only an update operation.