GoMeddo - Time Slot Picker

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

  1. 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.

  2. Get Definite Status – Queries for the Reservation_Status__c record named "Definite". If not found, an error screen is shown with a link to the configuration documentation.

  3. Get Resources – Retrieves all Resource__c records matching the selected Resource Type. If none are found, an error screen is shown.

  4. Get Resource IDs – Transforms the resource records into a collection of IDs used to filter the time slot picker.

  5. Time Slot Picker Screen – Displays the B25:screenFlowTimeSlotFinder component filtered to the selected resources. The user picks an available slot. Default duration is 60 minutes.

  6. Insert Reservation – Calls the InvocableReservationUpsert Apex action to create the reservation with the "Definite" status and the selected Reservation Type.

  7. Get Inserted Reservation – Retrieves the newly created Reservation__c record.

  8. Confirmation Screen – Shows the reservation type, resource, date, and start/end times.

Configuration Notes

  • A "Definite" Reservation_Status__c record 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 startRange and endRange formulas to change this.

  • Minimum advance booking time is 15 minutes (minutesInAdvance).

  • The Reservation Selection Modal is enabled (showReservationSelectionModal: true).

  • Reservation__c

  • Reservation_Status__c

  • Reservation_Type__c

  • Resource_Type__c

  • Resource__c

  • B25:screenFlowTimeSlotFinder

  • InvocableReservationUpsert (Apex)