Salesforce Certified Platform App Builder — Question 319

Nickname_c is a custom text field on a contact record that is utilized to override the contact name appearing on an email template. This field is not required and is not always filled in.

Which formula should an app builder use to select the contact's preferred name for email communications?

Answer options

Correct answer: A

Explanation

The correct answer, A, uses NOT(ISBLANK(Nickname__c)) to check if the Nickname__c field is populated; if it is, it returns that value, otherwise it defaults to FirstName. Options B and D are incorrect because they use functions that do not accurately check for a blank field in this context, and option C incorrectly checks for null instead of blank, which does not cover all scenarios where Nickname__c may be empty.