Skip to main content

Generating a Case Type using Pega GenAI

3 Tasks

5 mins

Pega Platform '23
Visible to: All users
Beginner Pega Platform '23 English

Scenario

U+ Bank wants to allow customers to manage their checking accounts, savings accounts, and credit cards with a Pega Platform™ application, U+ Personal Banking Account Management. You, an application developer, have been tasked with building a Case Type for the application with a Case Life Cycle, basic Data Model, and relevant Personas by using Pega GenAI™.

Your assignment consists of the following tasks:

Task 1: Create the Case Type, Case Life Cycle, and Data Model

Create a new Case Type for the application with a Case Life Cycle and basic Data Model by using Pega GenAI.

Note: Pega GenAI can provide different suggestions each time based on the inputs and context.

Task 2: Add Data Records to a data object

Add sample Data Records to the Account data object by using Pega GenAI.

Task 3: Create a new Persona

Create a new Persona for account holders by using Pega GenAI.

The following table provides the credentials you need to complete the challenge:

Role User name Password
Application Developer author@uplusbank rules

You must initiate your own Pega instance to complete this Challenge.

Initialization may take up to 5 minutes so please be patient.

Challenge Walkthrough

Detailed Tasks

1 Generate the Case Type, Case Life Cycle, and Data Model

  1. Log in as an Application Developer:
    1. In the User name field, enter author@uplusbank.
    2. In the Password field, enter rules.
  2. In the navigation pane of App Studio, click Case Types to generate a new Case Type.
    Open case types
  3. Click Add Case Type to create a new Case Type.
    Add case type
  4. In Create Case Type dialog box, use the AI suggestions to select the Case Type name.
    You can also enter a custom Case Type name in the Name field.

    Note: Pega GenAI can provide different suggestions each time based on the inputs and context.
  5. In Build Life Cycle and Data Model? section, select Use AI to suggest a life cycle and data model.
    Create case type dialog box
  6. Click Next.
    Note: In the current environment, this process can take a few minutes until the system connects to the Pega GenAI provider.
  7. In Add stages and steps – Personal Investment Account dialog box, review the Stages and Steps generated by AI.
     
    AI generated Stages and Steps
    Note: 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 stakeholders.
  8. Click Next.
  9. In the Review AI suggested fields for Personal Investment Account dialog box, review the fields generated by AI.
  10. Click Generate with AI to create a more elaborate Data Model.
    Generate elaborate fields with AI
    Note: In the current environment, this can take a few minutes. Wait until you see the generated fields.
  11. Click Submit.
    Note: In the current environment, this can take several minutes. Wait until you see the generated Case Life Cycle.
  12. Review the built Case workflow and Data Model.
    Case type generated by AI
  13. Click Save.

2 Add Data Records to a data object

  1. In the navigation pane of App Studio, click Data to display a list of data objects in the application.
    Data in App Studio
  2. Click Account to open the data object.
    Available Data object list
  3. Click the Records tab.
    Open Data Object records
  4. Click Generate sample data with AI to generate sample records.
  5. In the Number of sample records field, enter the number of sample records that you want Pega GenAI to create.
    In this example, Pega GenAI will generate three sample Data Records.
    Number of sample records to generate with AI
  6. Click Submit to add sample Data Records.
    Note: In the current environment, this can take a few minutes. Wait until you see the generated Data Records.
  7. Review the Data Records.
    Sample data for the data object
  8. Click Save to commit the Data Records to the data object.

3 Create a new Persona

  1. In the navigation pane of App Studio, click Users > User management to view the list of Personas affiliated with the application.
    Access user management options in App Studio
  2. Click Add to create a new Persona.
    Add a user persona
  3. In New Persona dialog box, use the AI suggestions to select the Persona name.
    You can also enter a custom Persona name in the Name field.
  4. Select an avatar icon for this Persona.
    Create a new persona and select an avatar
  5. Click Submit.
  6. In the navigation pane of App Studio, click Case Types to add the created Persona to a Case Type.
  7. Click the Case Type you created in Task 1 to open it.
  8. In the Personas & Channels section, click PERSONA to add the created Persona.
    Add personas to the case type
  9. Select the Persona you created.
    The sample Expert Investor Persona
  10. Click Save to save the Case Type.

This Challenge is to practice what you learned in the following Module:


Available in the following mission:

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

Did you find this content helpful?

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