Hi everyone,
I need to clear the Water Junction Object table from time to time. As far as I know there are two GP Tools to accomplish this task: the Truncate Table and the Delete Row. The Delete Row is way too slow: in my case it takes about one hour to complete.
I used the Truncate Table and I saw that it takes few seconds to clear other standalone tables, so I would like to use it even for the Water Junction Object one.
I am aware of the limitations of this tool, so I stopped the services involving the table, unregistered the table as versioned, disabled the attachments and even excluded it from editing, but when I try to run the tool, it fails with the error: ERROR 160592: Truncation not allowed while editing.
I tried, without success, to run the tool both in ArcGIS Pro and in a Python script.
Is there something else that I need to check to make it work?
In another thread I read that sometimes, if the table is involved in an attribute rule, the tool may fail with this same error. I don't think that this is the case, because the only rules in my UN are the standard ones preloaded in the Asset Package. Anyway, just to be sure, Is there a way to check which rules involve a given table?
Thanks,
Marco