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
LauraBTNLauraBTN 

HELP!! What am I missing in this validation rule? AND ( ISNEW(Giveaway_Quantity__c ), CampaignStatusValue__c = "LOCKED")

I think I am punch drunk.

I am trying to prevent a user from adding a new record in a child related list when the status of the parent record is locked -

I created a formula field to bring the status value down to the Child object - it is CampaignStatusValue__c

AND ( ISNEW(Giveaway_Quantity__c ), CampaignStatusValue__c  = "LOCKED")

I keep getting: Error: Incorrect number of parameters for function 'ISNEW()'. Expected 0, received 1


Any help would be greatly appreciated



mshelmanmshelman
https://success.salesforce.com/answers?id=90630000000ghXoAAI
LauraBTNLauraBTN
Oh if it were that easy - I tried all I could before I posted -the article above was for a workflow rule anyway and I am working with a validation

Thanks anyway