Data Observability platform Help

Business Rules

Business Rules lets users define a list of Rules that can be used to provide context for groups of Test cases.

The Business Rules view can be accessed on the Catalog page under the Business Rules tab.

BusinessRules

The list shows Quality, Name, Hierarchy, Test cases, Description, Owners and Roles, plus a column for every business rule custom field. The visible columns and their order can be customized from the table settings in the table header.

Create a Business Rule

The "New rule" dialog is opened from the toolbar above the list. Business Rules have a name, description, owners and roles.

NewBusinessRule
  • Name - Business rule name. Its filter offers Exact: ticked, the name has to equal the typed text instead of containing it.

  • Description - Short description of business rule

  • Owners - Business rules owners. Can edit business rules

  • Roles - Role(s) of allowed edit users. Users with selected role(s) can edit business rules

  • Directory - Each business rule can be assigned into a custom directory to create a directory-based structure for business rule management

Assigning a test case to a Business Rule

A test case can be assigned to a Business Rule from the Test cases page.

NewBusinessRule

Searching for Business Rules

The search in the top of Business Rules finds Business Rules by the name or description.

BusinessRuleSearch

Directory

  • Each business rule can be assigned into a custom directory to create a directory-based structure for business rule management.

  • The directory dropdown in the toolbar filters the list to the selected directory ("All rules" shows everything); the folder button next to it opens the Rule directories modal, where directories and sub-directories can be created, edited and deleted.

Mass actions

Click the MassActionsEdit Edit button in the toolbar to enter edit mode, and Cancel to leave it. While edit mode is on, the search box and the New rule button are not shown; a search typed before stays applied.

BusinessRulesMassActions
  • A checkbox is shown only on the rules you can edit: as an administrator, as one of the rule's owners, or through one of its roles. Shift-click selects a range.

  • The header checkbox selects every editable rule that matches the current filters, not only the rows on screen; from 100 rules it asks to confirm first. Selected shows the count against the number of rules you can edit.

  • Once selected, the following actions are available:

    • Assign - opens Edit business rule(s), where a Field and its new Value are set on every selected rule. The value replaces the current one; nothing is added to it.

      • Owners - at least one owner is required. A list that leaves you out asks to confirm with Save without me: you can no longer edit those rules unless one of your roles is on them

      • Roles - the roles whose users can edit the rules; the list may be empty

      • Directory - Not set moves the rules to the root directory

      • Dynamic rule - Not set unlinks the dynamic rule and switches Auto-generate off as well. A dynamic rule whose SQL does not use <column> also switches Auto-generate off

      • Auto-generate tests - Enabled or Disabled. Enabling is refused while a selected rule has no dynamic rule, or one whose SQL does not use <column>

      • Linked terms - an empty list asks to confirm, then removes every term link from the selection

      • Custom field - pick a business rule custom field and its value

    • Duplicate - creates a copy of each selected rule, named <name> [Copy] ([Copy 2], [Copy 3] when that name is taken). The copy gets the description, directory, owners, roles, dynamic rule, Auto-generate, linked terms and custom field values. Linked test cases, reports and quality history stay with the original.

    • Delete - deletes the selected rules. Their test cases are kept, but no longer linked to the deleted rules.

BusinessRulesMassEdit

View Business Rule's detailed info

Clicking on a row in the Business Rules list will open its detailed view. The sidebar holds the editable properties:

  • Name

  • Description

  • Owners

  • Roles

  • Directory

  • Custom fields - list of custom fields enabled for the entity type Business rule

Below those sits a Test generation section:

  • Dynamic rule - the SQL-template dynamic rule used to generate this rule's test cases. The pencil edits it, the plus creates a new one

  • Linked terms - the glossary terms this rule applies to, with their count in the label

  • Auto-generate - while on, assigning one of the linked terms to a column creates that column's test case automatically

Whether a rule is column-based or object-based changes what can be generated, and the section says which one applies. A column-based rule (its SQL uses <column>) can produce one test per attribute of the linked terms. An object-based rule creates tests one at a time instead.

The main area shows the rule's quality score and the Test cases and Reports tabs. Both tabs need the View test cases privilege; without it the rule settings fill the view.

The Notifications segment in the header subscribes to change and failure alerts for the rule, see Entity alerting. With the View change history privilege, the History segment next to it shows who created and last modified the rule and opens the rule's audit history, where earlier versions can be compared and restored.

BusinessRuleDetailed

Generate a report

Reports are generated from the Reports tab of the detailed view. Generate report offers Excel report or HTML report, covering the test cases connected to the given Business Rule, and each one is kept in the tab's history with its Created at and Type. Generating is only offered once the rule has test cases, and a stored report is deleted from the same list, behind a confirmation.

Generating test cases

Test cases are created directly from the rule with the New test menu:

  • Empty test case - opens the test case editor on a blank test case with the rule already linked

  • Using dynamic rule - creates test cases from the linked dynamic rule against a chosen Connection and Test suite, with a Preview of the resulting SQL

  • Using term attributes - lists the attributes linked to the rule's terms that have no test case yet, by connection, schema.object and attribute. Pick the ones you want and press Create selected

Empty test case is always offered. The other two need a dynamic rule linked and saved first, and Using term attributes only appears for a column-based rule with linked terms.

Every option links the new test cases to the business rule.

Business Rule's test cases table

The Test cases tab lists the associated test cases with their Description, Result, Connection and Relation. When some of them are outside the user's access, the tab warns that not every test case is visible.

The whole row is clickable: clicking anywhere on it opens that test case's detailed view.

BusinessRuleTestCaseNavigate

You can jump to the specific object in the catalog by clicking on the icon that appears next to the test case's relation while hovering over the test case. When the test case targets specific columns, they are listed after the object name.

BusinessRuleRelationNavigate

Deleting a test case association

You can delete an association between a Business Rule and a test case by clicking on the icon in the end of a row in the test cases table. A confirmation asks before the relation is removed; the test case itself is not deleted.

30 October 2026