arcpy.ReconcileVersions_management how to avid locks

218
0
10-04-2019 06:36 AM
JoseSanchez
Occasional Contributor III

Good morning,

When running an arcpy.ReconcileVersions_management, s tre a way to place a timeout in the Python script that will stop the reconcile f the feature class is locked.

arcpy.ReconcileVersions_management(sdeGeodatabase,
"ALL_VERSIONS",
PreProdVersion,
*****VersionToBeReconciled******,
"LOCK_ACQUIRED",
"NO_ABORT",
"BY_OBJECT",
"FAVOR_TARGET_VERSION",
"POST",
"KEEP_VERSION",
reconcileLog)

0 Kudos
0 Replies