Question
Configure the report definition with a parameterized filter - Error
I am registered for Pega Senior System Architect course and in the section Parametrizing rules for reuse in the exercise Guide Pg 29 it says
On the Parameters tab, add a parameter using the information provided in the following table
Name Description Data Type Default value
Type Healthcare Benefit Option String
In the VM that I have I do not have the STRING Datatype. Not sure I this an error. So I chose Text.
Next I go to the D_HRPlanList data page and follow the instructions as detailed on Pg 30. On step No. 4 (pg 31) the screen shot in the guide shows the VALUE drop down as Parameters but in my VM instance I see only properties in the PegaHR-FW-HRFW-Data-HRPlans class. (screen Shot attached)
I tried using Param.Type but the rule will not save. Hence I am unable to parameterize the rule. Can some one help?
Chakri
In order to get this exercise to work you will need to create the Type parameter (whether is of type Text or String, depends on the rule type) in each of the following rules:
According to your post your have not created the Type parameter in the D_HRPlanList otherwise you would be able to reference it.
Ultimately when you call the HealthcareBenefit section from the three sections (SelectMedicalCoverage_0, SelectDentalCoverage_0, and SelectVisionCoverage_0) you will pass in the appropriate value (Medical, Dental, and Vision).
Please let me know if this resolves your issue,
Sean
Pega Academy Self Study Support Team