Posted: 17 Jun 2018 14:44 EDT Last activity: 1 Jul 2018 2:15 EDT
Event Booking application scenario
The hotels do not have user
accounts in the application. The system notifies the hotel contacts by email requesting room
reservations. Each hotel is requested an equal number of rooms. To expedite the process, the hotels will
have to confirm the number of rooms reserved directly into the application.
The hotels have 24 hours to confirm that they have set aside rooms for the event.
The above seems confusing as it says Hotel does not have user accounts in application(that means they cannot open the application/case directly to update the rooms) and then it says they can update the rooms reserved directly in application.
Does that mean through an API ? Probably from an external UI that uses REST API to update the reserved rooms?
There are two Applications in the Hotel ruleset: Hotel and HotelProxy.
The Hotel case type's class is: FSG-Hotel-Work-Hotel.
The HotelProxy case type's class is: FSG-Hotel-Work-Hotel-Proxy.
The HotelProxy Application is presumed to be hosted in a PegaCloud environment.
The Hotel Application, on the other hand, can be hosted anywhere plus is designed to be used as a Built-On (Component) Application. The Hotel Application and HotelProxy Application communicate with each other using the Pega API.
The Hotel case within the Hotel application is strictly meant to be used a subcase. The "API" for the Hotel case is the data propagated to it - data that is written to the Hotel case's .RoomsRequest embedded page. When you view the solution, take a look at the UpdateFromHotelPage Data Transform.