<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Batch Trace Script: ExecuteError: 'in-table' is not table or a featureclass in ArcGIS Utility Network Questions</title>
    <link>https://community.esri.com/t5/arcgis-utility-network-questions/batch-trace-script-executeerror-in-table-is-not/m-p/1628928#M5428</link>
    <description>&lt;P&gt;Ok, that's does make sense. I think I'll carve out some time to give that a try this afternoon and report back.&lt;/P&gt;</description>
    <pubDate>Tue, 01 Jul 2025 15:29:29 GMT</pubDate>
    <dc:creator>MichaelParma</dc:creator>
    <dc:date>2025-07-01T15:29:29Z</dc:date>
    <item>
      <title>Batch Trace Script: ExecuteError: 'in-table' is not table or a featureclass</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/batch-trace-script-executeerror-in-table-is-not/m-p/1628058#M5412</link>
      <description>&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;I'm trying to run a batch trace via script in an attempt to speed up processing time on nearly 50,000 records outside of a map, writing summary statistics back to a text field. This is in a FGDB UN with attribute rules disabled. The trace configuration works fine individually and when executed from the Batch Trace dialogue. It fails when this is run from a Python Notebook.&lt;/P&gt;&lt;P&gt;My code:&lt;/P&gt;&lt;P&gt;arcpy.ImportToolbox(r"C:\Path\To\My\UtilityDataManagementSupport_33.atbx", "udms")&lt;BR /&gt;arcpy.udms.BatchTrace(&lt;BR /&gt;in_utility_network=r"C:\Path\To\My.gdb\Water\UtilityNetwork",&lt;BR /&gt;trace_locations=r"C:\Path\To\My.gdb\Water\WaterLine",&lt;BR /&gt;result_types="CALCULATE",&lt;BR /&gt;trace_config="Trace Config:: Isolating Features",&lt;BR /&gt;expression="ASSETGROUP = 1 and AssetType IN (0, 1, 2) and OBJECTID &amp;lt; 6", #OBJECTID is only for testing purposes&lt;BR /&gt;output_folder=None,&lt;BR /&gt;key_field="GLOBALID",&lt;BR /&gt;summary_store_field="analyticnotes",&lt;BR /&gt;fields=None,&lt;BR /&gt;calc_on_start="UPDATE_START_ROWS",&lt;BR /&gt;history_field=None,&lt;BR /&gt;default_terminal_id=None,&lt;BR /&gt;code_block=""&lt;BR /&gt;)&lt;BR /&gt;&lt;BR /&gt;Executing this results in:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;ExecuteError&lt;/SPAN&gt;: 'in_table' is not a table or a featureclass&lt;/PRE&gt;&lt;P&gt;In the traceback, I find this line which leads me to believe it might be related to the summary_store_field, though this field exists in the WaterLine feature class.&lt;/P&gt;&lt;PRE&gt;File "C:\Path\To\My\UtilityDataManagementSupport_33.atbx\udms\logic\un_trace.py", line 1291, in update_starting_points_with_summaries
    logger.exception(e, stack_info=True)&lt;/PRE&gt;&lt;P&gt;Any thoughts are appreciated!&lt;/P&gt;</description>
      <pubDate>Sat, 28 Jun 2025 13:30:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/batch-trace-script-executeerror-in-table-is-not/m-p/1628058#M5412</guid>
      <dc:creator>MichaelParma</dc:creator>
      <dc:date>2025-06-28T13:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Trace Script: ExecuteError: 'in-table' is not table or a featureclass</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/batch-trace-script-executeerror-in-table-is-not/m-p/1628059#M5413</link>
      <description>&lt;P&gt;How about posting the entire trackback?&lt;/P&gt;</description>
      <pubDate>Sat, 28 Jun 2025 14:59:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/batch-trace-script-executeerror-in-table-is-not/m-p/1628059#M5413</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2025-06-28T14:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Trace Script: ExecuteError: 'in-table' is not table or a featureclass</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/batch-trace-script-executeerror-in-table-is-not/m-p/1628115#M5414</link>
      <description>&lt;P&gt;I think the trace_locations parameter in the batchTrace tool should reference a feature layer compatible with the&amp;nbsp;starting_points parameter from the arcpy trace tool, ie. a starting_point feature class :&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/3.3/help/data/utility-network/starting-points.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/3.3/help/data/utility-network/starting-points.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Did you try building your starting points with the BuildStartingPoints tool from the UDMS toolbox ?&lt;/P&gt;&lt;P&gt;&lt;A href="https://esri.github.io/Utility-Data-Management-Support-Tools/docs/3.1/BuildStartingPoints.html" target="_blank"&gt;https://esri.github.io/Utility-Data-Management-Support-Tools/docs/3.1/BuildStartingPoints.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 29 Jun 2025 21:19:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/batch-trace-script-executeerror-in-table-is-not/m-p/1628115#M5414</guid>
      <dc:creator>PierreloupDucroix</dc:creator>
      <dc:date>2025-06-29T21:19:28Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Trace Script: ExecuteError: 'in-table' is not table or a featureclass</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/batch-trace-script-executeerror-in-table-is-not/m-p/1628282#M5417</link>
      <description>&lt;P&gt;The entire traceback:&lt;/P&gt;&lt;P&gt;ExecuteError: 'in_table' is not a table or a featureclass&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;File "C:\Path\To\My\UtilityDataManagementSupport_33.atbx\udms\logic\un_trace.py", line 1284, in update_starting_points_with_summaries&lt;BR /&gt;with arcpy.da.UpdateCursor(&lt;BR /&gt;^^^^^^^^^^^^^^^^^^^^^^&lt;BR /&gt;RuntimeError: 'in_table' is not a table or a featureclass&lt;BR /&gt;Stack (most recent call last):&lt;BR /&gt;File "&amp;lt;string&amp;gt;", line 2, in &amp;lt;module&amp;gt;&lt;BR /&gt;File "[3]", line 3, in &amp;lt;module&amp;gt;&lt;BR /&gt;File "C:\Path\To\My\UtilityDataManagementSupport_33.atbx", line 1287, in BatchTrace&lt;BR /&gt;×Ù ä¬¡„ &amp;#158;ÅQk Uþr.®E“ƒäA\²ç 6ud¬n ƒ&lt;BR /&gt;Í›1Hû @Ò&amp;#141;&amp;#157;¬M &amp;#127;&lt;BR /&gt;File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\geoprocessing\_base.py", line 512, in &amp;lt;lambda&amp;gt;&lt;BR /&gt;return lambda *args: val(*gp_fixargs(args, True))&lt;BR /&gt;File "C:\Path\To\My\UtilityDataManagementSupport_33.atbx\BatchTrace.tool\tool.script.execute.py", line 23, in &amp;lt;module&amp;gt;&lt;BR /&gt;File "C:\Path\To\My\UtilityDataManagementSupport_33.atbx\udms\esri.py", line 547, in wrapper&lt;BR /&gt;f = func(*args, **kwargs)&lt;BR /&gt;File "C:\Path\To\My\UtilityDataManagementSupport_33.atbx\udms\logic\__init__.py", line 232, in batch_trace&lt;BR /&gt;return ts.main(&lt;BR /&gt;File "C:\Path\To\My\UtilityDataManagementSupport_33.atbx\udms\logic\un_trace.py", line 835, in main&lt;BR /&gt;self.update_starting_points_with_summaries(sum_df)&lt;BR /&gt;File "C:\Path\To\My\UtilityDataManagementSupport_33.atbx\udms\logic\un_trace.py", line 1291, in update_starting_points_with_summaries&lt;BR /&gt;logger.exception(e, stack_info=True)&lt;BR /&gt;Failed to execute (BatchTrace).&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jun 2025 13:17:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/batch-trace-script-executeerror-in-table-is-not/m-p/1628282#M5417</guid>
      <dc:creator>MichaelParma</dc:creator>
      <dc:date>2025-06-30T13:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Trace Script: ExecuteError: 'in-table' is not table or a featureclass</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/batch-trace-script-executeerror-in-table-is-not/m-p/1628285#M5418</link>
      <description>&lt;P&gt;I have not tried the BuildStartingPoints tool. I was trying to convert the Python directly provided from the the BatchTrace dialogue and figured it might be making that conversion for me.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jun 2025 13:19:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/batch-trace-script-executeerror-in-table-is-not/m-p/1628285#M5418</guid>
      <dc:creator>MichaelParma</dc:creator>
      <dc:date>2025-06-30T13:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Trace Script: ExecuteError: 'in-table' is not table or a featureclass</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/batch-trace-script-executeerror-in-table-is-not/m-p/1628664#M5424</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/100988"&gt;@MichaelParma&lt;/a&gt;&amp;nbsp; -&amp;nbsp;While the error doesn't suggest directly that this is the issue,&amp;nbsp;I think &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/208186"&gt;@PierreloupDucroix&lt;/a&gt;&amp;nbsp;might be onto something.&lt;BR /&gt;The starting point table has a unique schema.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gis_KIWI4_0-1751318664774.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/135472i65F8903AEDBF567E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="gis_KIWI4_0-1751318664774.png" alt="gis_KIWI4_0-1751318664774.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Your script suggests you are pointing to the feature class directly.&amp;nbsp;&lt;BR /&gt;If you're passing in a regular feature class (e.g., WaterLine) directly, it may not have the required schema for trace locations.&lt;/P&gt;&lt;P&gt;Instead, you often need to use a prepared Trace Locations table, which is generated using the Add Trace Locations tool.&lt;BR /&gt;&lt;BR /&gt;Maybe that fixes it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jun 2025 21:27:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/batch-trace-script-executeerror-in-table-is-not/m-p/1628664#M5424</guid>
      <dc:creator>gis_KIWI4</dc:creator>
      <dc:date>2025-06-30T21:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Trace Script: ExecuteError: 'in-table' is not table or a featureclass</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/batch-trace-script-executeerror-in-table-is-not/m-p/1628928#M5428</link>
      <description>&lt;P&gt;Ok, that's does make sense. I think I'll carve out some time to give that a try this afternoon and report back.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jul 2025 15:29:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/batch-trace-script-executeerror-in-table-is-not/m-p/1628928#M5428</guid>
      <dc:creator>MichaelParma</dc:creator>
      <dc:date>2025-07-01T15:29:29Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Trace Script: ExecuteError: 'in-table' is not table or a featureclass</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/batch-trace-script-executeerror-in-table-is-not/m-p/1628942#M5431</link>
      <description>&lt;P&gt;You can find a video of the end-to-end process for configuring batch trace in the GitHub repo for the tool:&amp;nbsp;&lt;A href="https://esri.github.io/Utility-Data-Management-Support-Tools/help/BatchTrace.mp4" target="_blank"&gt;esri.github.io/Utility-Data-Management-Support-Tools/help/BatchTrace.mp4&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You can see that the tool requires you to select a starting point layer created by the Build Starting Points tool.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jul 2025 16:15:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/batch-trace-script-executeerror-in-table-is-not/m-p/1628942#M5431</guid>
      <dc:creator>RobertKrisher</dc:creator>
      <dc:date>2025-07-01T16:15:42Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Trace Script: ExecuteError: 'in-table' is not table or a featureclass</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/batch-trace-script-executeerror-in-table-is-not/m-p/1628966#M5433</link>
      <description>&lt;P&gt;Thanks, Robert. I was unaware of that video. Looks like that's next on my to do list.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jul 2025 17:15:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/batch-trace-script-executeerror-in-table-is-not/m-p/1628966#M5433</guid>
      <dc:creator>MichaelParma</dc:creator>
      <dc:date>2025-07-01T17:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Trace Script: ExecuteError: 'in-table' is not table or a featureclass</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/batch-trace-script-executeerror-in-table-is-not/m-p/1694109#M6668</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/100988"&gt;@MichaelParma&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am experiencing a similar issue. When working with the data in a &lt;STRONG&gt;Mobile Geodatabase&lt;/STRONG&gt;, I can run the &lt;STRONG&gt;Batch Trace Calculate&lt;/STRONG&gt; using the same trace configurations without any errors.&lt;/P&gt;&lt;P&gt;However, when I try to run the same data model through a &lt;STRONG&gt;web service backed by Oracle 19c&lt;/STRONG&gt;, I encounter this error.&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;Have you gained any experience with this issue?&lt;/P&gt;&lt;P&gt;PS:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;The data schema is the same as in the mobile geodatabase, and no parameters or settings have been changed.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;STRONG&gt;Trace Parameter&lt;/STRONG&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;LI-CODE lang="python"&gt;arcpy.ImportToolbox(r"D:\...\UtilityDataManagementSupport_3_5).atbx")
arcpy.udms.BatchTrace(
    in_utility_network="L8Network_Utility_Network Utility Network",
    trace_locations=r"D:\...\Test.gdb\UN_Temp_Starting_Points",
    result_types="CALCULATE",
    trace_config="Trace Config:: Adresses",
    expression="",
    output_folder=None,
    key_field=None,
    summary_store_field="",
    fields="Test 'Electric Device' UNTest",
    calc_on_start="SKIP_START_ROWS",
    history_field=None,
    default_terminal_id=6,
    code_block=""
)&lt;/LI-CODE&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;STRONG&gt;Error&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;LI-CODE lang="python"&gt;ArcGIS Pro 3.6.1.59527
udms 3.5
Executing from ArcGIS Pro, 1 map(s), activeMap = True
Traceback (most recent call last):
  File "D:\...\UtilityDataManagementSupport_3_5).atbx\BatchTrace.tool\tool.script.execute.py", line 23, in &amp;lt;module&amp;gt;
  File "D:\...\UtilityDataManagementSupport_3_5).atbx\udms\esri.py", line 557, in wrapper
    f = func(*args, **kwargs)
  File "D:\...\UtilityDataManagementSupport_3_5).atbx\udms\logic\__init__.py", line 232, in batch_trace
    return ts.main(
           ~~~~~~~^
        where_clause=expression,
        ^^^^^^^^^^^^^^^^^^^^^^^^
    ...&amp;lt;3 lines&amp;gt;...
        history_field=history_field,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "D:\...\UtilityDataManagementSupport_3_5).atbx\udms\logic\un_trace.py", line 727, in main
    layer = self.un.create_table(source_id=source_id)
  File "D:\...\UtilityDataManagementSupport_3_5).atbx\udms\un_helper.py", line 954, in create_table
    result = arcpy.MakeTableView_management(in_table=path, out_view=out_layer, where_clause=where_clause)[0]
             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\management.py", line 16735, in MakeTableView
    raise e
  File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\management.py", line 16731, in MakeTableView
    gp.MakeTableView_management(*gp_fixargs((in_table, out_view, where_clause, workspace, field_info), True))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\geoprocessing\_base.py", line 533, in &amp;lt;lambda&amp;gt;
    return lambda *args: val(*gp_fixargs(args, True))
                         ~~~^^^^^^^^^^^^^^^^^^^^^^^^^
arcgisscripting.ExecuteError: ERROR 000358: Invalid expression
Failed to execute (MakeTableView).


Failed script Batch Trace...
Failed to execute (BatchTrace).&lt;/LI-CODE&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Thu, 02 Apr 2026 10:29:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/batch-trace-script-executeerror-in-table-is-not/m-p/1694109#M6668</guid>
      <dc:creator>JohnGoat</dc:creator>
      <dc:date>2026-04-02T10:29:24Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Trace Script: ExecuteError: 'in-table' is not table or a featureclass</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/batch-trace-script-executeerror-in-table-is-not/m-p/1694139#M6669</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/188597"&gt;@MikeMillerGIS&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2026 14:03:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/batch-trace-script-executeerror-in-table-is-not/m-p/1694139#M6669</guid>
      <dc:creator>RobertKrisher</dc:creator>
      <dc:date>2026-04-02T14:03:13Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Trace Script: ExecuteError: 'in-table' is not table or a featureclass</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/batch-trace-script-executeerror-in-table-is-not/m-p/1694562#M6675</link>
      <description>&lt;P&gt;Yes&amp;nbsp;&lt;A href="https://community.esri.com/t5/user/viewprofilepage/user-id/188597" target="_blank"&gt;@MikeMillerGIS&lt;/A&gt;&amp;nbsp;pls help me&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Apr 2026 06:26:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/batch-trace-script-executeerror-in-table-is-not/m-p/1694562#M6675</guid>
      <dc:creator>JohnGoat</dc:creator>
      <dc:date>2026-04-06T06:26:10Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Trace Script: ExecuteError: 'in-table' is not table or a featureclass</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/batch-trace-script-executeerror-in-table-is-not/m-p/1694772#M6682</link>
      <description>&lt;P&gt;Are you running this in Pro or outside of pro?&amp;nbsp; You are listing the describe name of the UN Layer "&lt;/P&gt;&lt;PRE&gt; in_utility_network="L8Network_Utility_Network Utility Network",&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you change that to the full url path?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How did you get that name in the tool?&lt;/P&gt;</description>
      <pubDate>Tue, 07 Apr 2026 13:00:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/batch-trace-script-executeerror-in-table-is-not/m-p/1694772#M6682</guid>
      <dc:creator>MikeMillerGIS</dc:creator>
      <dc:date>2026-04-07T13:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Trace Script: ExecuteError: 'in-table' is not table or a featureclass</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/batch-trace-script-executeerror-in-table-is-not/m-p/1695267#M6688</link>
      <description>&lt;P&gt;Yes, I am running this tool from within &lt;STRONG&gt;ArcGIS Pro&lt;/STRONG&gt;. If the Utility Network layer is present in the active map, it appears in the dropdown with its name.&lt;/P&gt;&lt;P&gt;When I try using the full URL path as suggested, I still get the same error.&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/188597"&gt;@MikeMillerGIS&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Apr 2026 10:45:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/batch-trace-script-executeerror-in-table-is-not/m-p/1695267#M6688</guid>
      <dc:creator>JohnGoat</dc:creator>
      <dc:date>2026-04-09T10:45:08Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Trace Script: ExecuteError: 'in-table' is not table or a featureclass</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/batch-trace-script-executeerror-in-table-is-not/m-p/1695269#M6689</link>
      <description>&lt;P&gt;If you run the same Batch Trace via the GP tool and not the notebook, same error?&amp;nbsp; I have a lot of debug statements around this code area.&amp;nbsp; Can you turn on debug logging and run it through GP(not a notebook) and share the results?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To enable debug logging&lt;/P&gt;&lt;P&gt;- First open the toolbox and open any tool.&amp;nbsp; Fill it out and run it.&amp;nbsp; You can immediately cancel it.&amp;nbsp; This loads the embedded python module in memory&lt;/P&gt;&lt;P&gt;- Open the Python window in ArcGIS Pro(not a notebook)&lt;/P&gt;&lt;P&gt;- Enter the following&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;import udms&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;udms.logger.setLevel('DEBUG')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MikeMillerGIS_0-1775733825275.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/150857i72E4CC529D22BC0F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MikeMillerGIS_0-1775733825275.png" alt="MikeMillerGIS_0-1775733825275.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Apr 2026 11:24:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/batch-trace-script-executeerror-in-table-is-not/m-p/1695269#M6689</guid>
      <dc:creator>MikeMillerGIS</dc:creator>
      <dc:date>2026-04-09T11:24:05Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Trace Script: ExecuteError: 'in-table' is not table or a featureclass</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/batch-trace-script-executeerror-in-table-is-not/m-p/1695292#M6690</link>
      <description>&lt;P&gt;Yes, I get the same error when running it with notebooks and the GP tool as well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;Start Time: Thursday
ArcGIS Pro 3.6.1.59527
udms 3.5
Executing from ArcGIS Pro, 1 map(s), activeMap = True
****PARAMETERS****
	Input Utility Network: https://unw-server.com/server/rest/services/EA_Test/FeatureServer/8
	Trace Locations: Electric Device
	Result Types: ['CALCULATE']
	Trace Configuration Name or Field: Trace Config:: Adresses
	Expression: None
	Output Folder: None
	Group Field: None
	Store Summary Information on Starting Points: None
	Fields to update: [['Test', 'Electric Device', 'UNTest', 'FIRST']]
	Calculate on Starting Point Features: False
	JSON Result file folder: None
	Aggregated GDB: None
	Historical Date Field: None
	Stat Table: None
	Default Terminal ID: 6
	Code Block: None
****ENVIRONMENTS****

udms.logic.batch_trace(
    utility_network=&amp;lt;arcpy._mp.Layer object at 0x0000021628AC77A0&amp;gt;,
    trace_locations=&amp;lt;arcpy._mp.Layer object at 0x0000021628B07750&amp;gt;,
    result_types=['CALCULATE'],
    output_folder=None,
    summary_store_field=None,
    field_mapping=[['Test', 'Electric Device', 'UNTest', 'FIRST']],
    key_field=None,
    expression=None,
    trace_config='Trace Config:: Adresses',
    calc_on_start=False,
    history_field=None,
    default_terminal_id=6,
    user_code=None,
)
In Path: https://unw-server.com/server/rest/services/EA_Test/FeatureServer/8
URL: https://unw-server.com/server/rest/services/EA_Test/FeatureServer
workspace: https://unw-server.com/server/rest/services/EA_Test/FeatureServer
Path: https://unw-server.com/server/rest/services/EA_Test/FeatureServer
UN Loaded
Collecting Trace Configs
Validating the inputs
Trace Config:: Adresses
Setting up parameters
Opening Data Element
Verifying calc fields
Verifying Lookup Fields and Target Tables
Source ID: 9
udms.logic.batch_trace	73.46496698597912&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/188597"&gt;@MikeMillerGIS&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Apr 2026 14:07:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/batch-trace-script-executeerror-in-table-is-not/m-p/1695292#M6690</guid>
      <dc:creator>JohnGoat</dc:creator>
      <dc:date>2026-04-09T14:07:14Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Trace Script: ExecuteError: 'in-table' is not table or a featureclass</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/batch-trace-script-executeerror-in-table-is-not/m-p/1695293#M6691</link>
      <description>&lt;P&gt;That is only the first 52 lines, can I get all the messages?&lt;/P&gt;</description>
      <pubDate>Thu, 09 Apr 2026 14:10:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/batch-trace-script-executeerror-in-table-is-not/m-p/1695293#M6691</guid>
      <dc:creator>MikeMillerGIS</dc:creator>
      <dc:date>2026-04-09T14:10:33Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Trace Script: ExecuteError: 'in-table' is not table or a featureclass</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/batch-trace-script-executeerror-in-table-is-not/m-p/1695295#M6692</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I didn't add it because the error message is the same; all the error messages are like this, Mike.&lt;/P&gt;&lt;LI-CODE lang="python"&gt;Start Time: Thursday
ArcGIS Pro 3.6.1.59527
udms 3.5
Executing from ArcGIS Pro, 1 map(s), activeMap = True
****PARAMETERS****
	Input Utility Network: https://unw-server.com/server/rest/services/EA_Test/FeatureServer/8
	Trace Locations: Electric Device
	Result Types: ['CALCULATE']
	Trace Configuration Name or Field: Trace Config:: Adresses
	Expression: None
	Output Folder: None
	Group Field: None
	Store Summary Information on Starting Points: None
	Fields to update: [['Test', 'Electric Device', 'UNTest', 'FIRST']]
	Calculate on Starting Point Features: False
	JSON Result file folder: None
	Aggregated GDB: None
	Historical Date Field: None
	Stat Table: None
	Default Terminal ID: 6
	Code Block: None
****ENVIRONMENTS****

udms.logic.batch_trace(
    utility_network=&amp;lt;arcpy._mp.Layer object at 0x0000021628AC77A0&amp;gt;,
    trace_locations=&amp;lt;arcpy._mp.Layer object at 0x0000021628B07750&amp;gt;,
    result_types=['CALCULATE'],
    output_folder=None,
    summary_store_field=None,
    field_mapping=[['Test', 'Electric Device', 'UNTest', 'FIRST']],
    key_field=None,
    expression=None,
    trace_config='Trace Config:: Adresses',
    calc_on_start=False,
    history_field=None,
    default_terminal_id=6,
    user_code=None,
)
In Path: https://unw-server.com/server/rest/services/EA_Test/FeatureServer/8
URL: https://unw-server.com/server/rest/services/EA_Test/FeatureServer
workspace: https://unw-server.com/server/rest/services/EA_Test/FeatureServer
Path: https://unw-server.com/server/rest/services/EA_Test/FeatureServer
UN Loaded
Collecting Trace Configs
Validating the inputs
Trace Config:: Adresses
Setting up parameters
Opening Data Element
Verifying calc fields
Verifying Lookup Fields and Target Tables
Source ID: 9
udms.logic.batch_trace	73.46496698597912
Traceback (most recent call last):
  File "D:\...\UtilityDataManagementSupport_3_5.atbx\BatchTrace.tool\tool.script.execute.py", line 23, in &amp;lt;module&amp;gt;
  File "D:\...\UtilityDataManagementSupport_3_5.atbx\udms\esri.py", line 557, in wrapper
    f = func(*args, **kwargs)
  File "D:\...\UtilityDataManagementSupport_3_5.atbx\udms\logic\__init__.py", line 232, in batch_trace
    return ts.main(
           ~~~~~~~^
        where_clause=expression,
        ^^^^^^^^^^^^^^^^^^^^^^^^
    ...&amp;lt;3 lines&amp;gt;...
        history_field=history_field,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "D:\...\UtilityDataManagementSupport_3_5.atbx\udms\logic\un_trace.py", line 727, in main
    layer = self.un.create_table(source_id=source_id)
  File "D:\...\UtilityDataManagementSupport_3_5.atbx\udms\un_helper.py", line 954, in create_table
    result = arcpy.MakeTableView_management(in_table=path, out_view=out_layer, where_clause=where_clause)[0]
             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\management.py", line 16735, in MakeTableView
    raise e
  File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\management.py", line 16731, in MakeTableView
    gp.MakeTableView_management(*gp_fixargs((in_table, out_view, where_clause, workspace, field_info), True))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\geoprocessing\_base.py", line 533, in &amp;lt;lambda&amp;gt;
    return lambda *args: val(*gp_fixargs(args, True))
                         ~~~^^^^^^^^^^^^^^^^^^^^^^^^^
arcgisscripting.ExecuteError: ERROR 000358: Invalid expression
Failed to execute (MakeTableView).


Failed script Batch Trace...
Failed to execute (BatchTrace).
Failed at Thursday, April 9, 2026 5:00:10 PM (Elapsed Time: 1 minutes 30 seconds)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Apr 2026 14:20:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/batch-trace-script-executeerror-in-table-is-not/m-p/1695295#M6692</guid>
      <dc:creator>JohnGoat</dc:creator>
      <dc:date>2026-04-09T14:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Trace Script: ExecuteError: 'in-table' is not table or a featureclass</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/batch-trace-script-executeerror-in-table-is-not/m-p/1695298#M6693</link>
      <description>&lt;P&gt;Can you try with 3.5.1 version of the tools.&amp;nbsp; I am expecting to see more info in the debug log.&amp;nbsp; There should be a message above the error with info that can help track down what is going on.&amp;nbsp; Your issue is different than the original post.&amp;nbsp; This is failing to create a table view on the UN class.&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Esri/Utility-Data-Management-Support-Tools/releases/download/3_30_2026_3_5_1/UtilityDataManagementSupport.atbx" target="_blank"&gt;https://github.com/Esri/Utility-Data-Management-Support-Tools/releases/download/3_30_2026_3_5_1/UtilityDataManagementSupport.atbx&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Apr 2026 14:30:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/batch-trace-script-executeerror-in-table-is-not/m-p/1695298#M6693</guid>
      <dc:creator>MikeMillerGIS</dc:creator>
      <dc:date>2026-04-09T14:30:06Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Trace Script: ExecuteError: 'in-table' is not table or a featureclass</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/batch-trace-script-executeerror-in-table-is-not/m-p/1695300#M6694</link>
      <description>&lt;P&gt;actually hold off, let me add a few more debug statements, the lower level function does not have any&lt;/P&gt;</description>
      <pubDate>Thu, 09 Apr 2026 14:32:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/batch-trace-script-executeerror-in-table-is-not/m-p/1695300#M6694</guid>
      <dc:creator>MikeMillerGIS</dc:creator>
      <dc:date>2026-04-09T14:32:37Z</dc:date>
    </item>
  </channel>
</rss>

