Overview
The GoMeddo - Time Slot Picker flow template guides a user through selecting a Reservation Type and Resource Type, then choosing an available time slot to create a new reservation. It uses the GoMeddo Time Slot Finder screen component.
Flow Name
GoMeddo - Time Slot Picker
When to Use
Use this flow template when you need to let users create a new reservation by browsing and selecting from available time slots. Typical use cases:
-
Digital Experience portals for self-service booking.
-
Quick Actions or standalone flow screens in Salesforce for internal booking.
Copy and customize this template before activating.
Input Variables
None. All data is collected through the flow screens.
Flow Steps
-
Selection Screen – The user selects a Reservation Type and a Resource Type from dropdowns populated dynamically from existing records. Only Resource Types with Rentable enabled are shown.
-
Get Definite Status – Queries for the
Reservation_Status__crecord named"Definite". If not found, an error screen is shown with a link to the configuration documentation. -
Get Resources – Retrieves all
Resource__crecords matching the selected Resource Type. If none are found, an error screen is shown. -
Get Resource IDs – Transforms the resource records into a collection of IDs used to filter the time slot picker.
-
Time Slot Picker Screen – Displays the
B25:screenFlowTimeSlotFindercomponent filtered to the selected resources. The user picks an available slot. Default duration is 60 minutes. -
Insert Reservation – Calls the
InvocableReservationUpsertApex action to create the reservation with the "Definite" status and the selected Reservation Type. -
Get Inserted Reservation – Retrieves the newly created
Reservation__crecord. -
Confirmation Screen – Shows the reservation type, resource, date, and start/end times.
Configuration Notes
-
A "Definite"
Reservation_Status__crecord must exist in the org. See Reservation Statuses. -
Resources must be configured with the correct Resource Type and have Rentable checked. See Resource Hierarchy Setup.
-
The default slot duration is 60 minutes. Adjust this in the Time Slot Picker Screen field configuration.
-
The search window defaults to today → today + 14 days. Adjust the
startRangeandendRangeformulas to change this. -
Minimum advance booking time is 15 minutes (
minutesInAdvance). -
The Reservation Selection Modal is enabled (
showReservationSelectionModal: true).
Related Objects
-
Reservation__c -
Reservation_Status__c -
Reservation_Type__c -
Resource_Type__c -
Resource__c
Related Components
-
B25:screenFlowTimeSlotFinder -
InvocableReservationUpsert(Apex)