function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Ed055Ed055 

Need help with validation rule formula

I'm trying to create asimple validation rule such that when an user is trying ot convert lead and enters "System" in the the "Record Owner" file, it should display error. Formula I'm using is  - >  Owner:User.LastName='System'
System is an integration user and does not have first name in the user profile.
1. I'm not sure why the formula is not working . Joshn Smith is valid user .
2. Why does the error keeps displaying below the "convert" field when I mentioned in the validation rule to display the erorr next to lead owner field. (screenshot below)

User-added image

Thanks
AMIT KAMBOJAMIT KAMBOJ
Hi ,

Please try to have the condition as below and see if this solves the issue. 
If you feel this answer helps then please mark it as a solution.
AND(IsConverted,Contains(Owner:User.LastName,'System'))
Ed055Ed055
Amit - I tried your suggestion. Issues #1 & #2 mentioned in my original post still exist. Not sure what is going on
Abhi_TripathiAbhi_Tripathi
Please recheck you validation Rule "Owner:User.LastName != 'System' '' 
Did you put equal to or not equal to.