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
AAIAAI 

Validation rule doesn´t work

Hi all,

I need that the following fields can´t be modified if they have a value and be new records. do you have any idea why this validation rule doesn´t work?. Thanks

AND ( OR (ISCHANGED( Canal__c )), 

         OR (ISCHANGED( CampanyaActual__c )),
       
            OR (ISCHANGED( LeadSource ))

)
Best Answer chosen by AAI
Raj VakatiRaj Vakati

OR (ISCHANGED( Canal__c ),
    ISCHANGED( CampanyaActual__c ),
    ISCHANGED( LeadSource )
) || AND (
ISCHANGED( Canal__c ),
    ISCHANGED( CampanyaActual__c ),
    ISCHANGED( LeadSource )
    )

 

All Answers

Raj VakatiRaj Vakati

OR (ISCHANGED( Canal__c ),
    ISCHANGED( CampanyaActual__c ),
    ISCHANGED( LeadSource )
) || AND (
ISCHANGED( Canal__c ),
    ISCHANGED( CampanyaActual__c ),
    ISCHANGED( LeadSource )
    )

 
This was selected as the best answer
AAIAAI
Many thanks!!!!