Creating a field group
Archived
3 Tasks
15 mins
Scenario
The mayor of myTown asks you, the town projects manager, to enable residents that report problems online to enter contact information and list any previous issues at the same site. You must add the necessary field groups to the Service Request application.
The following table provides the credentials you need to complete the challenge.
Role | User name | Password |
---|---|---|
Application Developer | author@mytown | pega123! |
Challenge Walkthrough
Detailed Tasks
1 Create the Submitter information field group
- In the App Studio navigation pane, click Case types > Service Request to display the Service Request case life cycle.
- In the Service Request case type, click the Identify submitter step.
- On the right, click to configure the step.
- In the empty field, enter Submitter information to name the field.
- From the Type drop-down, select Field group.
- From the View drop-down, select Create default view.
- To the right of the View drop-down, click Open to create fields within the Submitter information field group.
- In the first field, enter Submitter First Name. The Type drop-down defaults to Text (single line).
- Create three additional fields by using the information in the following table.
Field Name
Field Type
Submitter Last Name
Text (single line)
Submitter Address
Text (paragraph)
Submitter Phone Number
Phone
Note: The address is captured in one Text (paragraph) field to keep this challenge brief. In a real application, an address is captured in separate fields, such as street, city, state/province, and ZIP/postal code to automate data analysis in the application. - Click to dismiss the view configuration window.
- Click to save your work.
2 Create the Previous issues at this location field group list
- In the Service Request case type, click the Identify location step.
- In the contextual property pane to the right, click to configure the step.
- Click + Add field to display a new field row.
- In the Field field, enter Previous issues at this location to name the field.
- From the Type drop-down, select Field group (list) to display a new field row.
- In the new field, enter Date to name the first field.
- From the Type drop-down, select Date only.
- Click + Add field to Previous issues at this location to display a new field row.
- Using the following image, add the remaining fields.
- Click to dismiss the view configuration window.
- Click to save your work.
3 Confirm your work
-
In the Service Request case type, click the Data Model tab to confirm that your fields are displayed correctly.
App Studio displays the top level of the Data Model. - Under Options, click Data object: Previous issues at this location to see the field group list details.
- In the upper left, click the left-pointing arrow, then Data Model, to return to the Data Model.
- Under Options, click Data object: Submitter information to see the field group details.
- In the upper left, click the left-pointing arrow to return to the Workflow tab.
- In the upper right, click .
- In the Create view, complete any required fields before advancing the case.
- Click to move the case past the Report problem step.
- In the Identify location step, add several issues to the Previous issues at this location fields.
- Click .
- In the Identify submitter step, enter sample submitter details.