Pre-commit Validations

InfoAsset Manager can be set up to allow validation to occur automatically as part of a commit operation, with the same validation rules being applied to all applicable users across the same type of network. If a pre-commit validation has been defined, then changes to that network will be checked against the validation rules when a user commits a relevant network. However, if no pre-commit validation has been set up, then the network is committed to the database as normal without any validation checks during the commit operation (the network can, of course, still be checked before it is committed using the Validate network option).

When a network, which has a pre-commit validation defined for it, is committed, a validation progress bar is displayed in the status bar at the bottom of the main window. If the validation is successful then the commit operation proceeds as normal. However, if the validation fails, then:

The Pre-commit Validations Dialog is used to define the validations that are to be applied during a commit operation. In the dialog, you simply specify what type of network (asset, collection or distribution) the validation is for and which validation object is to be used for checking network data during a commit operation.

By managing user permissions, you can ensure, for example, that only database owners can define a pre-commit validation. You can also manage who has permission to change a validation object at the group level.

Pre-commit Validations Dialog

Validation Objects

Output Window

Committing Your Changes

Validating Networks

Distribution Network

Asset Network

Collection Network

User Permissions

Group Permissions