Skip to main content
Build the future with Agentforce at TDX in San Francisco or on Salesforce+ on March 5–6. Register now.

Set Up Automatic Service Resource Assignment and Anonymous Booking

Learning Objectives

After completing this unit, you’ll be able to:

  • Grant users Edit access to the Anonymous Booking field.
  • Enable Automatic Service Resource Assignment.
  • Enable Anonymous Resource Scheduling.

Keep It Simple and Short

When customers are booking appointments with Cumulus Cloud Bank, it helps to keep the experience short and simple. The easier you can make it for customers to schedule appointments, the better the scheduling experience. And that involves doing away with any screens or options that aren’t useful to them. Getting to choose a service resource, for example, isn’t necessary for customers; they are happy to meet with anyone who can address their banking needs and don’t usually know the resources by name.

When you enable automatic resource assignment, service resources are automatically assigned based on the time slots customers select. With anonymous scheduling, you can hide the assigned resources’ names on the appointment summary page to protect their privacy.

To get started, Matt gives users edit access to the Anonymous Booking field on the Service Appointment object.

  1. From Setup, open Object Manager.
  2. In the Quick Find box, enter Service Appointment, and then select Service Appointment.
  3. Click Fields & Relationships, and select Anonymous Booking.
  4. Click Set Field-Level Security.
  5. Select Visible for all user profiles that schedule appointments.
  6. Save your changes.

The Set Field-Level Security page showing Visible selected for Advisor.

Enable Automatic Service Resource Assignment

The next step is to enable automatic service resource assignment.

  1. From Setup, in the Quick Find box, enter Flows and then select Flows.
  2. Create a flow or edit an existing flow that you want to enable automatic resource assignment for. For example, clone the Inbound New Guest Appointment template to create a flow for guest users.
    Note: Before you can edit a flow, you must deactivate it.
  3. On the Manager tab, under Variables, edit allowAnonymousBooking and change the Default Value to True.
  4. Edit the allowResourceBooking variable and change the Default Value to False.
  5. Click Done.
  6. Save and activate the flow.

Turn On Anonymous Resource Scheduling

When anonymous scheduling is enabled, assigned resources’ names aren’t shown on the appointment summary page. Hiding service resource names from customers protects their privacy and also gives you the flexibility to assign different resources to appointments if the resources initially assigned become unavailable.

  1. From Setup, in the Quick Find box, enter Flows and then select Flows.
  2. Select the flow that you want to hide service resource names for.
  3. Use the showServiceResource variable to set the value of the Show Service Resource attribute to False.
    1. On the Manager tab, under Variables, click showServiceResource.
    2. Click Edit.
    3. In the Default Value field, select False.
    4. Click Done.
  1. Save and activate the flow.

Success!

Great going! Matt has successfully (and painlessly) made all the requested tweaks to Salesforce Scheduler. The team and the management are super-happy and they’re excited about the flexibility that Scheduler offers to cater to their business needs.

Resources

在 Salesforce 帮助中分享 Trailhead 反馈

我们很想听听您使用 Trailhead 的经验——您现在可以随时从 Salesforce 帮助网站访问新的反馈表单。

了解更多 继续分享反馈