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
Ed055Ed055 

validation rule formula

Hi all - need help with formula in validation rule of campaign members to resrict adding new members if campaign status = "Complted" 

Thanks.
Robert SzerencsesRobert Szerencses
Hi,

You can create a Validation Rule on Campaign Member object with the following formula:

AND(
ISPICKVAL(Campaign.Status, "Completed"),
ISNEW()
)

Let me know if it works fine and this was your requirement.