You need to sign in to do that
Don't have an account?
HNT_Neo
Validation Rule for Multiple Record Types
Trying to write a validation rule where:
Picklist value Status of Completed is chosen on RecordTypeID 012d0000001lA4R or 012d0000002MB5S or 012d0000003NC6D or 012d0000004OD7E, the AcitivityDate must not be NULL.
Here is my attempt, but have not succeded:
Picklist value Status of Completed is chosen on RecordTypeID 012d0000001lA4R or 012d0000002MB5S or 012d0000003NC6D or 012d0000004OD7E, the AcitivityDate must not be NULL.
Here is my attempt, but have not succeded:
AND (ISPICKVAL(Status,"Completed"), AND(RecordTypeId,"012d0000001lA4R","012d000003NC6D","0120000002MB5S"), ISBLANK(ActivityDate) )
Please mark as best answer, If the above helps ...!!!
All Answers
Please mark as best answer, If the above helps ...!!!
I will suggest you try to avoid to use recordType Id in validation rule. As once you will deploy change in production that will fail As ID will not same in sandbox and production
Please try to update your validation like below
NOTE:- Always try to avoid hardcording
It is best practice to always use DeveloperName since it is less likely to up changed.
Therefore, the code would look like