When automatic service resource assignment is enabled, your customers or guest users can schedule appointments without selecting a service resource. Based on the selected time slot, an appropriate service resource is automatically assigned to the appointment. You can also configure your flows to give users the option to manually select a service resource or have one assigned automatically.
Required Editions
| Available in: Lightning Experience. |
| Available in: Enterprise and Unlimited Editions |
| User Permissions Needed | |
|---|---|
| To open, edit, or create a flow in Flow Builder: | Manage Flow |
| To run a flow: | Run Flows |
Before you enable automatic service resource assignment, update field-level security for the Anonymous Booking field on the Service Appointment object to give users edit access.
Use the new Anonymous Booking and Service Resource Booking attributes on your flow screen component. These attributes are available on the Select Service Resource, Service Resource Availability, and Select Service Resource and Service Appointment Time flow screen components. By default, Anonymous Booking is set to False and Service Resource Booking to True, and there’s no change in your flow's behavior.
- From Setup, in the Quick Find box, enter Flows, and then select Flows.
-
Create a flow or edit an existing flow that you want to enable automatic resource
assignment for.
Note Before you can edit a flow, you must deactivate it. -
On the Manager tab, under Variables, edit the allowAnonymousBooking and
allowResourceBooking variables and set their values according to your requirement.
- To skip the resource selection page and automatically assign service resources, set allowAnonymousBooking to {!$GlobalConstant.True} and allowResourceBooking to {!$GlobalConstant.False}.
- To give users the option to choose between automatic resource assignment and manual resource selection, set both allowAnonymousBooking and allowResourceBooking to {!$GlobalConstant.True}.

- Save your changes, and then activate the flow.