Batch jobs and the product library

Reviewer batch jobs are created with Data Reviewer and can be linked to the data currently loaded in your map with the Associate Batch Job tool. You can associate several batch jobs with the product library and associate them with any of the following categories:

All these batch jobs contain checks that relate to conditions that are specific to a certain data model or product specification. For instance, the product specification could indicate that all building area features should be no smaller than 100 square meters or that the NAM attribute cannot contain a null value. Each of these conditions can be specified as a check in a spatial or attribute batch job.

Attribute batch jobs

The Attribute batch job contains Reviewer checks that search for specific attribute combinations or values in the data. For instance, the Domain check searches the selected features for values that do not comply with rules specified in the schema for domains. This could include domains that have null values or values that fall outside the specified range.

Typically, the following checks can be included in an Attribute batch job:

The checks included in this batch job can be run through the Update tab on the Manage Features window.

When the checks in this batch job are run after you change attributes on a feature, the Validation Results window appears and displays the check name as well as a description with the validation errors for the feature. If they are run on the current selection, the Browse Features window automatically opens so you can browse the results of the checks.

Error Severity

When a check is configured in a batch job, you have the ability to specify a severity value for that check to indicate how critical the issue is. When an error is found using the Feature Manager, any attribute changes to a feature will not be committed until the error is fixed. Feature Manager also provides the concept of warnings, which return a message to the user but do not prevent the changes from being committed. Whether a check is considered an error or a warning is determined by the severity specified in the check and the Error Severity value chosen when the batch job is associated with the product library. When associating a batch job with the product library, you have the option to specify what severity values will be returned as an error.

For example, you have two checks for your data. The first check has a severity of 2, and the second check has a severity of 5. If you choose the 1–3 option for the Error Severity value in the Class Properties, features that fail the first check will be returned as an error, and features that fail the second check will be returned as a warning.

Tips for including checks in an Attribute batch job

  • The checks in the Attribute batch jobs cannot have the Always Run on Full Database check box checked.
  • It is not recommended that checks where you cannot specify a feature class as part of the Reviewer workspace be included in the Attribute batch job. Examples include the Connectivity Rules and Unique ID checks.

Spatial batch jobs

The Spatial batch job contains checks that validate spatial components of features as well as attributes. For instance, the Geometry on Geometry check can be used to check for building point features that have accidentally been digitized on lakes, or the Domain check can be used to ensure that there are no null values in fields that use domains.

The checks included in this batch job are run using the Validate Current Selection or Validate Current Extent tool.

When these checks are run on the selected features, the results appear in the Browse Features window.

Tips for including checks in a Spatial batch job

  • The checks in the Spatial batch jobs cannot have the Always Run on Full Database check box checked.
  • It is not recommended that checks where you cannot specify a feature class as part of the Reviewer workspace be included in the Attribute batch job. Examples include the Connectivity Rules and Unique ID checks.

Reviewer batch jobs

The Reviewer batch job contains any checks that can be run in a Reviewer session. This includes checks that cannot be included in the Attribute and Spatial batch jobs, such as the Metadata and Table to Table Attribute checks. For example, if you have a table with valid values for an attribute, you can compare the table against corresponding attribute values.

The checks in this batch job can be executed using the Reviewer Batch Validate tool, the Data Reviewer service, the ReviewerConsole.exe tool, or the Execute Reviewer Batch Job geoprocessing script.

Learn more about the Reviewer Batch Validate tool

Learn more about the Data Reviewer service

Learn more about the ReviewerConsole

Learn more about the Execute Reviewer Batch Job script

When the batch job in this category is run, the check results are written directly to the Reviewer table.

Batch jobs and the product library

To associate batch jobs with the current map data, a product library and production database must be specified. If you are not using a product library, you can upgrade a database to a product library and use the current data workspace as the production database. Once those two workspaces have been specified, a new data model is created based on all the feature classes in your production database.

However, if you are using an existing product library that contains data models, you can also choose to use an existing data model or create a new version of one.

When you associate the batch jobs with the new data model, you are checking them into the product library. They are automatically associated with the product class created based on the current map data.

Learn more about associating batch jobs with product classes

Related Topics


7/31/2012