Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

This content has been archived and is no longer being updated.

Links may not function; however, this content may be relevant to outdated versions of the product.

Rule reuse and rule specialization

Updated on March 28, 2008

 This presentation is part of the Reusability and Specialization e-Learning Course.

Transcript

While related, reusability and specialization are separate and important characteristics of a good PRPC application.  Reusability is the ability for PRPC to share the same instance of a rule, RuleSet, and/or service so that it can be reused by other portions of the same application and/or other applications.

Some examples of reuse that we see in PRPC are:

  • The Add activity defined at Work- that can be can be reused by many applications as-is without customization 
  • Utility functions that are defined in a shared RuleSet so that they can be reused by multiple applications
  • Activities and flows that are defined at a generic application layer of a class hierarchy so that they can be used without customization by implementation of that application

Specialization, on the other hand, is the ability for PRPC to differentiate a component and/or some portion of that component based on some characteristic for use within or across applications. These components could be a single rule or many different rules based on specific criteria. 

Some common specialization characteristics are:

  • Locale – Rules that will differ by state and/or country
  • Business line – Rules that differ by business line, such as personal and commercial lines
  • Product lines – Rules that differ by product, such as mortgage products that offer fixed versus adjustable-rate mortgages
  • Client – Rules that differ by client, such as MyCo and YourCo. This is common in ASP models where different clients will have different rules
  • Date – Rules that differ depending on the current date or the submission date of a loan or policy

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us