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
KRISH9KRISH9 

Is there any chance to fire validation rule only updating record

Is there any chance to fire validation rule only updating record instead of both insert and updating records

sourav046sourav046

Yes .

Check out ISNEW( ) and ISCHANGED( ) functions .

Rule entries which contains ISNEW( ) says if there is a new record created ,it will fire .

Those which contains ISCHANGED( ) says if there is a change in exixting record ,rule will fire .

 

*/If this post answers your query,mark it as resolved/*

 

 

harsha__charsha__c

Hi Krish

 

Yes as sourav said, you can have a validation for only update case

 

That goes like : 

 

(Your validation rule) && NOT(ISNEW())

 

By this (Your validation rule) will only fire in update case