Designing Views with Constellation
3 Tasks
30 mins
Scenario
wants to replace its legacy complaint management solution. SL has engaged Pega to develop an application called , which can allow Sweet Life to learn more about how its customers perceive their products and services.
The application will be built over an Enterprise Layer that has already been configured for Sweet Life. The Tell Us More application currently consists of three Case Types:
- : Allows users and Case workers to track customer issues and initiates Sweet Life's response to their customers. Incident is the primary Case Type associated with the application.
- : Supports payment processing when the resolution of an Incident Case involves a refund or compensation.
- : Supports package shipment when the resolution of an Incident involves the replacement of a faulty or broken product or the delivery of a gift.
Sweet Life decides to build its Tell Us More application by using the Pega Constellation architecture. You are a member of the team of System Architects who work to configure the UI of the application with Constellation and add missing pieces to the Data Model and application logic as needed to produce an MLP1 solution.
At this point in the application development process, the team focuses on the Incident Case Type. As a System Architect on the Sweet Life application project, your challenge is to configure the Determine Category View that is associated with the Determine Incident Type Step of the Create Stage.
The following table provides the credentials you need to complete the challenge:
| Role | User name | Password |
|---|---|---|
| System Architect | Author@SL | pega123! |
Detailed Tasks
1 Add fields to the Incident Case Type Data Model
- Open the Dictionary data object and click the Records tab. Note the relationship between Incident Type and Incident SubType records. Subtypes reference a parent type via Parent Key.
- Click Case Types > Incident.
- Click the Data Model tab and then click Add Field.
- Click Add field to add a new field to the Data Model:
- In the Field name field, enter Incident Type.
- In the Field Type list, select Picklist.
- In the Display as list, select Drop-down list.
- In the Picklist options list, select Data Page.
- In the list that is displayed, select Dictionary > List Dictionary Filtered to configure the Data Page source.
- In the Data view parameters section, in the Type list, select Constant.
- To the right of the Constant value, enter IncidentType.
- Leave the value for the ParentKey constant empty.
- In the Identifier field and Display field lists, select Key.
- Click Submit & add another.
- Configure another field for the Data Model:
- In the Field name field, enter Incident SubType.
- Repeat steps 4b to 4f.
- In the Data view parameters section, to the right of the Constant value, enter IncidentSubType.
- In the ParentKey list, select Field, and then enter or select Incident Type as the value.
- In the Identifier field and Display field lists, select Key.
- Click Submit.
- Click Save.
2 Configure the Determine Category View
- In the Incident Case Type, click the UX tab.
- In the pane on the right, click the Other Views tab.
- In the Form section, click Determine Category to open Edit View: Determine Category.
- In the Fields section, click Add, then click Fields.
- In the list of available fields, select the Incident Type and Incident SubType checkboxes, and then click Add.
- Click the handle for the Incident Type field, and then drag it above the Incident SubType field.
- To the right of the Incident Type field, click the Gear icon to open the Configure field: Incident Type window:
- Confirm that the configuration of the Display as field is Dropdown (default).
- In the Conditions section, in the Required field, select Always.
- Click Save.
- To the right of the Incident SubType field, click the Gear icon to open the Configure field: Incident SubType window:
- Confirm that the configuration Display as field is Dropdown(default).
- In the Conditions section, in the Required field, select Always.
- In the Visibility section, select Custom Condition.
- To the right of Custom Condition, click the Gear icon.
- Create a Condition where Incident Type is not null, and then click Submit.
- Click Save.
3 Configure user instructions and helper text
- In the Edit View: Determine Category window, in the Instructions list, select Override case step instructions.
- In the Instruction text field, click the Value type icon, select Static (Text), and then enter Please select type and subtype of your incident.
- To the right of the Incident Type field, click the Gear icon to configure the text for the field:
- In the Helper text field, enter Select category of your incident. Is it related to a purchased product or requested service?
- Click Save.
- To the right of the Incident SubType field, click the Gear icon to configure the text for the field:
- In the Helper text field enter Choosing the proper subtype allows for faster incident resolution.
- Click Save.
- Click Save to save your work.
Available in the following mission:
Want to help us improve this content?