[SalesForce] How to assign different record types to different users of the same profile

I have a scenario:
There are two groups of users in the same profile, Group A and Group B.
I have two Record Types on a custom object, say R1 and R2.
The Record Type R1 is the record type assigned to this profile.

The requirement is as: Group A must have only R1 record type and Group B must have only R2 record type assigned to it. It means that while creating a new record, Group A users must be able to create a record of type R1 only and Group B users must be able to create a record of type R2 only.

I tried this:
Create a permission set with R2 record type assigned to it. Add all the Group B users to this permission set. Now, users of Group B will have the option to select from R1 and R2 at the time of creating a new record. But I want that Group B users must be able to create a record of type R2 and not R1.

One Possible solution is:
Clone this profile, assign R2 record type to it and add all the Group B users to this profile. But I don't want to increase the number of profiles in my org.

Is there any other possible solution?

Best Answer

This works:

  • Create permission set P1 with record type R1 only assigned to it
  • Create permission set P2 with record type R2 only assigned to it
  • Add P1 or P2 to the appropriate Users
  • Ensure R1 and R2 are not set on the profile, leaving just the Master record type selected there

Then when the SObject is created it is automatically given the record type according to the permission set of the user (with no record type selection prompt) which is the behaviour I believe you want.

Related Topic