Posted: 31 Aug 2019 5:29 EDT Last activity: 31 Aug 2019 16:05 EDT
Class of rules packaged in a component
I create a Component to send an email, which can be re-used across multiple divisions of the same company XYZ . What should be the class of the rules which are being packaged as part of the Component Rule ? I went through the Email Component found in the LSA Course, and it seems that the rules in EmailEditor_20170814T145312970 ruleset have been saved in default PEGA Classes like Work-,@baseclass and Data-Corr-Email.
Is this a recommendation of the way things should be done for component-level rules?
If you want to develop a pyMode=Component component, meaning it does not include any case types or workpool, and the code is completely generic to ANY application, then you can use Applies-To classes such as Work-, Data-, and @baseclass.
If a component is a unique combination of Work-, Data-, and @baseclass rules, there is no need to define a more specific Applies-To class.