You need to sign in to do that
Don't have an account?
Terry_0101
How to make these profiles exempt from this Validation Rule?
How to make these profiles exempt from this Validation Rule? I tried this but it does not work:
&& (NOT($User.ProfileId="005A00000015yWV"))
AND(
Amount__c > 1,
ISBLANK(TEXT( type__c )),
NOT(ISNEW()),
NOT(OR(
$Profile.Id<>"00e40000000oRAA",
$Profile.Id<>"00e4000000132AW",
))
&& (NOT($User.ProfileId="005A00000015yWV"))
AND(
Amount__c > 1,
ISBLANK(TEXT( type__c )),
NOT(ISNEW()),
NOT(OR(
$Profile.Id<>"00e40000000oRAA",
$Profile.Id<>"00e4000000132AW",
))
=====
ps: If your question/problem is resolved/answered, please mark your post as 'Solved' so that community can benefit by resolved posts.
AND(
Amount__c > 1,
ISBLANK(TEXT( type__c )),
NOT(ISNEW()),
NOT(OR(
$Profile.Id<>"00e40000000oRAA",
$Profile.Id<>"00e4000000132AW",
))
If above is correctly setup (though it seems fishy as ANDing Amount__c and Type does not make much sense, because it won't catch an empty Type if Amount is greater than 1), modify it as -
AND(
Amount__c > 1,
ISBLANK(TEXT( type__c )),
NOT(ISNEW()),
AND(
$Profile.Id<>"00e40000000oRAA",
$Profile.Id<>"00e4000000132AW",
))
Now the profiles - 00e40000000oRAA and 00e4000000132AW are exempted to update (not create) the record when Type is blank and Amount is greater than 1. To exempt a new profile simply add it to the comma separated list of Profile Ids like -
AND(
$Profile.Id<>"00e40000000oRAA",
$Profile.Id<>"00e4000000132AW",
$Profile.Id<>"00exxxxxxxxxxxx"
)