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
Narayana Reddy 30Narayana Reddy 30 

Is there any way to bypass lookup filter validation for specific user ?

Is there any way to bypass lookup filter validation for specific user ?
VinayVinay (Salesforce Developers) 
Hi Narayana,

You can include specific user in validation rule so that validation will not trigger for specific user.

Thanks,
Shri RajShri Raj

It is not recommended to bypass lookup filter validation for a specific user because lookup filters are usually in place to ensure data quality and prevent data inconsistencies. However, if you have a valid business requirement for doing so, there are a few possible solutions:
  1. Modify the lookup filter criteria: You can modify the lookup filter criteria to allow the specific user to bypass the validation. However, this will affect all users, so you need to be sure that this change will not negatively impact data quality.
  2. Use a permission set: You can create a permission set that allows the specific user to bypass the lookup filter validation. This way, you can control which users are allowed to bypass the validation.
  3. Use a custom field: You can create a custom field that is not included in the lookup filter criteria and use it to bypass the validation for the specific user. You can then set the value of this field to a specific value for the user to bypass the validation.
Alex Toba 19Alex Toba 19
No, it is not possible to bypass lookup filter validation for a specific user. Lookup filters are designed to ensure data integrity and consistency by limiting the set of records that a user can select when creating or editing a record. They apply to all users equally and cannot be selectively bypassed for certain users.
If you need to allow a specific user to select a record that is currently excluded by the lookup filter, you may need to modify the filter criteria or create a new filter that includes the desired record. Alternatively, you could consider creating a custom field to store additional data that would allow the user to identify the desired record without violating the lookup filter criteria. However, these options would impact all users who interact with the affected object and may require additional changes to your data model and business processes.
CC: https://riderapk.com/real-cricket-20-mod-apk/