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

Preventing child records from triggering parent level validation rules

Hi All,


I've posted this question before but thought I would try again.


Does anyone know of a way to write your validation rules on the parent level object so that changes to the child record do not trigger parent level validation?


I have validation rules on the Contracts object, but changes to a custom child object are triggering the Contracts validation rules and preventing users from creating new child records.  These are relatively new validation rules around new fields so I don't want them to prevent users from adding a child record to an older record. 


Basically, I'd like my validation rules to be triggered only when the parent object has been created or edited; not when child record is being created or edited.