Show TOC

Procedure documentationCreating a Ruleset Locate this document in the navigation structure

 

You can create a ruleset to group a set of logically related rules.

Example Example

All rules related to discounts can be grouped under the “discountrules” ruleset.

End of the example.

Procedure

  1. In the Project Explorer view, expand the rules composer DC node and in the context menu of the Rules Modeling node, choose New Ruleset.

  2. In the dialog box that appears, enter the name of the ruleset in the field. Choose OK.

    Note Note

    A ruleset name should not

    • Match any of the ruleset name in a rules composer DC

    • Match the name of the rules composer DC

    • Contain non alphanumeric characters

    End of the note.
  3. In the Project Explorer view, the rulseset node appears under the Rules Modeling node.

    In the context menu of the ruleset node, there are options to create If-Then rules and decision tables. Additionally there are options such as :

    • Clone : This option allows you to create a copy of the ruleset

    • Export Report : This option allows you to publish a report on the contents of the ruleset in text format

    • Delete : This option allows you to permanently remove a ruleset from the rules composer DC

    • Validate : This option allows you to validate the contents of the ruleset

  4. Double-click the ruleset node to open the ruleset Editor.

    Note Note

    If you have more than one ruleset in the rules composer DC, double-click each ruleset to view the respective ruleset editor. You can only view only one ruleset editor at a time.

    End of the note.
The Ruleset Editor
  • The ruleset editor has tabs such as :

    • Overview : You can create, open and delete If-Then rules and decision tables in this tab page.

      In the Overview tab, under General Information, enter the description of the ruleset in the Documentation field.

    • Definitions : This tab is a link to the definition editor, where you can create and edit definitions

    • Aliases : This tab is a link to the aliases editor, which gives an overview of all the aliases available in a ruleset

    • Rules : This tab is a link to the rule editor, where you can edit rules

    • Decision Tables : This tab is a link to the decision table editor, where you can edit decision tables