Linked Questions

1 vote
1 answer
308 views

How to not hard-code Exempt User Id? [duplicate]

I'm having some issues with the following validation rule: AND( OR( ISCHANGED(Sales_Rep__c), ISCHANGED(Secondary_Rep__c) ), $User.Id<>"005A0000005sOAv", /*User1 */ $User.Id<>"...
Genko's user avatar
  • 636
-1 votes
1 answer
519 views

User specific Validation rule [duplicate]

I am attempting to create following rule: if Utiltiy (look up field) = abc then ONLY allow certain users to edit these date fields date field1 and date field2. Following rule doesnt work..... *...
Suja's user avatar
  • 1
-1 votes
1 answer
60 views

why my workflow is firing even tho I am saying dont [duplicate]

I have my work flow with validation rule and eventho I am trying to not fire when those ownerId are submitting it. it still does OR( Owner.Id <> "00516000006OnYB" , Owner.Id <> ...
Metawaa's user avatar
  • 709
0 votes
1 answer
83 views

Validation rule is not being triggered [duplicate]

I have field final result on which on certain values, I only want some of the users to make the changes. The problem is that the user Id which are not mentioned in the formulae are able to get the ...
kunal gupta's user avatar
0 votes
0 answers
20 views

specific profile cannot change field (validation rule) [duplicate]

I want to create a rule where the User with the "Call center" profile will only be able to fill in the "Name" field just by creating the Customer record. Once the record is created,...
Rodolfo Barreto's user avatar
5 votes
2 answers
7k views

Excluding certain user from validation rule

I need some quick help. I have created the following validation rule (See below) However I don’t want the validation rule to fire if User id = 00550000000lxVg i think it be something like $UserRole....
user8746's user avatar
  • 339
0 votes
1 answer
6k views

Logged in user can only edit the record they relate to. Validation Rule

Is there a way to retrieve the current user in a validation rule? The logged in user will be logging in from a community. Need to make the record only editable if the Logged in user matches the ...
Yandel's user avatar
  • 5
-1 votes
2 answers
6k views

What are the ways by which we can bypass validation rule? [closed]

I wanted to know What are the ways by which we can bypass validation rule?
Prapti's user avatar
  • 1
0 votes
1 answer
326 views

Validation rule for non testing context

In Apex to separate code execution for test and non-test context we use the following method Test.isRunningTest() Do we have any such thing for validation rules i.e the validation rule should be ...
VPY's user avatar
  • 1,018
0 votes
1 answer
43 views

Able to display only certain names [closed]

I have requirement where I have a field called Agent's name where I want to display only certain names whosover login, suppose I have names X,Y,Z,A,B,C, and D to be displayed.
kunal gupta's user avatar
0 votes
1 answer
34 views

Validation rule against Contact card

Can someone help me with validation rule against Contact. We have a contact named 'Anonymous Contact' which we are using in several process builders etc.. and I would like to do a validation rule ...
Lauri's user avatar
  • 1