Evaluation of batch calculation and validation rules creates errors to highlight data that violates attribute rules. Each error is stored as an error feature in the error layers. Error features can be reviewed through the Error Inspector during quality assurance workflows.
The Error Inspector shows the attributes of each error feature in the workspace to help identify data issues that the batch calculation or validation rules are configured to report. You can interact with the error feature or select the underlying feature or record that created the error. After reviewing an error and correcting the feature that created the error, you'll need to evaluate attribute rules to remove the error feature from the error layers.
Error Inspector table
The following describes the error feature attributes shown in the Error Inspector table.
|Error feature attribute
The shape of the error feature. The error feature inherits the shape of the feature that created the error.
The rule type of the error feature.
Specifies whether the error is an exception. If blank, the error is not an exception. See Mark or clear error exceptions.
The Source Layer column corresponds to the Feature Class ID column of the error layers.
The ObjectID of the feature that created the error.
The GlobalID of the feature that created the error.
The attribute rule error number.
The attribute rule error message.
The attribute rule name.
The attribute rule description.
The attribute rule severity, as specified in the rule properties.
View details about an error
Once you've evaluated datasets with attribute rules, use the Error Inspector table and the Details tab to view information about each error feature.
- On the Insert tab, in the Project group, click New Map .
- On the Map tab, in the Layer group, click Add Data. Browse to the data source and select the feature classes or tables to evaluate. Click OK.
- For data shared as a feature service with the Validation capability, the data source is under Portal .
- For data in a geodatabase, the data source is under Project or Computer.
- In the Contents pane, right-click the layer and click Add Error Layers .
The associated error layers are added as a single group layer, which will be used to review errors in the Error Inspector.
- On the Edit tab, in the Manage Edits group, click Error Inspector .
- On the Error Inspector toolbar, click the Source drop-down menu and choose the error layer.
The error features appear with their attributes in the grid.
- In the error table, select an error feature by clicking the leftmost column of the data grid. To browse to the error feature, right-click and select an option for the desired function:
- Zoom To
- Pan To
- Click the Details tab to review the individual details of each error feature.
Select features that created the error
Once you are able to view details about an error in the Error Inspector, you can select records in the map that created the error feature. This will allow you to review the feature or record that created the error, make edits, and resolve any issues the error identified.
- Select and highlight one or more errors in the Error Inspector table by clicking the leftmost column of the data grid.
- On the Error Inspector toolbar, click the Features button .
For nonspatial tables, open the attribute table to view the selected records.
Mark or clear error exceptions
Once you are able to view details about an error, you can mark errors as exceptions. Attribute rules represent an ideal situation, but geodatabases are flexible enough to handle exceptions to the rules found in real-world data. Violations of attribute rules are stored as error features, but where appropriate, you can mark them as exceptions through the Error Inspector. An exception can be cleared when the error is no longer an exception to the rule.
Errors marked as an exception are for the purpose of reviewing errors through the Error Inspector and may affect the Validation Status attribute of the feature that created the error. If a feature creates an error during evaluation, the feature's Validation Status attribute is marked as has error(s). If that error is marked as an exception, the feature's Validation Status attribute switches to no error. A feature can also be associated with multiple errors from different rules. If only one of the errors is marked as an exception, the feature's Validation Status attribute will continue to be marked as has error(s).
Features with errors marked as exceptions are still evaluated based on the Validation Status attribute.
- Select and highlight one or more errors in the error table of the Error Inspector by clicking the leftmost column of the data grid.
- Right-click and select one of the following:
- Mark As Exception —Updates the isException field of the error feature to True. The domain value for True is 1.
- Clear Exception —Updates the isException field of the error feature to False. The domain value of False is 0.