You are viewing the documentation for Blueriq 16. Documentation for other versions is available in our documentation directory.

What is it for?

A rule group is used to apply a condition to an entire set of rules.

For the design guide on how to model logic see Decision Management guide.

What is it?

A rule group is a group of logic elements (external rule, data rule, business rule, decision table and or validation rule) with a precondition. At runtime the precondition determines whether the rules in the group apply or not.

What does it do?

A rule group makes it possible to determine when certain rules apply. When for example there is a new version of a product with new rules it is common for the new rules to apply only to new customers. Existing customers will retain the old rule set. By either creating an entity/attribute that determines which version number the customer has or using an expression to specify a subgroup of customers, a precondition can be constructed to determine which rule set applies. This can be very useful when there are conflicting rules. The precondition in the rule group can only refer to singletons or static instances.

Properties

Property

Description

PreconditionThis expression determines when to apply this rulegroup
Element typeSelect the type of rule you like to add. The choices are: External rule, Business rule, Decision table, Validation rule, Data rule
Element nameFrom the drop down list select the element(s) you want to add to the rule group.
  • No labels