Sourcing data from a report definition
1 Aufgabe
20 Min.
Szenario
In the Travel Management Customer Support (TMCS) application, many guest complaints relate to a specific booking. When a service agent opens a Complaint Resolution case during the Intake Stage, they already know the guest's Reservation ID, but the booking details live in the Reservation Record Data Object, which is the system of record for reservations.
Rather than have agents re-key booking details, U+ Hotels stakeholders want the matching reservation fetched automatically from its Reservation ID, so that accurate booking information is available on the case without manual entry.
Your Lead System Architect asked you to build a parameterized, read-only Data Page that fetches a single Reservation Record by Reservation ID from the Reservation Record Data Object by using a Report Definition, to configure an appropriate scope and refresh strategy, and to surface the reservation on the Complaint Resolution case through a new Reservation Details field.
The following table provides the credentials you may need to complete the challenge:
| Role | User name | Password |
|---|---|---|
| Solution Builder | [email protected] | pega123! |
After completing this challenge, you should be able to:
- Create a parameterized, read-only Data Page.
- Configure the scope and refresh strategy for a Data Page.
- Create a Report Definition as a Data Page source.
- Reference a Data Page from a Case Type field.
Genaue Übungsschritte
1 Source data from a report definition
Use the technical documentation linked in the Journey map above to complete the assigned tasks. The technical documentation might have more information than you need to complete the tasks.
Acceptance criteria
Task 1: Create the Data Page
- A Data Page named
D_ReservationByIDexists and Uses Reservation Record Data Object class. - The Data Page structure is a single page and is read-only.
- The Data Page has a parameter named
ReservationIDand scope is defined as Thread.
Task 2: Create the Report Definition
- The Report Definition queries the Reservation Record Data Object.
- Use DataTableEditorReport Report Definition under Reservation Record Data Object class to create new Report GetReservationRecordByID.
- The Report Definition uses the
ReservationIDvalue to filter records onBookingIDand returns a single record. - The
D_ReservationByIDData Page uses this Report Definition as its source.
Task 3: Configure the Response Data transform and refresh strategy
- The Response Data transform named SetReservationRecord exists under
D_ReservationByIDand sets Primary Page as DataSource.pxResults(1). - The Data Page is configured to reload if it is older than 2 hours.
Task 4: Surface the data
- The Complaint Resolution Case Type includes a field named Reservation Details.
- The field type defined as Query, Single Record option auto-populated from the
D_ReservationByIDData Page andReservationIDparameter is mapped to .ReservationID. - Reservation Details fields Room Type, Check-in Date, Check-out Date, Total Amount are displayed as Read only under on the Gather Supporting Evidence step.
Directions
- Create a parameterized, read-only Data Page named
D_ReservationByIDwith a single-page structure, aReservationIDparameter, and Thread scope. - Create a Report Definition that queries the Reservation Record Data Object, filters on
ReservationID, and returns a single record. - Source the
D_ReservationByIDData Page from the Report Definition. - Configure the Response Data transform and refresh strategy under Data Page as per the acceptance criteria.
- In the Complaint Resolution Case Type, add a Reservation Details field as per the acceptance criteria.
- Reservation Details fields Room Type, Check-in Date, Check-out Date, Total Amount are displayed as Read only under on Gather Supporting Evidence step.
- Save your changes.
In dieser Challenge üben Sie, was Sie im folgenden Modul gelernt haben:
In der folgenden Mission verfügbar:
Möchten Sie uns dabei helfen, diesen Inhalt zu verbessern?