---
schema_version: "1"
id: bf8646161f725f7d912883ed278f047267bce12dd28e951d2303fd3d634ead5c
title: Create Sharing Rules and Sharing Sets for Self-Scheduling Workflows
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/admin_appointment_self_scheduling_workflow_sharing_rules.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.admin_appointment_self_scheduling_workflow_sharing_rules.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 4ea4f63e350ddb5fe5c3a3ad21312392d2553d4c4f03095dc1b5ba7a8c173115
description: Create sharing rules to manage access to appointment scheduling objects that have external access set to private.
products:
  - Health
release: "264"
---
# Create Sharing Rules and Sharing Sets for Self-Scheduling Workflows

Create sharing rules to manage access to appointment scheduling objects that have external access set to private.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition">
        <colgroup>
          <col>
        </colgroup>
        <tbody>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <p>Available in: Lightning Experience</p>
              <p style="margin-bottom:0;">Available in: <strong>Enterprise</strong> and <strong>Unlimited</strong> Editions with Health
                Cloud</p>
            </td>

          </tr>
        </tbody>
      </table> <table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d105870e66">User
              Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d105870e66 ">To use self-service appointment scheduling:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d105870e66 ">
              <p>OmniStudio in Lightning Experience Patient</p>
              <p>AND</p>
              <p style="margin-bottom:0;">Appointment Scheduling on Health Cloud </p>
            </td>

          </tr>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d105870e66 ">To create sharing rules:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d105870e66 ">Manage Sharing</td>

          </tr>
        </tbody>
      </table>

1. From Setup, in the Quick Find box, enter Sharing Settings, and then select **Sharing Settings**.
2. In Managed Sharing Settings for, select **Accounts** and create a sharing rule for authenticated users.
    1. In the Account Sharing Rules section, click **New**.
    2. For Label, enter Account Sharing Settings. Accept the default name.
    3. Enter these details.
        
        | Field | Value |
        | --- | --- |
        | Rule Type | Based on criteria |
        | Criteria | Account Record Type equals Business |
        | Share with | Public Groups - All Customer Portal Users |
        | Default Account and Contract Access | Read Only |
