Quantcast
Channel: Active questions tagged fields - Salesforce Stack Exchange
Viewing all articles
Browse latest Browse all 57

validation rule creation

$
0
0

Good day,

please support me in the following requirement. I have to create a validation rule on Contact object. It should be valid only for the profiles below. It should be for insertion of Phone or Mobile Phone by creation of the contact.

Here is my validation rule:

AND($Profile.Name = "Barnes MS - Standard User New" &&$Profile.Name = "Barnes MS - CDA User" &&$Profile.Name = "Barnes MS- External Sales Agent" &&$Profile.Name = "Barnes MS - Marketing User",ISBLANK(MobilePhone) &&ISBLANK( Phone ))

Unfortunately, it doesn't work. The first version was with OR instead of AND, but then it was valid for all profiles.


Viewing all articles
Browse latest Browse all 57

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>