Skip to main content

Using Data Transforms

1 Task

45 mins

Visible to: All users Applies to: Pega Platform '26
Beginner
Data Integration
English

Scenario

UPlus Hotels stakeholders want to improve the efficiency and accuracy of refund handling in the Travel Management Customer Support (TMCS) application.

During analysis, the team identified that refund requests require consistent initialization and tracking. To streamline processing, the Refund Request Date defaults automatically to the current date when a refund Case is created, which reduces manual data entry. In addition, the system generates a unique Refund ID for each refund request to ensure proper tracking and auditability.

The team also wants to standardize some common default values by using a superclass Data Transform across all Case Types in the TMCS application to ensure consistency and reduce duplication. The Lead System Architect already created a Generate Refund ID Data Transform. You configure this Data Transform and update default values by using Data Transforms.

As a Solution Builder, you must configure Case-level and superclass Data Transforms to implement these requirements.

Note: This challenge has been configured with Single sign-on (SSO) using your Pega Academy credentials. If you are not automatically signed-in to the challenge environment after initializing the instance, you may use the credentials provided.

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:

  • Use Data Transforms to set default values.
  • Update an existing Data Transform.
  • Apply a Data Transform in a Case lifecycle.
  • Configure a superclass Data Transform.

You must initiate your own Pega instance to complete this Challenge.

Initialization may take up to 5 minutes so please be patient.

Detailed Tasks

1 Use Data Transforms

 

Solution Builder Intermediate Using Data Transforms Doc Journey

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: Use Data Transforms

  • The Refund Request Date is initialized to the current date @DateTime.CurrentDateTime() by using the pyDefault Data Transform at the Refund Processing Case Type class.
  • Call superclass data transform is enabled on the pyDefault Data Transform at the Refund Processing Case Type class.
  • The Generate Refund ID Data Transform is updated to include a mapping for the Refund ID field.
  • The Refund ID is generated by using the function @Utilities.pxGetNewGUID() and is unique per case.
  • The Generate Refund ID Data Transform runs during the Request Intake Stage.
  • The Refund ID is populated automatically when the case is processed.

Task 2: Configure a superclass Data Transform under the TMCS work layer

  • A pyDefault Data Transform is updated at the UPlus-TMCS-Work class level.
  • The Data Transform sets .pyUrgencyWorkAdjust to 20 and .SourceChannel to TMCS.
  • The configured values are applied automatically when a case is created.

Directions

  1. In the Refund Processing Case Type, set the default value for the Refund Request Date under the pyDefault Data Transform.
  2. Open the Generate Refund ID Data Transform, and then add the Refund ID mapping as detailed in the Acceptance criteria, using the function @Utilities.pxGetNewGUID().
  3. Confirm that the Generate Refund ID Data Transform runs during the Request Intake Stage.
  4. Navigate to the pyDefault Data Transform under the UPlus-TMCS-Work class.
  5. Add the mappings as detailed in the Acceptance criteria, and then enable the superclass pyDefault Data Transform.
  6. Save your changes.

This Challenge is to practice what you learned in the following Module:


Available in the following mission:

If you are having problems with your training, please review the Pega Academy Support FAQs.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Academy has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice