Skip to main content


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

Associating rules with features

Updated on November 15, 2021

Document which rules implement a feature to improve the traceability and extensibility of your application. When you associate a feature with a rule, you can conveniently check which elements exactly build your application so that you can make informed decisions when you decide to reuse a feature in another application.

For example, you can associate a feature that represents your business process template for reviewing loan requests with rules that define a case type, a service-level agreement, and an email message. As a result, you get a holistic view of the elements that build your feature.
  1. In the header of Dev Studio, click the name of the application, and then click Overview.
  2. In the Features section, click the name of a feature.
  3. On the Associated rules tab, click Add rule.
  4. In the Type field, press the Down arrow key, and then select a rule type to narrow the list of rules that you can select.
    For example: Select Case Type.
  5. In the Name field, press the Down arrow key, and then select the rule that you want to associate with the feature.
    For example: Select Review loan request.
    Tip: To narrow the list of results and help you decide which rule to choose when more than one rule has the same name, you can enter a class name in the Applies to field. Otherwise, the system autpopulates the Applies to field.
Result: Your application manages the links among features and rules as the development process advances. When you create a rule by copying or specializing another rule, your application copies the links from the original rule to features of the new rule. For example, when you associate a Language pack feature with a Loan request case type rule, and then copy the Loan request case type rule, your application automatically copies the link between the Language pack feature and the new case type rule. When you delete, withdraw, or block a rule, your application removes the links from features.

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