3. Click **Save** and click **OK** at the prompt.
4. To give guest users access to the Intelligent Appointment Management objects, create a rule for each required object.
    1. Select Accounts and then, in the Account Sharing Rules section, click **New**.
    2. For Label, enter Account Sharing Settings Guest. Accept the default name. Then enter these details.
        
        | Field | Value |
        | --- | --- |
        | Rule Type | Guest user access, based on criteria |
        | Criteria | Account Record Type equals Business |
        | Share with | <Site> Guest User |
        | Default Account and Contract Access | Read Only |
    3. Click **Save** and click **OK** at the prompt.
    4. Add a rule for each of these objects.
        
        For each rule, enter a descriptive label that specifies Guest. Select the **Guest user access, based on criteria** rule type, share the object with the **<Site> Guest User**, and set the level of access to **Read Only**.
        
        In this list, <blank> indicates an empty field value. For these criteria, don’t enter anything in the Value field.
        
        <table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
                <thead class="slds-text-title_caps ">
                  <tr><th class="slds-cell-wrap" scope="col" id="d105870e334">Object</th>
                  <th class="slds-cell-wrap" scope="col" id="d105870e337">Criteria</th>
                </tr></thead>
                <tbody><tr class="">
                  <td class="slds-cell-wrap" data-label="Object" headers="d105870e334">Appointment Reasons </td>
                  <td class="slds-cell-wrap" data-label="Criteria" headers="d105870e337">Is Active equals True</td>
                </tr>
                <tr class="">
                  <td class="slds-cell-wrap" data-label="Object" headers="d105870e334">Assets</td>
                  <td class="slds-cell-wrap" data-label="Criteria" headers="d105870e337">Name not equal to &lt;blank&gt;</td>
                </tr>
                <tr class="">
                  <td class="slds-cell-wrap" data-label="Object" headers="d105870e334">Asset Types</td>
                  <td class="slds-cell-wrap" data-label="Criteria" headers="d105870e337">Name not equal to &lt;blank&gt;</td>
                </tr>
                <tr class="">
                  <td class="slds-cell-wrap" data-label="Object" headers="d105870e334">Care Provider Facility Specialties</td>
                  <td class="slds-cell-wrap" data-label="Criteria" headers="d105870e337">Active equals True</td>
                </tr>
                <tr class="">
                  <td class="slds-cell-wrap" data-label="Object" headers="d105870e334">Care Provider Searchable Field</td>
                  <td class="slds-cell-wrap" data-label="Criteria" headers="d105870e337">Care Provider Searchable Field Name not equal to &lt;blank&gt;</td>
                </tr>
                <tr class="">
                  <td class="slds-cell-wrap" data-label="Object" headers="d105870e334">Care Specialties</td>
                  <td class="slds-cell-wrap" data-label="Criteria" headers="d105870e337">Active equals True</td>
                </tr>
                <tr class="">
                  <td class="slds-cell-wrap" data-label="Object" headers="d105870e334">Code Sets</td>
                  <td class="slds-cell-wrap" data-label="Criteria" headers="d105870e337">Active equals True</td>
                </tr>
                <tr class="">
                  <td class="slds-cell-wrap" data-label="Object" headers="d105870e334">Code Set Bundles</td>
                  <td class="slds-cell-wrap" data-label="Criteria" headers="d105870e337">Name not equal to &lt;blank&gt;</td>
                </tr>
                <tr class="">
                  <td class="slds-cell-wrap" data-label="Object" headers="d105870e334">Engagement Channel Types</td>
                  <td class="slds-cell-wrap" data-label="Criteria" headers="d105870e337">Active equals True</td>
                </tr>
                <tr class="">
                  <td class="slds-cell-wrap" data-label="Object" headers="d105870e334">Healthcare Facility Networks</td>
                  <td class="slds-cell-wrap" data-label="Criteria" headers="d105870e337">
                    <p>Facility Network Name not equal to &lt;blank&gt;</p>
                    <p>AND</p>
                    <p>Active equals True</p>
                  </td>
                </tr>
                <tr class="">
                  <td class="slds-cell-wrap" data-label="Object" headers="d105870e334">Healthcare Payer Networks</td>
                  <td class="slds-cell-wrap" data-label="Criteria" headers="d105870e337">
                    <p>Payer Network Name not equal to &lt;blank&gt;</p>
                    <p>AND</p>
                    <p>Active equals True</p>
                  </td>
                </tr>
                <tr class="">
                  <td class="slds-cell-wrap" data-label="Object" headers="d105870e334">Healthcare Practitioner Facilities</td>
                  <td class="slds-cell-wrap" data-label="Criteria" headers="d105870e337">
                    <p>Practitioner Facility Name not equal to &lt;blank&gt;</p>
                    <p>AND</p>
                    <p>Active equals True</p>
                  </td>
                </tr>
                <tr class="">
                  <td class="slds-cell-wrap" data-label="Object" headers="d105870e334">Healthcare Providers</td>
                  <td class="slds-cell-wrap" data-label="Criteria" headers="d105870e337">Healthcare Provider Name not equal to &lt;blank&gt;</td>
                </tr>
                <tr class="">
                  <td class="slds-cell-wrap" data-label="Object" headers="d105870e334">Healthcare Provider NPIs</td>
                  <td class="slds-cell-wrap" data-label="Criteria" headers="d105870e337">Name not equal to &lt;blank&gt;</td>
                </tr>
                <tr class="">
                  <td class="slds-cell-wrap" data-label="Object" headers="d105870e334">Healthcare Provider Specialties</td>
                  <td class="slds-cell-wrap" data-label="Criteria" headers="d105870e337">Specialty Name not equal to &lt;blank&gt;</td>
                </tr>
                <tr class="">
                  <td class="slds-cell-wrap" data-label="Object" headers="d105870e334">Healthcare Provider Taxonomies</td>
                  <td class="slds-cell-wrap" data-label="Criteria" headers="d105870e337">Taxonomy Name not equal to &lt;blank&gt;</td>
                </tr>
                <tr class="">
                  <td class="slds-cell-wrap" data-label="Object" headers="d105870e334">Operating Hours</td>
                  <td class="slds-cell-wrap" data-label="Criteria" headers="d105870e337">Name not equal to &lt;blank&gt;</td>
                </tr>
                <tr class="">
                  <td class="slds-cell-wrap" data-label="Object" headers="d105870e334">Service Resources</td>
                  <td class="slds-cell-wrap" data-label="Criteria" headers="d105870e337">Name not equal to &lt;blank&gt;</td>
                </tr>
                <tr class="">
                  <td class="slds-cell-wrap" data-label="Object" headers="d105870e334">Service Territories</td>
                  <td class="slds-cell-wrap" data-label="Criteria" headers="d105870e337">Name not equal to &lt;blank&gt;</td>
                </tr>
                <tr class="">
                  <td class="slds-cell-wrap" data-label="Object" headers="d105870e334">Work Orders</td>
                  <td class="slds-cell-wrap" data-label="Criteria" headers="d105870e337">Work Order Number not equal to &lt;blank&gt;</td>
                </tr>
                <tr class="">
                  <td class="slds-cell-wrap" data-label="Object" headers="d105870e334">Work Type Asset Types</td>
                  <td class="slds-cell-wrap" data-label="Criteria" headers="d105870e337">Name not equal to &lt;blank&gt;</td>
                </tr>
                <tr class="">
                  <td class="slds-cell-wrap" data-label="Object" headers="d105870e334">Work Type Groups</td>
                  <td class="slds-cell-wrap" data-label="Criteria" headers="d105870e337">Work Type Group Name not equal to &lt;blank&gt;</td>
                </tr>
                <tr class="">
                  <td class="slds-cell-wrap" data-label="Object" headers="d105870e334">Work Types</td>
                  <td class="slds-cell-wrap" data-label="Criteria" headers="d105870e337">Work Type Name not equal to &lt;blank&gt;</td>
                </tr>
              </tbody></table>
