GRR Delta Detection

Geodatabase Regions (GRRs) are “snapshots” of the subnetwork as stored in the geodatabase. Refer to Create GRRs for information about capturing the state of a subnetwork at a specific time, and Schedule Updates for GRRs for information about routinely updating these snapshots.

GRR Delta Detection identifies the deltas (i.e., changes or differences between two values) for dirty subnetworks by inspecting both the Esri–specified Network Attributes and the configured (i.e., selected) fields. This is an enhancement to existing Esri functionality of marking a subnetwork as dirty only when specific Network Attributes have been modified. GRR updates occur based on schedules you configure to maintain accuracy in export data.


After clicking GRR Delta Detection, the left pane shows all the layers referenced by the GIS Schema, along with a toggle that allows you to select all the referenced fields from a chosen layer. Rather than select all fields, individual fields can be selected from the right pane, which displays a collection of referenced fields for a selected layer.

MIGHT GET TO REMOVE THIS PER CASEY

Some fields are selected by default because they are tied to Network Attributes on the Utility Network (UN). These fields are thereby already tracked by Esri to mark a subnetwork as Dirty. Other attributes selected from this list enhance the delta (or change) detection for GRRs so that scheduled updates are triggered when these attributes are modified.


In the upper right of the window, you can toggle Edit Mode from Basic to Advanced. When you select Advanced, you can see all the attributes that have been become part of the GRR Data Detection attributes.

NOTE: If you notice that some fields aren’t visible, despite residing in the GIS-related data tables, then the available set of layers (as well as all related fields) has been removed from the GIS Schema XML resource, or more precisely, from all predefined Table rules.

If Update Timestamps for All Updated Subnetworks currently exists as a Post Event in a Program, it needs removed prior to adding these new handlers.

To remove the Post Event, follow these steps:

  1. In the Geodatabase Manager plugin on the Programs tab, select the Program on the left, then choose Post Events on the right.

  2. Under Program Completion, click Edit.

  3. Under Action Handler Assignments, deselect Update Timestamps for All Updated Subnetworks and click Save.

FindEditedSubnetworks and CollectEditedSubnetworksAndUpdateTimestamps

To create the new handlers, follow these steps:

  1. In the Geodatabase Manager plugin on the Handlers tab, click the Create new handler button.

  2. Select FindEditedSubnetworks in the Handler Type drop-down.

  3. Type a name for the handler and click Save. Leave the Abort on Error field set to true.

    NOTE: You may want to choose a number like 5 minutes for the Times Out After setting, to account for the time it takes to receive changes from the GIS.

  4. Follow the steps above to create the CollectEditedSubnetworksAndUpdateTimestamps handler. Leave the Abort on Error drop-down set to false. Also, leaving Times Out After to 2 minutes should be sufficient.

  5. Next, click the Programs tab, select the Program on the left, then choose Post Events on the right.

  6. Add FindEditedSubnetworks to Before Post by clicking edit and selecting it in the list. Click Save.

  7. Add CollectEditedSubnetworksAndUpdateTimestamps to Program Completion then click Save.

QR Code is a registered trademark of DENSO WAVE INCORPORATED in Japan and other countries.

Was this helpful?