<?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: Creating Associations through GP Tool (Pro 3.1) in ArcGIS Utility Network Questions</title>
    <link>https://community.esri.com/t5/arcgis-utility-network-questions/creating-associations-through-gp-tool-pro-3-1/m-p/1695534#M6697</link>
    <description>&lt;P&gt;Because your tool is functioning as an external process you are having these issues with locks. If you can make the requests using the same session as your pro session you won't have an issue with this, which is difficult to do if you are making rest calls directly.&lt;/P&gt;</description>
    <pubDate>Fri, 10 Apr 2026 14:29:11 GMT</pubDate>
    <dc:creator>RobertKrisher</dc:creator>
    <dc:date>2026-04-10T14:29:11Z</dc:date>
    <item>
      <title>Creating Associations through GP Tool (Pro 3.1)</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/creating-associations-through-gp-tool-pro-3-1/m-p/1695461#M6696</link>
      <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;I am trying to create connectivity associations between two junctions. The workflow of the custom GP tools I am using requires me to edit some attributes on some points and lines run some custom tools which update some attributes and create junctions. At some point in the workflow, an association has to be made through the GP tool between new junctions I create. I use ArcGIS Pro 3.1 and as such there are no arcpy functions that will let me create a connectivity association between 2 points. Thus, The GP tool instead calls the rest api endpoint to create associations.&lt;/P&gt;&lt;P&gt;However, I noticed that this api call initially fails with the error "Unable to acquire schema lock". I believe this is because the rest call needs a lock on the current version I am running the GP Tool on but the GP tool also has a lock on this version while it is running. Thus to resolve this issue, I call "Purge Locks" through the rest api on this version and this allows my association to be create successfully (i.e. the rest api call to create associations now works as all locks have been purged).&lt;/P&gt;&lt;P&gt;However, even though the association has been created successfully, ArcGIS pro now gives me errors of "Unable to acquire a lock" and I am unable to resume my editing activities on this version. Exploring some more, I noticed that when I switch to another version and back to the current version, I can sometimes resume data editing normally. However, this behaviour is inconsistent, sometimes the switch to another version and back allows me to resume editing normally while other times it does not.&lt;/P&gt;&lt;P&gt;Are there any solutions to this issue? Thanks!&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 10 Apr 2026 07:09:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/creating-associations-through-gp-tool-pro-3-1/m-p/1695461#M6696</guid>
      <dc:creator>GaneshPremakumar</dc:creator>
      <dc:date>2026-04-10T07:09:15Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Associations through GP Tool (Pro 3.1)</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/creating-associations-through-gp-tool-pro-3-1/m-p/1695534#M6697</link>
      <description>&lt;P&gt;Because your tool is functioning as an external process you are having these issues with locks. If you can make the requests using the same session as your pro session you won't have an issue with this, which is difficult to do if you are making rest calls directly.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Apr 2026 14:29:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/creating-associations-through-gp-tool-pro-3-1/m-p/1695534#M6697</guid>
      <dc:creator>RobertKrisher</dc:creator>
      <dc:date>2026-04-10T14:29:11Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Associations through GP Tool (Pro 3.1)</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/creating-associations-through-gp-tool-pro-3-1/m-p/1695727#M6703</link>
      <description>&lt;P&gt;oh okay thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 13 Apr 2026 02:00:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/creating-associations-through-gp-tool-pro-3-1/m-p/1695727#M6703</guid>
      <dc:creator>GaneshPremakumar</dc:creator>
      <dc:date>2026-04-13T02:00:18Z</dc:date>
    </item>
  </channel>
</rss>

