You need to sign in to do that
Don't have an account?
shekhar 46
firing Validation rule
can we fire validation rule when only record is inserted & not on record updated?
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
Yes we can use ISNEW() function to check if this is creation or updation in validation rule.
Please find the article (https://help.salesforce.com/s/articleView?id=sf.customize_functions_isnew.htm&language=en_US&r=https%3A%2F%2Fwww.google.com%2F&type=5#:~:text=Checks%20if%20the%20formula%20is,updated%2C%20this%20function%20returns%20FALSE.) for the same.
Let me know if you face any issues.
If this solution helps, Please mark it as best answer.
Thanks,
All Answers
Yes we can use ISNEW() function to check if this is creation or updation in validation rule.
Please find the article (https://help.salesforce.com/s/articleView?id=sf.customize_functions_isnew.htm&language=en_US&r=https%3A%2F%2Fwww.google.com%2F&type=5#:~:text=Checks%20if%20the%20formula%20is,updated%2C%20this%20function%20returns%20FALSE.) for the same.
Let me know if you face any issues.
If this solution helps, Please mark it as best answer.
Thanks,
We can fire when creating a new recod or while modifying existing recrods.
ISNEW() -- It validates only new records
NOT(ISNEW() -- For existing records