You are viewing the documentation for Blueriq 13. 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 rule elements (external, business, 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.

How to – create a rule group

  1. Select the Home tab
  2. From the Logic group select the Rule group icon
  3. Fill in the required fields
  4. Create the precondition you want to apply to the rule group
  5. Select the type of rule you want to add to the rule group from the drop down list
  6. Click on the new item icon
  7. Select the Rule elements you want to add to the rule group
  8. Click Save or Save & close

Properties

Property
Description
NameIt identifies the object. Maximum 100 characters (only letters, numbers and underscores (_)) are allowed.
Functional NameOptional, can be used in documentation
DescriptionOptional
PreconditionThis expression determines when to apply this rulegroup
Drop down list rule typeSelect the type of rule you like to add. The choices are: External rule, Business rule, Decision table, Validation rule
Drop down list elementsFrom the drop down list select the element(s) you want to add to the rule group.
  • No labels

2 Comments

  1. Unknown User (bcc)

    Does a rule group precondition work within the context of the user session? For example if there is an iteration over multiple customers (multiton entity), can the rule group precondition simply be Customer.Type = 'NewCustomer' or should the precondition start from a singleton entity?

    1. I added some text to reflect that the precondition of the rule group can only refer to singletons or static instances.