5. Save your changes.
6. From Setup, in the Quick Find box, enter Digital Experiences, and then select **Settings**.
7. Under Sharing Sets, click **New**. Enter a name for the sharing set.
    1. Move your cloned Customer Community profile to the Selected Profiles. The cloned profile is based on either a Customer Community Plus User or Customer Community User profile. See [Create a Profile and Assign Permissions to Authenticated Users for Self-Scheduling](https://help.salesforce.com/s/articleView?id=ind.hc_admin_appointment_management_self_scheduling_profile_perms.htm&release=264.0.0&type=5 "Give authenticated users access to the permissions, objects, and fields required to schedule their own appointments.").
    2. Move the Account and Service Appointment objects to the Selected Objects list.
8. In the Configure Access section, click **Set Up** next to Account.
    
    To give the guest user access to their own account, enter these details.
    
    | Field | Value |
    | --- | --- |
    | User | Contact.Account |
    | Target Account | Id |
    | Access Level | Read/Write |
9. Click **Update**.
10. In the Configure Access section, click **Set Up** next to Service Appointment.
    
    To give the guest user access to their own service appointments, enter these details.
    
    | Field | Value |
    | --- | --- |
    | User | Contact.Account |
    | Target Account | Account |
    | Access Level | Read/Write |
11. Click **Update** and save your work.

#### See Also

- [Create Sharing Rules](https://help.salesforce.com/s/articleView?id=platform.security_sharing_rules_create.htm&type=5&language=en_US)
- [Share Waitlist Data with Authenticated Users](https://help.salesforce.com/s/articleView?id=ind.hc_admin_waitlist_management_share_waitlist_data.htm&release=264.0.0&type=5 "Create a profile or update an existing profile to assign the permissions that portal users require to access Waitlist Management objects and flows. Waitlist Management is only available for authenticated portal users.")