You need to sign in to do that
Don't have an account?
Rajashri
Validation Rule on Role
Hi,
I have created the checkbox field Physician.I want to put the validation rule that if current value of this field is not equal to prior value then user with role "VP Finance" can update this field.
i tried to design the below rule but it's incomplete.how can i check "current value of this field is not equal to prior value" in the below rule.
AND(
ISCHANGED(Dormant_Physician__c),
$UserRole.Name <> "VP Finance")
can anyone please help?
Rajashri
I have created the checkbox field Physician.I want to put the validation rule that if current value of this field is not equal to prior value then user with role "VP Finance" can update this field.
i tried to design the below rule but it's incomplete.how can i check "current value of this field is not equal to prior value" in the below rule.
AND(
ISCHANGED(Dormant_Physician__c),
$UserRole.Name <> "VP Finance")
can anyone please help?
Rajashri
This works correctly !
AND(
ISCHANGED(gautamsingh__testCheckbox__c),
$UserRole.Name <> "VP Finance")
Please confirm if the Validation is ACTIVE.
Important :
If this is what you were looking for then please mark it as a "SOLUTION" orYou can Click on the "Like" Button if this was beneficial for you.
Thank You
All Answers
The validation rule is correct and it works .
What is incomplete in this ?Are you getting any errors in saving this validation rule?
Thanks
Anil.B
now canged Lecel__c with your custom field and rimary as per your value
This works correctly !
AND(
ISCHANGED(gautamsingh__testCheckbox__c),
$UserRole.Name <> "VP Finance")
Please confirm if the Validation is ACTIVE.
Important :
If this is what you were looking for then please mark it as a "SOLUTION" orYou can Click on the "Like" Button if this was beneficial for you.
Thank You
your validation rule is Correct , It has to work . are you geeting any error /Is it not working as expected