+ Start a Discussion
navya m 23navya m 23 

I want to bypass validation rule for specific profile and user but its not working

AND (OR(NOT($Profile.Name = 'Integration User'),NOT( $User.Username ='xyz')) , Owner:Queue.DeveloperName ='abc')
is the validation rule condition .Its working when only profile check is added but not when both profile and user check is done in the condition.Will logged in user based check work in validation rules??
FARSANA PSFARSANA PS
hai Navya,

Try this,

AND (NOT(OR($Profile.Name = 'Integration User',$User.Username ='xyz')) , Owner:Queue.DeveloperName ='abc')

hope this helps!!