An organization requires that when a custom object record named Vendor_Agreement__c is set to the 'Approved' status, the custom text field Tax_Identification_Number__c must not be left empty. Which validation rule formula should a Salesforce administrator configure to enforce this requirement?
- AND(TEXT(Status__c) = 'Approved', ISBLANK(Tax_Identification_Number__c))Cevap
- BAND(TEXT(Status__c) = 'Approved', Tax_Identification_Number__c = '')
- CConfigure Lead Field Mapping to enforce population of Tax_Identification_Number__c upon record submission.
- DModify the active Record Type picklist assignment settings to make Tax_Identification_Number__c required.
Cevap
The validation rule formula AND(TEXT(Status__c) = 'Approved', ISBLANK(Tax_Identification_Number__c)) accurately satisfies the requirement.
The formula AND(TEXT(Status__c) = 'Approved', ISBLANK(Tax_Identification_Number__c)) evaluates to TRUE when the agreement status is set to 'Approved' while the Tax_Identification_Number__c field remains blank. Because validation rules prevent saving whenever the expression evaluates to TRUE, this formula guarantees that records cannot enter an approved state without a tax identification number.
Adım Adım Çözüm
Anahtar Kavram
Enforcing conditional field completion using validation rule formulas combining TEXT() and ISBLANK() functions.