Perform validation in InfoAsset Manager

Perform a network validation and review the results.


Perform validation in InfoAsset Manager

Step-by-step guide

Validation options can be used to examine a network for missing values, errors, and inconsistencies. Validation can be carried out at any time on the whole network, on a zone, or only on currently selected network objects. It is also possible to have the network validated automatically when committing changes to the database, if pre-commit validations have been defined.

To validate the network, first, a validation data object containing a set of validation rules must be created.

  1. From the Explorer window, right-click an Asset Group and select New > Collection Validation.
    In the InfoAsset Manager interface, the context menu for an Asset Group expanded in the Explorer window, with New selected and Collection Validation selected in the flyout.
  2. In the New Name popup, add a Name, such as “Collection validation”.
  3. Click OK.
    In the New Name popup, a name entered and OK being selected.
  4. Double-click the new object.
    In the Explorer window, the new Collection validation object selected and called out with a red arrow.

This opens the Validation Editor, which is used to view and edit the parameters for a Validation object, such as switching rules on or off, adjusting parameters and priority levels, or creating rules.

In the Validation Editor, a table of parameters for the validation object.

Any number of validation data items can be created, allowing different validation settings for different networks, or for different types of data checking.

In some cases, a Validation object is provided by a client, allowing validation of the network prior to submitting data back to the client.

  1. For this example, leave the default settings and click Save.
  2. To associate the new validation data object with the network, drag and drop it onto the GeoPlan.
  3. From the Network menu, click Validate network.
  4. Alternatively, on the Validation toolbar, click Validate.
  5. In the popup, choose the Data Source Type for the validation. In this case, select Network.
    On the Validation toolbar, the Validate icon highlighted in red, and in the Choose objects dialog, the Data Source Type set to Network and called out with a red arrow.
  6. Click OK.

The results of the validation are displayed in the Output window. The output shows all validation failures, with an icon relevant to the priority level, the validation rule code, and details of the object with the failure.

On the GeoPlan, validation errors displayed in red, and in the Output window, a list of validation failures.

  1. Double-click an output code row to open the survey window grid with the relevant field for the object in focus.
    In the Output window, the first error code being double-clicked and called out with a red arrow, and in the main window, the open survey window grid.
  2. Right-click an output code row and select Go to Property Page to open the property sheet.

On the property sheet, fields with validation issues are highlighted by a colored bar between the field name and the field cell, corresponding to the priority of the validation issue.

On the property sheet, between the field name and cell for US pipe material, a colored bar circled and called out with a red arrow.

  1. From the property sheet toolbar, select Validate as you type to immediately display validation failures while a field value is being entered.
  2. Switch to the Validation tab to see all validation failures for that object.
    On the property sheet, Validate as you type highlighted in red on the toolbar, with the Validation tab active and highlighted in red.
  3. Click OK to close the property sheet.

In the Object Properties window, validation errors are displayed against each field by default.

  1. Place the cursor over a validation icon to display a tooltip with details about the validation error, such as the name of the network object where the anomaly occurred, or the cause of the error.
    In the Object Properties window, the cursor hovering over a validation icon, and in the displayed tooltip, details about the validation error.
  2. To set Network Validation preferences, select Network > Default Validation Rules.

These rules apply to all network users, and do not require the validation object to be associated with a network manually. It is also possible to use the network defaults to restrict editing of objects via the property sheets when the validation has failed.

The Default validation rules dialog, with validation rules added and the Validation level for saving changes to property sheets being selected.

The network can also be set up so that validation occurs automatically as part of a commit operation, with the same validation rules applied to all applicable users across the same type of network.

  1. From the File menu, expand Database management and select Shared pre-commit validations.
  2. In the Pre-commit validations dialog, select the appropriate settings.
  3. Click OK.
    On the left, the File menu expanded with Database management selected, and in the flyout, Shared pre-commit validations highlighted in red. On the right, the Pre-commit validations dialog, with settings configured and OK being selected.

Now, performing a commit operation automatically runs the pre-commit validation. If the validation is successful, the commit operation proceeds as normal.

However, if the validation fails, a message appears, the Output window opens, and network changes are not committed to the database.

A message indicating that the validation did not pass, so the commit cannot proceed, with errors listed in the open Output window and also indicated in red on the GeoPlan.