Business Rules:
General Configurations

General configurations are used to characterize a rule, including it’s name, description, group, and more. They are also used to set a rule’s precedence, or priority over other rules.

Descriptions

Rule group

Rule groups are used for logically grouping rules for interpretation and debugging purposes. The rule group is specified in the debug response. It does not affect which rules fire.

Tags

Tags are versatile way of keeping your rules organized. By using tags, you can:

  • Quickly sort rules - Tags appear in the facet options of the Business Rules editor for fast sorting. Click a tag facet to see all rules associated with the tags.

  • Easily define triggers - Triggers are associated with tags to determine the conditions under which the rules fire. This reduces the number of triggers needed and speeds up the development process.

  • Separate rules by development stage - You can add the tags development, testing, and production to distinguish between rules in various stages of development.

  • Define different search experiences - In some cases, you may want to define a different experience for users who browse and users who search. Keep track of these experiences by tagging the rules accordingly.

Tags are also included in the response results:

{
  "response" : {
    "numFound" : 213,
    "start" : 0,
    "maxScore" : 0.0,
    "docs" : [ ... ]
  },
  "facet_counts" : {
    "facet_fields" : {
      "tags" : {
        "development" : 1,
        "testing" : 3,
        "production" : 2,
      }
    },
    "facet_ranges" : { }
  }
}