Newer Version Available
Creating Account Sharing Rules
| Available in: Salesforce Classic and Lightning Experience |
| Available in: Professional, Enterprise, Performance, Unlimited, and Developer Editions |
| User Permissions Needed | |
|---|---|
| To create sharing rules: | Manage Sharing |
Account sharing rules can be based on the record owner or on other criteria, including record type and certain field values. You can define up to 300 account sharing rules, including up to 50 criteria-based sharing rules.
- If you plan to include public groups in your sharing rule, confirm that the appropriate groups have been created.
- From Setup, enter Sharing Settings in the Quick Find box, then select Sharing Settings.
- In the Account Sharing Rules related list, click New.
- Enter the Label Name and Rule Name. The Label is the sharing rule label as it appears on the user interface. The Rule Name is a unique name used by the API and managed packages.
- Select a rule type.
-
Depending on the rule type you selected,
do the following:
- Based on record owner—In the owned by members of line, specify the users whose records will be shared: select a category from the first drop-down list and a set of users from the second drop-down list (or lookup field, if your organization has over 200 queues, groups, roles, or territories).
- Based on criteria—Specify the Field, Operator, and Value criteria that records must match to be included in the sharing rule. The fields available depend on the object selected, and the value is always a literal number or string. Click Add Filter Logic... to change the default AND relationship between each filter.
- Select a setting for Default Account, Contract and Asset Access.
- In the remaining fields, select the access settings for the records associated with the shared accounts.
- Click Save.