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
ch ranjeethch ranjeeth 

I have some records in object now i am creating vaildation rule. How to make it applicable for all the existing records?

Vatsal KothariVatsal Kothari
Hi,

Validation rule will applicable to existing record also but it will fire when you update those records, because validation rule fires on every DML operation.
So to make it applicable for existing records you need to update those records.

If this solves your problem, kindly mark it as the best answer.

Thanks,
Vatsal
ch ranjeethch ranjeeth
If  I Update then some of the records throwing error then how to handle this situtation?