Skip to main content

Using Data Transforms

1 Tarefa

45 min

Visível para: All users Applies to: Pega Platform '26
Beginner
Data Integration
Inglês

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.

Nota: 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.

Você deve iniciar sua própria instância da Pega para concluir este Challenge.

A inicialização pode leva até cinco minutos, portanto tenha paciência.

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.

Este Desafio serve para praticar o que você aprendeu nos seguintes Módulo:


Disponível na seguinte missão:

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

Este conteúdo foi útil?

Quer nos ajudar a melhorar esse conteúdo?

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