You are here: Reference > Rule types > Data Transforms

Data Transforms

  1. About
  2. New
  3. Definition
  4. Settings
  5. Pages & Classes
  6. Test Cases
  7. Specifications
  8. History
  9. More...

Purpose

A data transform defines how to convert data that is in one format and class (the source) into data of another format and class (the target). The supported formats are clipboard and JSON. Using a data transform instead of an activity to set property values speeds up development and makes application maintenance easier.

Data transforms are useful:

You can create a data transform for either a clipboard or JSON model format. You select the type of data transform in the Additional configuration options section on the Create Data Transform form. The options are different depending on which model format you choose.

For the JSON model format, you can choose whether to automatically map all data in the JSON string, or you can map individual properties. Mapping individual properties is useful when you have a large JSON string and you only care about a couple of properties, when you want to change the JSON structure, and when the fields in the JSON have different names than the clipboard properties to which you are mapping. In addition, you can select classes to exclude.

Where referenced

The following data transforms that are used for data management use data pages:

Other parts of Pega Platform that reference data transforms include:

Data transform rules can be referenced by other data transforms.

Rule types that create clipboard pages (such as Connector rules, Service rules, and other rule types) can use data transforms.

Actions

Use these topics to learn about a specific data transform action:

Action restrictions

The following property types have limited support in data transforms and have no support in JSON data format transforms:

Access

Use the Application Explorer to access data transforms that apply to the work types in your application. Use the Records Explorer to list all data transforms available to you.

Category

Data transform rules are part of the Data Model category. A data transform is an instance of the Rule-Obj-Model class.