<?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: Attribute Rule Error on Published Feature Service in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/attribute-rule-error-on-published-feature-service/m-p/1351466#M75362</link>
    <description>&lt;P&gt;Hi Josh,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you ever find the cause for this? Or a permanent fix?&lt;/P&gt;&lt;P&gt;We are experiencing the same thing. The table name we reference in an expression is being changed to a global ID looking string. The change is seemingly random. We have services published from this data source- some to Enterprise, some to AGOL. AGOL services are only used for viewing, no editing. We built the rules from scratch and can "repair" them by changing the name back to the actual table name then overwriting the services, but every few months it seems to revert to a global ID string.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Mon, 20 Nov 2023 14:58:11 GMT</pubDate>
    <dc:creator>JBeasley</dc:creator>
    <dc:date>2023-11-20T14:58:11Z</dc:date>
    <item>
      <title>Attribute Rule Error on Published Feature Service</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/attribute-rule-error-on-published-feature-service/m-p/1018014#M36127</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am applying the following Attribute Rule Arcade expression to a FC with a related table:&lt;/P&gt;&lt;P&gt;var table = FeatureSetByName($datastore,"&lt;FONT color="#339966"&gt;Arrowhead_Ph2_Relocation_Table&lt;/FONT&gt;")&lt;/P&gt;&lt;P&gt;var total = 0&lt;/P&gt;&lt;P&gt;for (var t in table)&lt;/P&gt;&lt;P&gt;if (t.BLK_PRCL_NUM == $feature.BLK_PRCL_NUM) {&lt;/P&gt;&lt;P&gt;total = total + t.TOT_RELO_AMNT_OFRD&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;return total&lt;/P&gt;&lt;P&gt;I publish the FC and related table as a service, however, when I try to edit I get the error message below.&amp;nbsp; If I look at the attribute rules of the published service FC, I notice it changes my Arcade expression from the related table name above to an ID number.&lt;/P&gt;&lt;P&gt;When I test the attribute rule directly from the GDB it works perfect.&lt;/P&gt;&lt;P&gt;Here is the portion of the expression in the attribute rule it changes once it's published as a feature service:&lt;/P&gt;&lt;P&gt;var table = FeatureSetByName($datastore,"{&lt;FONT color="#FF0000"&gt;A2D0EBF1-2A6C-4EC2-BAE3-852F03E47EBB&lt;/FONT&gt;}")&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JoshHellman1_0-1611077223917.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/4079i535EE01876EAA9D6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JoshHellman1_0-1611077223917.png" alt="JoshHellman1_0-1611077223917.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Why does it change my arcade expression from the Table Name I input in the expression, to the ID number? When it does this it's making the expression not find the table name in the GDB and generates this error.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jan 2021 17:35:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/attribute-rule-error-on-published-feature-service/m-p/1018014#M36127</guid>
      <dc:creator>JoshHellman1</dc:creator>
      <dc:date>2021-01-19T17:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Rule Error on Published Feature Service</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/attribute-rule-error-on-published-feature-service/m-p/1018044#M36128</link>
      <description>&lt;P&gt;Where is this published: to your portal or AGOL?&lt;/P&gt;&lt;P&gt;Is the ID number that it changes it to the correct table? Can you edit the rule once it's published? (I don't think you can....)&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jan 2021 18:59:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/attribute-rule-error-on-published-feature-service/m-p/1018044#M36128</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2021-01-19T18:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Rule Error on Published Feature Service</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/attribute-rule-error-on-published-feature-service/m-p/1018097#M36132</link>
      <description>&lt;P&gt;It's published to our Enterprise server.&lt;/P&gt;&lt;P&gt;I'm not sure where that number it assigns comes from?&amp;nbsp; Or what is causing it to convert once it's a published service.&lt;/P&gt;&lt;P&gt;I have been editing the expression after it's published. First I stop the service from running, then I edit the expression, save the attribute rule, and publish to overwrite the service.&lt;/P&gt;&lt;P&gt;The attribute rule is using a field in the origin table, and when records in the related table are inserted or updated, I want to sum those totals for all matching parcels and write that total value back in the origin table.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2021 14:38:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/attribute-rule-error-on-published-feature-service/m-p/1018097#M36132</guid>
      <dc:creator>JoshHellman1</dc:creator>
      <dc:date>2021-01-20T14:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Rule Error on Published Feature Service</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/attribute-rule-error-on-published-feature-service/m-p/1108808#M46887</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/193857"&gt;@JoshHellman1&lt;/a&gt;,&amp;nbsp;have you been able to establish the source of this issue and a way to fix it?&lt;BR /&gt;&lt;BR /&gt;Did you perhaps import the rules to this Feature Class oor dit you create it from scratch? I suspected that it had something to do with the fact that you copy over the whole Arcade Expression and somehow the reference to the old table (from where the code originated).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Oct 2021 14:02:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/attribute-rule-error-on-published-feature-service/m-p/1108808#M46887</guid>
      <dc:creator>NJJLuus</dc:creator>
      <dc:date>2021-10-19T14:02:57Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Rule Error on Published Feature Service</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/attribute-rule-error-on-published-feature-service/m-p/1131232#M49628</link>
      <description>&lt;P&gt;Have you been able to remedy this? I am working on publishing a feature service in portal and would like to use attribute rules. I know that this doesn't work in AGOL. Does it work with portal?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Jessica&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jan 2022 16:06:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/attribute-rule-error-on-published-feature-service/m-p/1131232#M49628</guid>
      <dc:creator>JessicaJThompson</dc:creator>
      <dc:date>2022-01-06T16:06:28Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Rule Error on Published Feature Service</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/attribute-rule-error-on-published-feature-service/m-p/1131504#M49681</link>
      <description>&lt;P&gt;Hi again thread-members.&lt;BR /&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/119708"&gt;@JessicaJThompson&lt;/a&gt;, It should work fine with an Enterprise (portal) deployment. I have been using it successfully with the issue/(bug?) that pops up every now and then. I have still not got a definitive answer to my issue but the bug seemed to be less likely to appear when I published the feature with the setting to "Allow assignment of unique numeric IDs for sharing web layers" left unchecked.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NJJLuus_0-1641540083472.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/30966i64B118E1C2A04BF4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NJJLuus_0-1641540083472.png" alt="NJJLuus_0-1641540083472.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Nico&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jan 2022 07:21:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/attribute-rule-error-on-published-feature-service/m-p/1131504#M49681</guid>
      <dc:creator>NJJLuus</dc:creator>
      <dc:date>2022-01-07T07:21:50Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Rule Error on Published Feature Service</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/attribute-rule-error-on-published-feature-service/m-p/1148426#M52062</link>
      <description>&lt;P&gt;Hi there, i am having the same issue, but the feature service i am referencing to updates overnight, and it leaves me with a random ID (so Conservation.Cons.ParkExtent, changes to a random ID) This is the code i am using at the moment. Is there anyway to solve this?&lt;/P&gt;&lt;P&gt;//search ParkExtent reference table&lt;BR /&gt;var zones = FeatureSetbyName($datastore, "CONSERVATION.CONS.ParkExtent",["SiteName"],true);&lt;/P&gt;&lt;P&gt;//Get a feature set of zones that intersect the address&lt;BR /&gt;var intersectingZones = Intersects(zones, Geometry($feature))&lt;/P&gt;&lt;P&gt;// Select the first record in the feature set&lt;BR /&gt;var matchedZone = First(intersectingZones)&lt;/P&gt;&lt;P&gt;// Return the SiteName value of the selected zone&lt;BR /&gt;return IIf(IsEmpty(matchedZone), null, matchedZone.SiteName);&lt;/P&gt;</description>
      <pubDate>Mon, 28 Feb 2022 02:14:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/attribute-rule-error-on-published-feature-service/m-p/1148426#M52062</guid>
      <dc:creator>Bio_InfoAdmin</dc:creator>
      <dc:date>2022-02-28T02:14:37Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Rule Error on Published Feature Service</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/attribute-rule-error-on-published-feature-service/m-p/1171033#M54785</link>
      <description>&lt;P&gt;Has anyone heard anything additional about this bug/error? We are experiencing the same issue. Just curious if there have been any updates.&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2022 12:13:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/attribute-rule-error-on-published-feature-service/m-p/1171033#M54785</guid>
      <dc:creator>AnneSantaMaria</dc:creator>
      <dc:date>2022-05-05T12:13:16Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Rule Error on Published Feature Service</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/attribute-rule-error-on-published-feature-service/m-p/1273609#M67393</link>
      <description>&lt;P data-unlink="true"&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/439035"&gt;@AnneSantaMaria&lt;/a&gt;&amp;nbsp;and others, please try following the steps in this &lt;A href="https://support.esri.com/en/technical-article/000027192" target="_self"&gt;technical article,&lt;/A&gt; &amp;nbsp;which addresses this particular error message. From the article: "The error message is returned when an attribute rule is added to a feature layer and the 'Exclude from application evaluation' option is not enabled. This option allows edits to be evaluated at the database level, rather than by ArcGIS Pro, before the edits are sent to the source database."&lt;/P&gt;&lt;P data-unlink="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;P data-unlink="true"&gt;Thanks,&lt;/P&gt;&lt;P data-unlink="true"&gt;Jordan&lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2023 15:55:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/attribute-rule-error-on-published-feature-service/m-p/1273609#M67393</guid>
      <dc:creator>JordanM_Support</dc:creator>
      <dc:date>2023-03-30T15:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Rule Error on Published Feature Service</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/attribute-rule-error-on-published-feature-service/m-p/1351466#M75362</link>
      <description>&lt;P&gt;Hi Josh,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you ever find the cause for this? Or a permanent fix?&lt;/P&gt;&lt;P&gt;We are experiencing the same thing. The table name we reference in an expression is being changed to a global ID looking string. The change is seemingly random. We have services published from this data source- some to Enterprise, some to AGOL. AGOL services are only used for viewing, no editing. We built the rules from scratch and can "repair" them by changing the name back to the actual table name then overwriting the services, but every few months it seems to revert to a global ID string.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 20 Nov 2023 14:58:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/attribute-rule-error-on-published-feature-service/m-p/1351466#M75362</guid>
      <dc:creator>JBeasley</dc:creator>
      <dc:date>2023-11-20T14:58:11Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Rule Error on Published Feature Service</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/attribute-rule-error-on-published-feature-service/m-p/1353767#M75591</link>
      <description>&lt;P&gt;Figured out the source of our issue. We were referencing a table within a few rules that unbeknownst to us was updated every 3-6 months via a full replace- meaning the table was deleted a new one (of the same name) was imported. We have now advised the table be updated via a truncate/append method and have not seen the same behavior since switching. Hope this helps someone!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2023 20:46:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/attribute-rule-error-on-published-feature-service/m-p/1353767#M75591</guid>
      <dc:creator>JBeasley</dc:creator>
      <dc:date>2023-11-27T20:46:39Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Rule Error on Published Feature Service</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/attribute-rule-error-on-published-feature-service/m-p/1674064#M100910</link>
      <description>&lt;P&gt;This absolutely helped me &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/644709"&gt;@JBeasley&lt;/a&gt;, thank you!&lt;BR /&gt;&lt;BR /&gt;The issue occurs for me even in just a file geodatabase, nothing involving services published or AGOL etc. Say my attribute rule on an address point feature class is pulling info from an underlying parcel polygon. The rule is using:&lt;BR /&gt;FeatureSetByName($datastore, "&lt;FONT color="#008080"&gt;Parcels&lt;/FONT&gt;"...&lt;BR /&gt;&lt;BR /&gt;If I delete the Parcels feature class, I assumed I could replace it with another feature class of the same name, and the attribute rule on my address point layer would be unaffected. And it seemed to work fine at first. So I did some more testing. If I check the attribute rule immediately after deleting/replacing the Parcels fc, then the expression code still looks fine and the rule still functions normally. However, if I close the project and reopen, then the attribute rule throws an error, and when inspecting the rule expression I will find the code is changed to something like this:&lt;BR /&gt;FeatureSetByName($datastore, "&lt;FONT color="#FF0000"&gt;{AEDA8ED7-1785-4D10-9C54-0DCB1F4A8A6A}&lt;/FONT&gt;"...&lt;/P&gt;</description>
      <pubDate>Thu, 18 Dec 2025 19:42:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/attribute-rule-error-on-published-feature-service/m-p/1674064#M100910</guid>
      <dc:creator>ColeSutton</dc:creator>
      <dc:date>2025-12-18T19:42:58Z</dc:date>
    </item>
  </channel>
</rss>

