Skip to main content

Challenge

Creating a data object

3 Tasks

10 mins

Visible to all users
Beginner Pega Platform Data Integration English

Scenario

When submitting a service request through the MyTown311 application, residents first enter information about the issue into the Description field. The mayor and the services coordinator want residents to provide more detailed information about requested repairs. Create a data type for the request type with fields for Type and Description.

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

Role User name Password
Application Developer author@mytown pega123!
Note: Pega now refers to data types as data objects in App Studio.  The challenge walkthrough video shows data types; however, the configuration steps remain the same.

Challenge Walkthrough

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

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

Detailed Tasks

1 Create a Request type data object

  1. In the App Studio navigation pane, click Data > Data objects and integrations to display a list of existing data objects in the application.
  2. To the right, click New to create a new data object.
    new data object
  3. In the Data object name field, enter Request type.
  4. Click Submit to create and display the new Request type data object.
    Create new data object
  5. On the Data model tab, click + Add field to create a new field for the Request type data object that is displayed under Globally unique ID.
  6. In the Name field, enter Type to name the field.
  7. To the right of the Name field, verify that the Type drop-down defaults to Text (single line).
  8. Click + Add field to create a new field.
  9. In the Name field, enter Description to name the field.
  10. From the Type drop-down, select Text (paragraph).
  11. In the upper right, click Save to commit the fields to the data type.
    Request data object fields

2 Add the Request type data object to the Report problem step

  1. In the App Studio navigation pane, click Case types > Service Request to display the Service Request case life cycle.
  2. Click the Report problem step.
  3. From the configuration pane on the right, click Configure view to display the Report problem view window.
  4. To the right of the Description field, click the Trash can icon.
    delete description field
  5. Click + Add field to add an empty field row.
  6. In the empty field, enter Request.
  7. From the Type drop-down, select Field group to display a drop-down list to the right of the Options field.
  8. From the new drop-down list, select Request type to reference the Request type data object.
  9. In the lower right, click Submit to dismiss the Report problem view window.
    request field group
  10. In the upper-right corner of the Service Request case type, click Save to complete the configurations in the case type.

3 Confirm your work

  1. In the upper-right corner of the Service Request case type, click Save and run to run a new Service Request case.
  2. In the Create view, complete any required fields before advancing the case.
  3. In the Report problem step, verify the Type and Description fields are displayed.
    report problem request type description fields


Available in the following missions:

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

Did you find this content helpful?

33% 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