Generating a Case Type using Pega GenAI
Pega GenAI™ revolutionizes the creation of Case Types and the associated Data Models in Pega Platform™. With its advanced technology, Pega GenAI automates and accelerates the low-code application development process.
Generating a Case Type
With Pega GenAI, you can create a Case Type in a Pega Platform application with just a few clicks of a button.
In this example, U+Bank creates the first Case Type for the new Life Insurance application.
To create a Case Type, you select the Case Type tab from the navigation pane of App Studio.
When you create a Case Type with assistance from Pega GenAI, the system proposes a list of potential Case Type names based on the name of the application and other application metadata. In the following figure, Pega GenAI proposes Case Type names such as Policy Application, Underwriting Review, Policy Issuance, and Claims Processing for the Life Insurance application:
You can select one of Pega GenAI’s suggestions by clicking a suggested Case Type name, or you can enter a custom Case Type name in the Create Case Type dialog box. This example uses the Underwriting Review Case Type from the AI suggestion, as shown in the following figure:
Generating the Case Life Cycle
By selecting Use AI to suggest a Life Cycle and Data Model in the Create Case Type dialog box, Pega GenAI uses the name of the Case Type and other application metadata to propose a series of Stages and Steps. The following figure displays the AI suggestion for the Stages and Steps that are associated with the Underwriting Review Case Type:
The Stages represent the understanding that Pega GenAI has about major milestones as a Case progresses from creation to resolution. The Steps represent Pega GenAI’s interpretation of the events that the system or a Case participant must complete to move from one Stage to the next.
The Stages and Steps proposed by Pega GenAI are based on Pega application development best practices and capitalize on Pega Platform features for workflow automation, such as approvals and automated notifications.
At this point in the Case Type creation process, you can review and modify the AI recommendations for Stages and Steps to match the workflow defined by your project’s stakeholders.
Generating a Data Model
After confirming the Stages and Steps by clicking , Pega GenAI suggests a basic Data Model for the Case Type. The suggestions save developers the time and effort that they typically require to identify and manually enter the data elements associated with a Case Type.
Pega GenAI’s proposed Data Model includes the pieces of information, or fields, that Pega GenAI identifies as necessary to resolve a Case. In Pega Platform, each field is a named, reusable UI component. Each field in the proposed Data Model consists of a Name, Type, and ID. The Name of the field identifies the unique data element in the system, and the Type of the field identifies the type of information that is stored in the system for the field. The field ID is Pega Platform’s technical reference for the field.
As seen in the following figure, the Data Model associated with the Underwriting Review Case Type includes field names such as Policy Number, Insured Name, Date of Birth, and Gender. The field types include Text, Date only, Picklist, Boolean, Currency, and Integer:
By clicking Generate with AI at the bottom of the field list, Pega GenAI creates a more elaborate Data Model.
As with generating the Stages and Steps of a Case Type with Pega GenAI, you can edit the Name or Type associated with each field proposed for the Data Model. If necessary, you can add more fields to create a data structure that aligns with the workflow defined by your project’s stakeholders.
Creating the Case Type
After you are satisfied with the information associated with the proposed Case Type name, Stages and Steps, and the Data Model, you click to create the Underwriting Review Case Type in the Life Insurance application. The AI-proposed Case Life Cycle for the Underwriting Review Case Type is displayed on the Workflow tab, as shown in the following figure:
The fields associated with Data Model created by Pega GenAI is displayed on the Data Model tab, as shown in the following figure:
Generating a Case Type using Pega GenAI
The following video shows you how to create a Case Type with Pega GenAI in Pega Platform:
This Topic is available in the following Module:
Want to help us improve this content?