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:
- A suitable message is displayed.
- The network (if it is not already open) is displayed on the GeoPlan, with the objects which failed the validation highlighted on it.
- The results of the validation are displayed in the Output Window.
- The network data is not committed to the database.
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.