Newer Version Available

This content describes an older version of this product. View Latest

Creating Lead Sharing Rules

Available in: Enterprise, Performance, Unlimited, and Developer Editions

User Permissions Needed
To create sharing rules: “Manage Sharing”

Lead sharing rules are based on the record owner or on other criteria, including record type and certain field values. You can define up to 300 lead sharing rules, including up to 50 criteria-based sharing rules.

  1. If you plan to include public groups in your sharing rule, confirm that the appropriate groups have been created.
  2. From Setup, click Security Controls | Sharing Settings.
  3. In the Lead Sharing Rules related list, click New.
  4. 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.
  5. Enter the Description. This field describes the sharing rule. It is optional and can contain up to 1000 characters.
  6. Select a rule type.
  7. Depending on the rule type you selected, do the following:
    • Based on record ownerIn 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 criteriaSpecify 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.

      To use a field that’s not supported by criteria-based sharing rules, you can create a workflow rule or Apex trigger to copy the value of the field into a text or numeric field, and use that field as the criterion.

      Note

  8. In the Share with line, specify the users who should have access to the data: select a category from the first drop-down list and a set of users from the second drop-down list or lookup field.
  9. Select the sharing access setting for users.
    Access Setting Description
    Read Only Users can view, but not update, records.
    Read/Write Users can view and update records.
  10. Click Save.