Hi,
I've a case where I have to add opportunity to change checkbox (checbox__c) to false only for 2 profiles (profile 1 and profile 2) when status on my objectABC__c is Coller OR Power
is it possible to do this using validation rule ?
답변 5개
Please try this validation (assuming objectABC__c is a picklist field) AND(
PRIORVALUE(checkbox__c )==true ,
ISCHANGED(checkbox__c )
, OR(ISPICKVAL(objectABC__c, 'Coller'),ISPICKVAL(objectABC__c, 'Power'))
, $
Profile.Id<> profile1_Id
, $
Profile.Id<> profile2_Id
)