LinkedIn
Copied!

Table of Contents

Associating rules with features

Version:

Only available versions of this content are shown in the dropdown

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.

    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.

    Select Review loan request.
    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.
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 Collaboration Center to ask questions, engage in discussions, share ideas, and help others.