Skip to main content

Creating a data relationship

2 Tasks

15 mins

Visible to: All users Applies to: Pega Platform 8.7
Beginner
Data Integration
English

Scenario

The mayor of MyTown asks you, the town project manager, to enable residents who report problems online to enter contact information and list any previous issues at the same site. You need to add an embedded data field to the Service Request case type.

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

Role User name Password
Application Developer author@mytown pega123!

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 Create the Embedded data field named Submitter information

  1. In the navigation pane of App Studio, click Case types > Service Request to display the Service Request case life cycle.
  2. In the Service Request case type, click the Identify submitter step to open the Step properties pane on the right.
  3. In the Step properties pane, click Configure view to configure the view of the step.
  4. In the view configuration dialog box, on the Fields tab, click Add field to add a field to the Identify submitter view.
  5. In the field configuration window, in the Field name field, enter Submitter information to name the field.
  6. In the Type list, select Embedded data.
  7. In the Data object list, select the Person data object.
    Submitter information data object creation
  8. Click Submit to close the field configuration window.
  9. Click Submit to dismiss the view configuration dialog box.
  10. In the upper right, click Save to save your work.

2 Create the Embedded data list named Previous issues at this location

  1. In the Service Request case type, click the Identify location step.
  2. In the Step property pane to the right, click Configure view to configure the view of the step.
  3. In the view configuration dialog box, on the Fields tab, click Add field.
  4. In the field configuration window, in the Field name field, enter Previous issues at this location to name the field.
  5. In the Type list, select Embedded data.
  6. In the Data object list, select Define new data object.
  7. In the Data object name field, enter Issues to name the data object. 
  8. Click OK to close the dialog box.
  9. In the Options field, select List of records.
  10. Click Submit to close the field configuration window.
  11. In the Fields tab, click Add field to Previous issues at this location > Add new field to add a new field to the data relationship.
  12. In the field configuration window, in the Field name field, enter Date to name the first field.
  13. In the Type list, select Date only.
  14. Click Submit & add another.
  15. Create two additional fields by using the information in the following table.
    Field Name Field Type
    Issue Text (single line) 
    Is resolved Boolean
  16. Click Submit.
  17. To the right of the blank row, click the Delete icon to remove the row.

    Issue data relationship

  18. Click Submit to dismiss the view configuration dialog box.
  19. In the upper right, click Save to save your work.

This Challenge is to practice what you learned 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?

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