AnsweredAssumed Answered

arcpy.ReconcileVersions_management how to avid locks

Question asked by jsn on Oct 4, 2019

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)

Outcomes