Booking Engine Admin Task
Booking Engine Admin Task
“Accord H&R Group” is a small hotel chain company which has 3 Hotels located just in the XYZ city center.
These Hotels provide 26 rooms of different comfort (Standard/Comfort/Deluxe), which can suite any customer
needs and budget. As “Accord H&R Group” values high quality service all the Rooms are booked very fast.
They currently use old-fashioned Hotel Management Application and are very interested in Salesforce as #1
CRM platform. Can you build Salesforce no-code POC solution for Booking Engine Wizard which will help to
easily create Reservations for customer dates and provide recommendations if desired Room is not available?
4. Create a new Screen Flow “Room Reservation” and distribute it via the button “Book a Room” on Account
Page, so the Reservations will be created for this Account. Please review Figure 4 below to follow the process.
Entry Screen
Please provide Check-In and Check-Out dates to create a new Reservation. This info is required.
Add validation logic that Check-In Date can’t be greater than or equal Check-Out Date. Add component
visibility to “Room Type” picklist (Comfort as default). It should be shown when “Lowest Comfort” Toggle
below is OFF (default value) and hidden from the screen if Toggle is ON. Room Type selection is also required.
If “Lowest Comfort” Toggle is ON then it doesn’t matter what Room Type is chosen as it will be overridden.
Create Reservation
If you found an available time slot in the specific Room (there are no blocking Reservations for your dates)
then you need to create new Reservation record and connect it to your Account (where the Flow Started) and
the Room (don’t forget to populate Reservation’s Start Date and End Date which should match Check-In and
Check-Out). It doesn’t matter which Room is chosen for booking (any Hotel, no capacity-based logic to
compare with other Rooms % of Reservations) while the Dates and Comfort level are respected.
Figure 4. Screen Flow with high-level logic
One Reservation “Start Date” can match another Reservation “End Date”, meaning that one customer checks-
out at 11:00 and later another customer checks-in at 14:00 to the same Room. Please review Figure 5 as an
example. For Room HG-101 you can create new Reservation with:
Start Date= 15/05 and End Date= 16/05 OR
Start Date= 15/05 and End Date= 17/05 OR
Start Date= 16/05 and End Date= 17/05
Reservations for other dates are not available for this Room.
Reservation Details:
Hotel Room [Reservation. Room]
Room Type [Reservation. Room.Type]
Check-In [Reservation. Start Date] after 14:00
Check-Out [Reservation. End Date] before 11:00
__________________________________________________________________________________________
Recommendation Screen
Recommendation Screen
Fail Screen
Show Fail message in case the Room can’t be booked during Booking process or if Customer would not agree
with other Room Types recommendations.
__________________________________________________________________________________________
Sorry that we couldn’t help you to book the Room for your dates and according to your preferences.
Please try to create Reservation for different Check-In and Check-Out dates.
__________________________________________________________________________________________
5. Test your implementation
Book a Comfort Room from 17th to 20th of May. 1) "Choose Room Type Screen" is shown ("Comfort Rooms can't be booked for
Agree only to Recommendations for the same these dates, but you can check other Rooms Types options"). Activate "Search
comfort level or higher. other Rooms" toggle. Choose "Deluxe" Room Type
2) "Confirmation Screen" is shown ("Deluxe Room is available. Do you
proceed?"). Choose Yes.
3) Reservation should be created for Room GI-301 in Grand Imperial Hotel
1) Recommendation Screen is shown ("Deluxe Room can't be booked for these
Book a Deluxe Room from 5th to 9th of May. dates, but we've found Comfort Room instead."). Choose Yes.
7
Agree to possible Recommendations.
2) Reservation should be created for Room HG-108 in Hilton Garden Inn Hotel
1) Recommendation Screen is shown ("Deluxe Room can't be booked for these
Book a Deluxe Room from 22th to 26th of May. dates, but we've found Standard Room instead."). Choose Yes.
8
Agree to possible Recommendations.
2) Reservation should be created for Room HG-101 in Hilton Garden Inn Hotel
Even though all comfort types are available for these dates -->
9 Book Room with "Lowest Comfort available" Reservation should be created for Room HG-103 in Hilton Garden Hotel
from 1st to 4th of May (standard as priority)
Book Standard/Comfort/Deluxe Room from 26th Show Fail Screen (Sorry but unfortunately there are no available rooms for these
10
to 31th of May dates. Please try to book a room for different dates.)
Book Room with "Lowest Comfort available" Show Fail Screen (Sorry but unfortunately there are no available rooms for these
11
from 3th to 8th of May dates. Please try to book a room for different dates.)