I have a lookup filter which I want to bypass as a system administrator when doing i.e. data imports.
I found possible solutions but they dont seem to be working.
- Added a second filter condition
OR profile equal to system administrator
- Created a custom checkbox field on the user object and set this to true for the system administrator and added a second filter
AND $User.bypassFilter__c = false
None of these seem to be working even if I try to update the record directly am I missing something?
Criteria 1: Object: Record Type equal to Sold
Variant 1: profile equal to system administrator. Logic 1 OR 2
Variant 2: $User.bypassFilter__c = false. Logic 1 AND 2
Here system admin has bypassFilter__c set to true
The filter is throwing an error that the recordtype isn't correct