Flow Screen Component: Service Resource Availability

Enables users to view the list of available service resources (appointment attendees) and select a service resource.

Required Editions

Available in: Lightning Experience.
Available in: Enterprise and Unlimited Editions

Image of the screen that enables users to view the list of available service resources and select a service resource.

Note
Note By default, when appointment distribution is disabled, the screen displays all available service resources for the next 31 days. If no resources are available in that period, it continues searching in the following 31-day windows, up to a maximum of 93 days. When appointment distribution is enabled, the number of service resources shown is limited by default to 10, which can be modified by enabling the Number of Resources to Show (Appointment Distribution) attribute.
Attribute Description Additional Information
API Name Use underscores and alphanumeric characters without spaces. Begin the name with a letter, don’t end the name with an underscore, and don’t use two consecutive underscores.
  • Type: Input
  • Data type: String
  • Used in: All outbound and inbound flows
Service Territory

The ID of the service territory for which the available service resources appear.

Example: 0Hhxx0000004DUuCAM

  • Type: Input and Output
  • Data type: String
  • Used in: All inbound and guest flows
Work Type Group

The ID of the work type group for which the available service resources appear.

Example: 0VSxx0000004D0GGAU

  • Type: Input and Output
  • Data type: String
  • Used in: All inbound and guest flows
Anonymous Booking

Indicates whether anonymous booking is enabled.

If the value is set to true, an Anonymous Booking option appears. When a user selects this option, service resource selection doesn't happen on this component and takes place in the Select Resource Availability component.

If a value isn’t set, false—the default value—is used.

Example: {!$GlobalConstant.True}

  • Type: Input
  • Data type: Boolean
  • Used in: All inbound and guest flows
Anonymous Booking Selected

Indicates whether the user selected the Anonymous Booking option.

If a value isn't set, false—the default value—is used.

Example: {!$GlobalConstant.True}

  • Type: Input and Output
  • Data type: Boolean
  • Used in: All inbound and guest flows
Correlation Id

The ID of the appointment scheduling data.

Correlation Id is one of the parameters of the ServiceAppointmentRequestInfo class that’s passed to the ServiceResourceScheduleHandler Apex interface.

For example, you can use the correlation ID to identify the system that’s calling the ServiceResourceScheduleHandler interface implementation. If a value isn't set, a random identifier is passed.

  • Type: Input
  • Data type: String
  • Used in: Inbound, outbound, and guest flows
Default Time Zone

The timezone according to which the availability of service resources is shown. If a value isn't set, time slots are shown according to the user's locale timezone.

Here’s the list of accepted Timezone values.

Example: America/Los_Angeles.

  • Type: Input
  • Data type: String
  • Used in: All inbound and guest flows
Filter By Resource IDs

A comma-separated list of service resource IDs that are used to filter resources. Only the eligible service resources that are both in this list and in the selected service territory appear on the screen.

Example: 0Hnxx0000004DdpCAE, 0Hnxx0000004DscCAE

  • Type: Input
  • Data type: String
  • Used in: All inbound and guest flows
Number of Resources to Show (Appointment Distribution)

The number of service resources that appear when using Appointment Distribution.

  • Type: Input
  • Data type: Integer
  • Used in: Inbound, outbound, and guest flows
Parent Record ID

The ID of the parent record for which the service resource is selected. Supported values are account ID, case ID, opportunity ID, and lead ID.

Example: 001xx000003GZQFAA4

  • Type: Input
  • Data type: String
  • Used in: All inbound and guest flows
Scheduling Policy

The developer name of the scheduling policy that's used to fetch resources.

Note
Note This field doesn’t support Salesforce ID.

Example: default_appointment_scheduling_policy

  • Type: Input
  • Data type: String
  • Used in: All inbound and guest flows
Service Resource

The ID of the selected service resource.

Example: 0Hnxx0000004D56CAE

  • Type: Input and Output
  • Data type: String
  • Used in: All inbound and guest flows
Service Resource Booking

Indicates whether service resource booking is enabled. If this value is set to true, the component shows available resources.

If a value isn’t set, true—the default value—is used.

Example: {!$GlobalConstant.True}

  • Type: Input
  • Data type: Boolean
  • Used in: All inbound and guest flows
Show service resources by Availability

Indicates whether service resources are sorted by availability such that the earliest available resources are shown first.

If a value isn’t set, true—the default value—is used.

Example: {!$GlobalConstant.True}

  • Type: Input
  • Date type: Boolean
  • Used in: Inbound, outbound, and guest flows
Validations

The error messages in the Service Resource Availability component.

This value is auto-populated. For example, the attribute stores the error message that’s generated when users navigate to the next screen without selecting a service resource.

  • Type: Input and output
  • Data type: String
  • Used in: Inbound, outbound, guest