You need to sign in to do that
Don't have an account?
Sarah McMillian
Not(ISPICKVAL) Validation Rule Helpppp
I want to write a validation rule in which it only applies for a certain record type and a certain status, but then only applies if one of two other fields aren't a certain value. Here's what I have and it's not working when I test. It seems to be the last part that's not picking up correctly.
AND(
RecordTypeId = "012320000009ect",
ISPICKVAL(Status,"Completed"),
OR(NOT(ISPICKVAL(Resolution_Attempt_Status_1__c,"Completed")),NOT(ISPICKVAL(Attempt_2_Result__c,"Completed")))
)
AND(
RecordTypeId = "012320000009ect",
ISPICKVAL(Status,"Completed"),
OR(NOT(ISPICKVAL(Resolution_Attempt_Status_1__c,"Completed")),NOT(ISPICKVAL(Attempt_2_Result__c,"Completed")))
)
Since both of the last two conditions are looking for something not to be true, would removing the OR meet the need? The formula above will fire if the record type matches, the Status is "Completed", and either (or both) of the picklists is not set to Completed.
All Answers
Since both of the last two conditions are looking for something not to be true, would removing the OR meet the need? The formula above will fire if the record type matches, the Status is "Completed", and either (or both) of the picklists is not set to Completed.