Documentation
Getting Started
Data Grid
Modeling
Approvals
Users, Roles & Security
Administration
Integration & API
Installation
Migrating from MDS
Architecture
Documentation/Business Rules/Validating Entities

Validating Entities

Rules run on every write. Validate Now runs them over rows that are already saved, so you can see the state of the whole entity without touching it.

Validate Now

Open the entity in the data grid and click Validate Now in the header. Primentra runs every active rule against every row and stores the result.

While a large entity is running, the button reports progress — *Validating… 240,000 / 1,000,000*. The number reported at the end is rows that failed, which is lower than the number of violations whenever a row breaks more than one rule.

The header then shows how long ago the last run was: *Just validated*, *Validated 6 minutes ago*.

How a failure appears

The data grid filtered to failing rows, with red and amber row markers and tinted cells
The data grid filtered to failing rows, with red and amber row markers and tinted cells(click to enlarge)
  • A red marker on the left border marks a row with an error violation. An amber marker marks a warning. A row with no violations has no marker.
  • The cell the rule was about is tinted and outlined too — red for an error, amber for a warning — so you can see which column to fix without opening the row.
  • A row breaking an error rule on one column and a warning rule on another shows both cell colors. Its left marker keeps the higher of the two.
  • A rule that spans several columns at once, such as a combination unique, tints none of them. No single column is at fault.

A pending edit or an empty required field takes the cell color instead. An unsaved problem blocks the save right now; a stored violation is a state of the data.

Violation details

Next to the marker is a colored dot. Click it to open a popover listing every rule the row breaks, with the severity badge and the message each one would show on save. Click anywhere else to close it.

The row filter

Next to Validate Now is a row filter. It has five settings:

SettingShows
All rowsEvery row. This is the default.
Failing rowsRows that break at least one rule, error or warning.
Errors onlyRows that break at least one error rule.
Warnings onlyRows that break a warning rule and no error rule.
Passing rowsRows that break no rule at all.

A row that breaks an error rule and a warning rule counts as an error row. It appears under Errors only and not under Warnings only — the same rule the red row marker follows. Errors only, Warnings only and Passing rows therefore split the entity into three groups that do not overlap.

The filter turns the icon and the label red for errors, amber for warnings and green for passing rows, matching the row markers.

Combine it with the column filters to narrow further: for example, error rows where Status equals *Active*. Changing the filter returns you to page 1.

Working through a list

  1. Set the filter to Errors only.
  2. Fix the tinted cells.
  3. Save.
  4. Click Validate Now again to refresh the markers.

Saving a row re-runs the rules against it, so a corrected row loses its marker without a full validation pass. Run Validate Now when you want the counts for the whole entity to be current.

Ready to get started?

Start managing your master data with Primentra today.

View Pricing
Validating Entities | Business Rules | Docs | Primentra