<?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: Arcade expression Sequence value generation Issue in ArcGIS Utility Network Questions</title>
    <link>https://community.esri.com/t5/arcgis-utility-network-questions/arcade-expression-sequence-value-generation-issue/m-p/1718400#M7251</link>
    <description>&lt;P&gt;The recommended way to use sequences is to use the CreateDatabaseSequence tool to create managed sequences for all the different sequences you need to be used by the attribute rule using the data owner that will need access to these sequences. You can then reference that sequence in an attribute rule's run by that database user. You can find an example in this KB article:&amp;nbsp;&lt;A href="https://support.esri.com/en-us/knowledge-base/how-to-add-auto-sequential-values-using-attribute-rules-000024533" target="_blank"&gt;Add Auto Sequential Values Using Attribute Rules in ArcGIS Pro&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;If you haven't already, please log a case with support to review the error you are receiving along with ensuring that everything is configured correctly.&lt;/P&gt;</description>
    <pubDate>Tue, 04 Aug 2026 18:15:49 GMT</pubDate>
    <dc:creator>RobertKrisher</dc:creator>
    <dc:date>2026-08-04T18:15:49Z</dc:date>
    <item>
      <title>Arcade expression Sequence value generation Issue</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/arcade-expression-sequence-value-generation-issue/m-p/1717653#M7236</link>
      <description>&lt;DIV class=""&gt;Error details: ERROR 002904: Sequence does not exist.&lt;/DIV&gt;&lt;DIV class=""&gt;[Rule Name: "SL-Unique Name/ID Generation",&lt;/DIV&gt;&lt;DIV class=""&gt;Sequence Name: "DUCTAUTONUMBERING"]&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;I have create the sequence first in PostgreSQL database and granted the select, update and delete permission to the sequence and later we developed arcade code. the rule was a constraint rule that rule need to trigger on insert and update events. please find the code below ways I tried. same schema i create connection file but I am not able to find the root cause. can you please help me.&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;Type:1&lt;BR /&gt;var cat = DefaultValue($feature.NE_CATEGORY_NAME, "");&lt;BR /&gt;var type = DefaultValue($feature.NE_TYPE_NAME, "");&lt;BR /&gt;if (cat != "OSP") { return null; }&lt;BR /&gt;var valid = Decode(type, "TRENCH", 1, "CONDUIT", 1, "POWER", 1, 0);&lt;BR /&gt;if (valid == 0) { return null; }&lt;BR /&gt;var nextVal = NextSequenceValue('DUCTAUTONUMBERING');&lt;BR /&gt;return Text(nextVal);&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;Type2:&lt;/DIV&gt;&lt;DIV class=""&gt;var nextVal =&amp;nbsp;&lt;SPAN&gt;NextSequenceValue('unm_owner.DUCTAUTONUMBERING')&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;Type3:&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV&gt;var nextVal = NextSequenceValue('unm_owner.DUCTAUTONUMBERING');&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 30 Jul 2026 17:08:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/arcade-expression-sequence-value-generation-issue/m-p/1717653#M7236</guid>
      <dc:creator>JayaramBT</dc:creator>
      <dc:date>2026-07-30T17:08:26Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade expression Sequence value generation Issue</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/arcade-expression-sequence-value-generation-issue/m-p/1717680#M7240</link>
      <description>&lt;P&gt;Does it work if you use the &lt;A href="https://doc.esri.com/en/arcgis-pro/latest/tool-reference/data-management/create-database-sequence.html?tabs=dialog" target="_blank" rel="noopener"&gt;CreateDatabaseSequence&lt;/A&gt; tool to create the sequence as the data owner?&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jul 2026 18:19:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/arcade-expression-sequence-value-generation-issue/m-p/1717680#M7240</guid>
      <dc:creator>RobertKrisher</dc:creator>
      <dc:date>2026-07-30T18:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade expression Sequence value generation Issue</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/arcade-expression-sequence-value-generation-issue/m-p/1718361#M7250</link>
      <description>&lt;DIV&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;I need some additional information regarding cross-schema access in PostgreSQL and ArcGIS Pro.&lt;/P&gt;&lt;P&gt;In our PostgreSQL database, we have multiple schemas created for project-related custom tables. For example:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;ROSE&lt;/STRONG&gt; schema contains custom lookup/reference tables.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;UNM_OWNER&lt;/STRONG&gt; schema contains the Utility Network feature classes.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;My requirement is that when a feature is created or updated in ArcGIS Pro, an Arcade attribute rule should execute, retrieve information from a table in the &lt;STRONG&gt;ROSE&lt;/STRONG&gt; schema, and then populate attributes in a feature class stored in the &lt;STRONG&gt;UNM_OWNER&lt;/STRONG&gt; schema.&lt;/P&gt;&lt;P&gt;I developed a sample Arcade expression to test access to a table in the ROSE schema, but the table is not being accessed successfully. I have already granted the necessary permissions in PostgreSQL, including schema and table-level access.&lt;/P&gt;&lt;P&gt;Could you please let me know if there are any limitations or additional configuration requirements for accessing tables across different PostgreSQL schemas from Arcade attribute rules in ArcGIS Pro.&lt;/P&gt;&lt;P&gt;Any guidance on the root cause or recommended approach would be greatly appreciated.&lt;/P&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;var assocTable = FeatureSetByName(&lt;BR /&gt;$datastore,&lt;BR /&gt;"ni_20exdataun.Rose.bt_naming_sequences"&lt;BR /&gt;);&lt;BR /&gt;return Count(assocTable);&lt;/P&gt;</description>
      <pubDate>Tue, 04 Aug 2026 17:40:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/arcade-expression-sequence-value-generation-issue/m-p/1718361#M7250</guid>
      <dc:creator>JayaramBT</dc:creator>
      <dc:date>2026-08-04T17:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade expression Sequence value generation Issue</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/arcade-expression-sequence-value-generation-issue/m-p/1718400#M7251</link>
      <description>&lt;P&gt;The recommended way to use sequences is to use the CreateDatabaseSequence tool to create managed sequences for all the different sequences you need to be used by the attribute rule using the data owner that will need access to these sequences. You can then reference that sequence in an attribute rule's run by that database user. You can find an example in this KB article:&amp;nbsp;&lt;A href="https://support.esri.com/en-us/knowledge-base/how-to-add-auto-sequential-values-using-attribute-rules-000024533" target="_blank"&gt;Add Auto Sequential Values Using Attribute Rules in ArcGIS Pro&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;If you haven't already, please log a case with support to review the error you are receiving along with ensuring that everything is configured correctly.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Aug 2026 18:15:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/arcade-expression-sequence-value-generation-issue/m-p/1718400#M7251</guid>
      <dc:creator>RobertKrisher</dc:creator>
      <dc:date>2026-08-04T18:15:49Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade expression Sequence value generation Issue</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/arcade-expression-sequence-value-generation-issue/m-p/1718476#M7253</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/945339"&gt;@JayaramBT&lt;/a&gt;&amp;nbsp;are the tables you're trying to access registered with the geodatabase?&lt;/P&gt;</description>
      <pubDate>Tue, 04 Aug 2026 20:03:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/arcade-expression-sequence-value-generation-issue/m-p/1718476#M7253</guid>
      <dc:creator>RobertKrisher</dc:creator>
      <dc:date>2026-08-04T20:03:13Z</dc:date>
    </item>
  </channel>
</rss>

