Automating reconcile and post
Last modified April 2, 2009
Print all topics in : "Relationship classes"
For large, multiuser editing operations, it's usually best to automate the reconcile and post processes. This helps streamline edit operations, reduce version administration overhead, and ensure all the changes made to versions are automatically propagated through the version tree as required. These two processes may be automated with a batch version reconciliation tool or by implementing a version reconcile service. Both of these are available as ArcGIS developer samples.
Reconcile ArcSDE versions in batch mode
The batch reconcile utility allows an editor or project manager to connect to a versioned geodatabase, select a version, reconcile, and (optionally) post every version beneath that version. If the reconcile and post are successful—that is, no conflicts were detected—you have the option of deleting the child versions. Any conflicts detected would halt the reconcile process. Conflicts must be addressed in the usual manner using the tools available in ArcMap. This administrative task could be performed at the end of every day or week or at whatever time interval is appropriate. The batch reconcile utility can be customized to start automatically at a predetermined time with some preconfigured operating parameters.
Batch reconcile and post programs work well for organizations with work orders to process at the end of each day or week. The versioning scenarios that would benefit include
A version reconcile service is a program that runs as a background process on a client machine. Once an editor has completed editing a version, the editor submits the version to the reconcile service. The reconcile service periodically checks if versions have been flagged as ready to reconcile. If any such versions are detected, the service will automatically reconcile and post these to their parent versions. The reconcile service utility can be customized to alter how often the service checks for new versions to reconcile and post.
Automating the version reconcile process this way helps manage the workflow by delegating the responsibility for reconciling to the reconcile service. Data editors are then free to continue with other tasks. By streamlining the workflow in this manner, your data editing operations can more easily scale to support additional data and editors.