Configuring Rule resolution
2 Tasks
10 mins
Intermediate
Pega Platform '24.2
Enterprise Application Development
Dev/Designer Studio
English
Scenario
Human Resources (HR) business partners create benefits enrollment and employee evaluation Cases on behalf of TGB employees. To ensure that they create each Case for the appropriate employee, HR business partners want the employee information header area for each Case Type to match the header that is used for Onboarding Cases.
As part of this scenario, save a copy of the EmployeeInformation Section from the Onboarding Case Type to the class group (TGB-HRApps-Work) and add it to the HRApps:01-01-02 Ruleset.
Then, withdraw the EmployeeInformation Section from the Benefits Enrollment, Employee Evaluation, and Onboarding Case Types.
The following table provides the credentials that you need to complete the challenge.
Role | User name | Password |
---|---|---|
Senior System Architect | SSA@TGB | pega123! |
Note: Your practice environment might support the completion of multiple challenges. As a result, the configuration that is shown in the challenge walkthrough might not exactly match your environment.
Challenge Walkthrough
Detailed Tasks
1 Copy the EmployeeInformation Section record to the new context
- In the Pega instance for the challenge, enter the following credentials:
- In the User name field, enter SSA@TGB.
- In the Password field, enter pega123!.
- In the Onboarding Case Type, open the EmployeeInformation Section.
Tip: Section records are in the User Interface category. In the App Explorer, expand Onboarding > User Interface > Section.
- Save a copy of the EmployeeInformation Section in the TGB-HRApps-Work class and the HRApps:01-01-02 Ruleset.
Tip: Verify Add to Ruleset is set to HRApps. If not, select the HR Apps radio button on the left.
2 Withdraw the EmployeeInformation Section record in the Onboarding, Employee Evaluation, and Benefits Enrollment Case Types
- Save another copy of the EmployeeInformation Section record in the Onboarding Case, in the TGB-HRApps-Work-Onboarding class and the HRApps:01-01-02 Ruleset.
Note: Because HRApps:01-01-01 is a locked Ruleset, you need to save a copy of the EmployeeInformation Section in the Onboarding Case Type and the HRApps:01-01-02 Ruleset so that you can change the availability to Withdrawn.
- In the Rule header, click Available to edit the availability of the EmployeeInformation record.
- Set the availability of the record to Withdrawn.
Withdrawing the new version prevents Pega Platform™ from using the version of the Rule in the locked Ruleset, so Pega Platform uses the version in the TGB-HRApps-Work class instead. - Click OK to update the availability of the Section.
- Save and check in the Section Rule.
The EmployeeInformation Section record in TGB-HRApps-Work-Onboarding is now withdrawn. - In the Employee Evaluation Case Type, open the EmployeeInformation Section.
- Repeat steps 1-5 to save a copy of the EmployeeInformation Section to the TGB-HRApps-Work-EmployeeEvaluation class in the HRApps:01-01-02 Ruleset and set the availability to Withdrawn.
- In the Benefits Enrollment Case Type, open the EmployeeInformation Section.
- Repeat steps 1-5 to save a copy of the EmployeeInformation Section to the TGB-HRApps-Work-BenefitsEnrollment class in the HRApps:01-01-02 Ruleset and set the availability to Withdrawn.
Confirm your work
- Create a new Onboarding Case.
- Advance the Onboarding Case to the Identify Home Office View.
- Use Live UI to select the dynamic layout embedded in the EmployeeInformation Section.
- In the Live UI pane on the right, from the hierarchy, select the top-level EmployeeInformation Section.
- Click the Open icon to open the record.
- Confirm that the context of the EmployeeInformation Section record is in the TGB-HRApps-Work class and the HRApps:01-01-02 Ruleset.
- Click Actions > View Siblings to confirm that the EmployeeInformation Section records are saved in the context of Benefits Enrollment, Employee Evaluation, and Onboarding Case Types, and then confirm that those Case Types are designated as not found in the 01-01-02 Ruleset version.
This Challenge is to practice what you learned in the following Module:
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?