Question
Pega Code Standard - Duplicate rules
Hi All,
Please clarify whether we can have same rules in the different class.
For Example:
Test-FW-XYZ-Work
- FlowActionA
- SectionA
Test-FW-XYZ-Work-Module1
- FlowActionA
- SectionA
Test-FW-XYZ-Work-Module2
- FlowActionA
- SectionA
Can we consider the highlighted rules in XXX-Module1 and XXX-Module2 as a duplicate rules, as rules are available in the XX-Work layer.
Inheritance and re-usability concepts are ignore & bypassed?
or
This is encouraged in pega whenever the concept of dynamic polymorphism is required instead of creating a new rule with other name and changing all the associated references
Any suggestions in this context?
Thanks in advance.
Regards
SVAQuest
***Edited by Moderator Marissa to update Product***