Designing complex Views with Constellation
4 Tasks
45 mins
Intermediate
User Experience
Constellation
English
Scenario
Your work on the Tell Us More application continues. In this challenge, you use Constellation to build Views associated with the and Steps. You will configure several Partial Views, Conditional Visibility, and custom routing.
The following table provides the credentials you need to complete the challenge:
| Role | User name | Password |
|---|---|---|
| System Architect | Author@SL | pega123! |
Note: Your practice environment may support the completion of multiple challenges. As a result, the configuration shown in the challenge walkthrough may not match your environment exactly.
Note: This challenge does not have a demo video. Please refer to the Detailed Tasks for step-by-step instructions to complete the challenge.
Detailed Tasks
1 Configure Field Groups in the Eligibility check View
- In the Pega instance for the challenge, enter the following credentials:
- In the User name field, enter Author@SL.
- In the Password field, enter pega123!
- In the navigation pane of App Studio, click Case Types > Incident to open the Case Type.
- Click the UX tab.
- Click the Other Views tab, and then open the Eligibility check View.
- In the Review Field Group, click Add to add the Review Inner View.
- In the Review Inner View row, click the Gear icon to configure the View, clear the Show heading checkbox, and then click Save.
- In the Eligibility decision Field Group, click Add to add the Eligibility Type field.
- In the Eligibility Type field row, click the Gear icon to configure the field:
- In the Display as list, select Radio buttons.
- In the Label field, select Custom.
- In the , enter Eligibility.
- Select the Horizontal display checkbox.
- In the Helper text field, enter Identify if the incident is eligible for further processing.
- Click Save.
- In the Dispatching Field Group, click Add, and then add the Dispatch Incident View.
- In the Dispatch Incident View row, click the Gear icon, and then clear the Show heading checkbox.
- Click Save.
2 Add Partial Views in the Eligibility decision Field Group
- In the Edit View: Eligibility check window, navigate to Eligibility decision Field Group and click Add.
- Add the Eligibility Info Accept and Eligibility Info Reject Partial Views.
- Click Eligibility Info Accept to open the Partial View.
- Add the Eligibility Info Accept field.
- In the Eligibility Info Accept field row, click the Gear icon to configure the field:
- In the Label field, select Custom.
- In the Custom label, enter Next action.
- Click Save.
- Return to the Edit View: Eligibility check window.
- Repeat steps 3-6 for the Eligibility Info Reject Partial View by adding the Eligibility Info Reject field and configuring the field as detailed.
- In the Eligibility Info Accept partial View row, click the Gear icon and then configure the View as follows:
- Clear the Show heading checkbox.
- In the Visibility list, select Custom Condition.
- Configure the following custom Condition: Eligibility Type is equal to Eligible.
- Click Submit, and then click Save.
- In the Eligibility Info Reject View row, click the Gear icon, and then configure the View:
- Clear the Show heading checkbox.
- In the Visibility list, select Custom Condition.
- Configure the following custom Condition: Eligibility Type is in list Scam, Spam, Not eligible, Missing details.
- Click Submit, and then click Save.
3 Update the display headers for Eligibility Info Partial Views
- Switch to .
- In the App Explorer, in the SL-TellUsMore-Work-Incident class, open the pyDefault Data Transform.
- In the pyDefault Data Transform, configure the following rows:
- Create a set action with a .EligibilityInfoAccept target with a source equal to "Incident will be approved for further processing".
- Create a set action with a .EligibilityInfoReject target with a source equal to "Incident will be rejected".
- Click Save.
4 Modify the Handle ticket View and routing
- Switch to App Studio.
- In the Incident Case Type, go to UX tab.
- On the Other Views tab, in the Form section, open the Handle ticket View.
- Confirm two Field Groups Incident Info and are present in the View.
- Switch to Dev Studio, and then open the Incident Case Type.
- Click on the Handle Ticket Step to open the contextual properties pane.
- In the properties pane, in the General tab, set up the following routing configuration:
- In the Route to list, select Custom.
- In the Assignment type list, select Work Queue.
- In the Router field, enter or select ToRouteToOverwrite.
Note: At this time, it is not possible to set up custom routing in App Studio. Making this change in Dev Studio prevents you from making further changes to the assignment routing in App Studio.
- Click Save.
- Switch to App Studio.
- Open the Case Type, and then click Actions > Refresh.
- Save your work.
Available in the following mission:
If you are having problems with your training, please review the Pega Academy Support FAQs.
Want to help us improve this content?