7

Role Hierarchy And Public Group In Salesforce

In Salesforce, effective organization and collaboration are paramount for driving success. Among the tools Salesforce offers, Role Hierarchy and Public Groups stand out as key features that enhance access, communication, and management within your Salesforce instance.

 Let’s delve into what Role Hierarchy and Public Groups entail, the various types available, and how you can leverage them to optimize your Salesforce experience.

What is Role Hierarchy in Salesforce?

Every Salesforce.org maintains a role hierarchy for its organization. This role hierarchy in Salesforce defines the user hierarchy within the organization. Role Hierarchies can be used to automatically extend record access so that a Manager always has access to the same data as their employees, regardless of the org-wide default settings.

Role hierarchies don’t have to match your org chart exactly. Instead, each role in the hierarchy should represent only the level of data access a user or group of users needs. Roles can control users’ visibility into the organization’s data depending on the organisation’s sharing settings. Users at any given role level can view, edit, and report on all data owned by or shared with users below them in the role hierarchy unless the organization’s sharing model for an object specifies otherwise.

Settings in Role Hierarchy:

  • The “Grant Access Using Hierarchies” option is enabled for all objects and can only be changed for custom objects.
  • If the “Grant Access Using Hierarchies” option is turned off for a custom object, then only the record owner and users granted access by the org-wide defaults can access the object’s records. 
  • However, users with the “View All” and “Modify All” object permissions and the “View All Data” and “Modify All Data” system permissions can still access records they do not own.

Types of Role Hierarchy in Salesforce

There are primarily two types of Role Hierarchy Salesforce:

  1. Vertical Role Hierarchy: In this type of hierarchy, each role reports directly to one superior role. This creates a transparent chain of command, allowing easy task delegation and data access management.
  2. Sharing Rules: While not technically a type of Role Hierarchy, Sharing Rules complement the hierarchy by granting access to specific records based on criteria defined by the organization. This allows for more granular control over Salesforce Data Access Hierarchy beyond the confines of the role hierarchy.

Read More:

Sharing Rules in Salesforce

How to Create Role Hierarchy in Salesforce?

Creating a Role Hierarchy in Salesforce involves the following steps:

  1. Navigate to Setup by clicking on the gear icon in the top-right corner of the Salesforce dashboard.
Navigate to Setup by clicking on the gear icon
  1. In the Quick Find box, type “Roles” and select Roles.
Quick Find box
  1. Click on the “New Role” button to create a new role.
New roles
Creating the role hierarchy
  1. Define the name and role hierarchy level for the new role.
Setup Roles
  1. Specify the parent role if applicable and save your changes.
Specify the parent role if applicable

Repeat these steps to create additional roles and establish the desired hierarchy within your organization.

What are Public Groups in Salesforce?

Public groups in Salesforce consist of a set of users. It can contain individual users, other groups, users in a particular role or territory, and all users below that role and their subordinates in the hierarchy. Public groups are primarily used for sharing. They are not the owners of the record, but can share the record in terms of access. Public groups in Salesforce can be used across any object.

Create Public Groups in Salesforce

To create Public Groups in Salesforce, follow these steps:

  1. Navigate to Setup by clicking on the gear icon in the top-right corner of the Salesforce dashboard.
Navigate to Setup by clicking on the gear icon in the top-right corner
  1. In the Quick Find box, type “Public Groups” and select Public Groups.
Public Groups
  1. Click on the “New” button to create a new Public Group.
New button
  1. Specify a name for the group and add the desired members (users, roles, or other groups).
Specify a name
  1. Define the group’s access level and save your changes.
Define the group's access level

Types of Public Groups in Salesforce

There are several types of Public Groups in Salesforce, including:

  1. Regular Public Groups: These groups consist of individual users or roles and are commonly used for sharing records and collaborating on projects.
  2. Email List Groups: Designed specifically for email communication, these groups allow for easy message distribution to multiple recipients.
  3. Queue Groups: Queue Groups are used to assign records to a group for ownership rather than an individual, facilitating efficient task assignment and management.
Next Topic

Need more support?

Get a head start with our FREE study notes!

Learn more and get all the answers you need at zero cost. Improve your skills using our detailed notes prepared by industry experts to help you excel.

Frequently Asked Questions

How do I create a role hierarchy in Salesforce?

To create a role hierarchy in Salesforce, go to Setup → In Quick Find, type “Roles.” → Select orioles, and click setup roles → Click “Add roles” → fill role name and settings → Then, Save.

What is the difference between role and role & subordinates in Salesforce?

In sharing or reports, if you select roles, you are assigning a particular user to the role. However, if you select roles & subordinates, it will include users with that role and all roles under its hierarchy.

What are public groups in Salesforce?

Salesforce public groups are collections of roles, users, and other groups that make sharing easier. These are commonly used for manual sharing or sharing rules when a record is to be shared with a group rather than an individual.

Why is Role Hierarchy important?

Role hierarchies in Salesforce help control the record visibility in an organization. It ensures that managers can identify and Record Access using Role Hierarchy of the data owned by each team member.

Book Free15-Minutes Career Counselling