An exclusive choice gateway has at least two named branches, one of these being a default. Each named branch has a condition associated with it. A rule script is a sequence of actions.
A rule override helps resolve conflicts between two satisfied If-Then rules by suppressing execution of lower priority rule. Date effectivity can be used to specify the time period during which a rule is effective, and can thereby be executed. The rules composer provides the capability for rules, decision tables to use restricted value from a list of drop-down choices in conditions and action. These restricted drop-down choices are enumeration types, or groups of values of a standard primitive type.
The Rules Composer provides the capability to export a decision table to a spreadsheet. Users are able to seamlessly edit and analyze data using the capabilities of Microsoft Excel. It is possible to import these changes back into the decision table without any loss of data.
The Rules Composer provides a capability to generate a printable report for ruleset and decision tables. The reports include information about all entities within a ruleset.
The Rules Composer also allows you to compare different versions of rulesets in the Design Time Repository (DTR) in a text format. DIFF captures three types of edit operations between two different versions of ruleset, name addition, modification, and deletion.
Rules Composer provides a simple menu driven facility to provision a Web service for a ruleset written on XML schema. When the rules are deployed on a server, the Web server also gets deployed. It can be verified using the SAP NetWeaver Administrator.
The figure illustrates the steps for a web service generation of a ruleset.
Rule override and date effectivity are managed as follows:
- Rule override — Resolves conflicts between two satisfied If-Then rules by allowing the rule with the highest priority to start.
- Date effectivity — Used to specify the time period during which a rule is effective and can be executed.
The Rules Composer provides the capability for rules and decision tables to use restricted condition and action values. Restricted values are available from a drop-down menus. These restricted drop-down menu choices are enumeration types, or groups of standard, primitive type values.