Loading

Salesforce Duplicate Rule: 'Current User: Profile' Condition Ignored for Users Without View Setup and Configuration Permission

Date de publication: Jul 16, 2026
Description

When a Salesforce Duplicate Rule includes a condition based on 'Current User: Profile', the condition is silently ignored for users who do not have the 'View Setup and Configuration' permission. This causes the duplicate rule to trigger for all users regardless of their profile, which may result in unexpected duplicate detection behavior.

Résolution

Why This Happens (Working as Designed)

This is working as designedThe Current User: Profile field is a foreign key referencing Profile. Users without "View Setup and Configuration" are unable to view Profiles, so they cannot access the field this filter references, and the filter is ignored.

An example scenario:

  • A Duplicate Rule has been set up with a single condition "Current User: Profile equals System Administrator".
  • When duplicate rules are evaluated by a user who is not a System Administrator, and who has "View Setup and Configuration", this condition will evaluate false and the duplicate rule will not run.
  • However, if the user does not have "View Setup and Configuration",  "Current User: Profile" is not accessible. The filter is not evaluated at all, and the duplicate rule is triggered regardless of the users actual Profile.

Workaround: Use a Formula Field for Profile Name

Formulas can be used to allow Users access to data they otherwise could not see:

  1. Create a Formula Field called "ProfileName", return type (text) on User.
  2. Use the syntax: Profile.Name
  3. Then reference the formula field (Current User: ProfileName), instead of "Current User: Profile" in the duplicate rule criteria.


Important: The ProfileName formula field may be hidden from users via page layout or field-level security. Ensure it is visible before using it in duplicate rule criteria.

Ressources supplémentaires

Duplicate Rules

Numéro d’article de la base de connaissances

000387549

 
Chargement
Salesforce Help | Article