Question
Collab Consulting Services B.V.
NL
Last activity: 13 Jan 2022 5:16 EST
Is it ok to create same property in FW and Implementation layers?
Hello,
I have a requirement to enhance an existing property(Let's say 'PropertyABC') with existing 2 dropdown values set in the property as part of the master framework class to 3 dropdown values. Its being reused for 5 different child product classes. The 3 dropdown values for 'PropertyABC' should show up for only 1 out of the 5 products. Rest of the 4 products should see only the 2 values in dropdown.
A. Should I just create a new property with same name 'PropertyABC' in Product specific class(with 3 dropdown values) as there are down stream case management logic which refer the property due to pattern inheritance?
OR
B. Create a new Property with different name 'PropertyXYZ' with 3 dropdown values and update all the rule forms where previously 'PropertyABC' was referenced as part of downstream logic?
Question: Which is the best approach as per Pega Best Practices? Option A or B? Option A throws a warning in Designer studio stating it might degrade performance..
Thanks,
Priyan