Skip to main content

Generating Case data using Pega GenAI

Pega GenAI™ accelerates the creation of the sample data that is necessary to facilitate testing in Pega Platform™.  

Generating data records

Pega GenAI simplifies application development by creating sample records for your data objects. During testing, you can use these sample data records in place of data in external systems of record that do not yet have integration with the application. 

For example, in a fraud investigation application for U+Bank, you add data records to the Customer data object.  

After selecting the Customer data object, click the Records tab, and then click Generate sample data with AI. As seen in the following figure, this action opens a dialog box where you can edit the number of sample data records that you want Pega GenAI to create: 

The Generate sample records with AI box for the Customer data object.

In this example, Pega GenAI generates three sample data records for the Customer data object.  

The three sample data records that Pega GenAI generates for the Customer data object are shown in the following figure: 

Sample data records generated by Pega AI for the Customer data object.

Pega GenAI generates information for all fields in the data object. Each data record contains values that correspond to the Type associated with each field. For example, the Customer email field is an Email type; therefore, Pega GenAI provides an email address as the value. 

In the following figure, the data records that Pega GenAI creates and saves to the application are then available for use when testing Cases:

Using the Customer sample data records in a Case.

Populating form data

Pega GenAI can also populate form data when you are testing your Case Type.  

When testing a Case, click Fill form with AI to populate a form View with data. As shown in the following image, Pega GenAI completes the form with data based on the fields included in the form: 

Using Pega GenAI to fill in form data in a Case.

The fields that Pega GenAI populates then integrate into the data that the system uses to resolve the Case, as shown in the following image: 

Sample data from Pega GenAI being used in Case testing.

Generating Case data using Pega GenAI

The following video shows you how to populate data records for a data object and Case data using Pega GenAI in Pega Platform:


This Topic is available in the following Module:

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

Did you find this content helpful?

100% found this content useful

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