Applying business logic when importing data

Transform data to values that are understood by Pega Platform using business logic during file import instead of manually transforming data in a preprocessing activity. Add decision trees, decision tables, and lookups to transform your data.

Before you begin: If you are using a decision tree or decision table for add only or add or update purposes, create the decision tree or decision table in Dev Studio. You can then select it when you are mapping fields in the Import wizard.

When you use a lookup, decision tree, or decision table, the source value is the value obtained from the lookup, tree, or table. It is not the value in the .csv file.

  1. On the Map fields screen of the Import wizard, in the Mapping options column, click the Gear icon to display the Mapping options menu.
  2. In the Set values using list, select the method to use to transform the imported data.
    • Imported value (default) – Select this option to use the value in the .csv file.
    • Lookup – Select this option to maintain relationships between individual records being imported or to normalize fields with a large number of valid values. After you select Lookup, set the following fields:
      • Record type – Enter or select the record type to look up during import.
      • Match record by – Enter or select the field in the lookup record type to use to identify which record to look up a value from. For example, if you want to search for records by email address, enter or select EmailAddress.
      • Set value from – Enter or select the field from which to retrieve the value from the matched record.
    • Decision table or Decision tree – Select this option to use a decision table or decision tree to normalize external data into a format that is understood by the Pega Platform. After you select Decision table or Decision tree, set the field to the name of decision table or decision tree that you created in the current class.
  3. Click Submit.