<?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>idea Control attribute rule execution order in Attribute Rules Ideas</title>
    <link>https://community.esri.com/t5/attribute-rules-ideas/control-attribute-rule-execution-order/idi-p/1269746</link>
    <description>&lt;P&gt;From&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/294341"&gt;@JohannesLindner&lt;/a&gt;&amp;nbsp;:&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;If multiple rules trigger on the same table, you have no control over the execution order, which can give unwanted results if a rule depends on a field that is calculated by another rule.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-pro-questions/lessons-learned-attribute-rules/m-p/1269641/highlight/true#M66913" target="_self"&gt;Lessons Learned — Attribute Rules&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Could attribute rules be enhanced so that we can control the execution order? That would allow us to split huge attribute rules into smaller more manageable rules.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 21 Mar 2023 03:40:26 GMT</pubDate>
    <dc:creator>Bud</dc:creator>
    <dc:date>2023-03-21T03:40:26Z</dc:date>
    <item>
      <title>Control attribute rule execution order</title>
      <link>https://community.esri.com/t5/attribute-rules-ideas/control-attribute-rule-execution-order/idi-p/1269746</link>
      <description>&lt;P&gt;From&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/294341"&gt;@JohannesLindner&lt;/a&gt;&amp;nbsp;:&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;If multiple rules trigger on the same table, you have no control over the execution order, which can give unwanted results if a rule depends on a field that is calculated by another rule.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-pro-questions/lessons-learned-attribute-rules/m-p/1269641/highlight/true#M66913" target="_self"&gt;Lessons Learned — Attribute Rules&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Could attribute rules be enhanced so that we can control the execution order? That would allow us to split huge attribute rules into smaller more manageable rules.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 03:40:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-ideas/control-attribute-rule-execution-order/idi-p/1269746</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2023-03-21T03:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: Control attribute rule execution order - Status changed to: In Product Plan</title>
      <link>https://community.esri.com/t5/attribute-rules-ideas/control-attribute-rule-execution-order/idc-p/1269865#M143</link>
      <description>&lt;P&gt;You can define the order of calculation attribute rules:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MikeMillerGIS_0-1679409905823.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/65801i7D52C96828CB3FD4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MikeMillerGIS_0-1679409905823.png" alt="MikeMillerGIS_0-1679409905823.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 14:45:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-ideas/control-attribute-rule-execution-order/idc-p/1269865#M143</guid>
      <dc:creator>MikeMillerGIS</dc:creator>
      <dc:date>2023-03-21T14:45:26Z</dc:date>
    </item>
    <item>
      <title>Re: Control attribute rule execution order</title>
      <link>https://community.esri.com/t5/attribute-rules-ideas/control-attribute-rule-execution-order/idc-p/1269895#M144</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;&lt;P&gt;Thanks Mike. Just to clarify, does that functionality fully/currently exist in Pro? Or is it coming in a future version?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 15:47:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-ideas/control-attribute-rule-execution-order/idc-p/1269895#M144</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2023-03-21T15:47:20Z</dc:date>
    </item>
    <item>
      <title>Re: Control attribute rule execution order</title>
      <link>https://community.esri.com/t5/attribute-rules-ideas/control-attribute-rule-execution-order/idc-p/1269907#M145</link>
      <description>&lt;P&gt;That screen shot was from 2.9.&amp;nbsp; I believe it has always been there for calculation rules.&amp;nbsp; It is not present for constraint.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 16:01:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-ideas/control-attribute-rule-execution-order/idc-p/1269907#M145</guid>
      <dc:creator>MikeMillerGIS</dc:creator>
      <dc:date>2023-03-21T16:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: Control attribute rule execution order</title>
      <link>https://community.esri.com/t5/attribute-rules-ideas/control-attribute-rule-execution-order/idc-p/1269916#M146</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/188597"&gt;@MikeMillerGIS&lt;/a&gt;and&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/294341"&gt;@JohannesLindner&lt;/a&gt;:&lt;/P&gt;&lt;P&gt;Would there be any benefit in controlling attribute rule order of execution &lt;U&gt;&lt;EM&gt;globally&lt;/EM&gt;&lt;/U&gt; for that FC/table?&lt;/P&gt;&lt;P&gt;For example, the order ID would be a unique number between all calculation, constraint, and validation rules. The order ID would be honored, regardless of what kind of attribute rule is.&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Calculation rule&lt;/LI&gt;&lt;LI&gt;Constraint rule&lt;/LI&gt;&lt;LI&gt;Calculation rule&lt;/LI&gt;&lt;LI&gt;Calculation rule&lt;/LI&gt;&lt;LI&gt;Validation rule&lt;/LI&gt;&lt;LI&gt;Constraint rule&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I don't have a lot of experience with attribute rules. So I don't know if that's sensible or not.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 16:15:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-ideas/control-attribute-rule-execution-order/idc-p/1269916#M146</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2023-03-21T16:15:45Z</dc:date>
    </item>
    <item>
      <title>Re: Control attribute rule execution order</title>
      <link>https://community.esri.com/t5/attribute-rules-ideas/control-attribute-rule-execution-order/idc-p/1365582#M192</link>
      <description>&lt;P&gt;You can always change the order of a rule by simply double clicking on the order number and changing it manually to the desired order.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jan 2024 21:05:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-ideas/control-attribute-rule-execution-order/idc-p/1365582#M192</guid>
      <dc:creator>RPGIS</dc:creator>
      <dc:date>2024-01-02T21:05:40Z</dc:date>
    </item>
    <item>
      <title>Re: Control attribute rule execution order</title>
      <link>https://community.esri.com/t5/attribute-rules-ideas/control-attribute-rule-execution-order/idc-p/1366269#M193</link>
      <description>&lt;P&gt;Related:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-pro-ideas/move-attribute-rules-in-pro-dialog/idc-p/1366268" target="_self"&gt;Move attribute rules in Pro Dialog&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2024 14:39:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-ideas/control-attribute-rule-execution-order/idc-p/1366269#M193</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2024-01-04T14:39:59Z</dc:date>
    </item>
    <item>
      <title>Re: Control attribute rule execution order - Status changed to: Already Offered</title>
      <link>https://community.esri.com/t5/attribute-rules-ideas/control-attribute-rule-execution-order/idc-p/1372627#M200</link>
      <description>&lt;P&gt;Thanks everyone for your ideas and comments!&lt;BR /&gt;&lt;BR /&gt;There are two ways that you are able to alter the execution order of the attribute rules on a class.&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; As&amp;nbsp;mentioned, giving a new order number to a rule in the attribute rules view will reorder the rules without the need to delete and recreate.&amp;nbsp;&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; If you are looking for a programmatic approach, the &lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/reorder-attribute-rule.htm" target="_self"&gt;reorder attribute rules&lt;/A&gt; GP tool will also allow you to script changes to the execution order of existing calculation attribute rules.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/3.2/help/data/geodatabases/overview/evaluate-attribute-rules.htm#ESRI_SECTION1_C30D73392D964D51A8B606128A8A6E8F" target="_blank" rel="noopener noreferrer"&gt;Immediate&lt;/A&gt; calculation and constraint rules are &lt;A href="https://pro.arcgis.com/en/pro-app/3.2/help/data/geodatabases/overview/evaluate-attribute-rules.htm#ESRI_SECTION1_C30D73392D964D51A8B606128A8A6E8F" target="_blank" rel="noopener noreferrer"&gt;&lt;U&gt;evaluated&lt;/U&gt;&lt;/A&gt; &lt;A href="https://pro.arcgis.com/en/pro-app/3.2/help/data/geodatabases/overview/evaluate-attribute-rules.htm#ESRI_SECTION1_C30D73392D964D51A8B606128A8A6E8F" target="_blank" rel="noopener noreferrer"&gt;&lt;U&gt;during edit operations&lt;/U&gt;&lt;/A&gt;&amp;nbsp;for specific triggering events (insert, update, and delete) defined in the rule properties on the class being edited.&lt;BR /&gt;&lt;BR /&gt;Immediate calculation rules are evaluated first in their respective order followed by constraint rules.&lt;BR /&gt;&lt;BR /&gt;As constraint rules do not change the state of the data, they have no specified order.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 20 Jan 2024 00:39:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-ideas/control-attribute-rule-execution-order/idc-p/1372627#M200</guid>
      <dc:creator>SSWoodward</dc:creator>
      <dc:date>2024-01-20T00:39:59Z</dc:date>
    </item>
    <item>
      <title>Re: Control attribute rule execution order</title>
      <link>https://community.esri.com/t5/attribute-rules-ideas/control-attribute-rule-execution-order/idc-p/1581555#M281</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/604859"&gt;@SSWoodward&lt;/a&gt;&amp;nbsp; for clarifying the order of execution for Attribute Rules especially with Calculation first and then Constraint. It will be nice if the &lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/overview/calculation-attribute-rules.htm" target="_self"&gt;documentation&lt;/A&gt; mentions the order.&lt;/P&gt;&lt;P&gt;Is it safe to assume both immediate calculation and constraint rules fire "after event" i.e. after insert/update/delete event has occurred and database row now reflects the event action?&lt;/P&gt;&lt;P&gt;In database speak, are they similar to "&lt;STRONG&gt;after &amp;lt;event&amp;gt; for each row&lt;/STRONG&gt;" trigger? e.g. if we want to check count of child features using FeatureSetByRelationshipName, it will include current feature being added as child feature?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vish&lt;/P&gt;</description>
      <pubDate>Mon, 03 Feb 2025 22:45:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-ideas/control-attribute-rule-execution-order/idc-p/1581555#M281</guid>
      <dc:creator>EstherSmith_Dev</dc:creator>
      <dc:date>2025-02-03T22:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: Control attribute rule execution order</title>
      <link>https://community.esri.com/t5/attribute-rules-ideas/control-attribute-rule-execution-order/idc-p/1581725#M282</link>
      <description>&lt;P&gt;On a side note, I found this interesting, just in general regarding how ArcGIS creates records in the DB, (not related to attribute rules).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;"ArcGIS seems to execute two db operations to create a spatial record:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;-Create the geometry and OBJECTID.&lt;/DIV&gt;&lt;DIV&gt;-Update the record with the rest of the attribute values.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;It looks like one operation to the front-end user, but in the background it is actually two."&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;A href="https://community.esri.com/t5/geodatabase-questions/sql-trigger-not-executing-on-initial-insert/m-p/1045858/highlight/true#M7112" target="_blank" rel="noopener"&gt;https://community.esri.com/t5/geodatabase-questions/sql-trigger-not-executing-on-initial-insert/m-p/1045858/highlight/true#M7112&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Tue, 04 Feb 2025 13:50:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-ideas/control-attribute-rule-execution-order/idc-p/1581725#M282</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2025-02-04T13:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: Control attribute rule execution order</title>
      <link>https://community.esri.com/t5/attribute-rules-ideas/control-attribute-rule-execution-order/idc-p/1581865#M283</link>
      <description>&lt;P&gt;I agree&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/643686"&gt;@EstherSmith_Dev&lt;/a&gt;&amp;nbsp;. The doc link you shared does have a section on evaluation order below the sections that describe the different rule types.&amp;nbsp; The section links to the more extensive doc on evaluation order.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll chat with the team and see if there is a way to feature it more prominently.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Feb 2025 17:31:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-ideas/control-attribute-rule-execution-order/idc-p/1581865#M283</guid>
      <dc:creator>SSWoodward</dc:creator>
      <dc:date>2025-02-04T17:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: Control attribute rule execution order</title>
      <link>https://community.esri.com/t5/attribute-rules-ideas/control-attribute-rule-execution-order/idc-p/1582466#M284</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/643686"&gt;@EstherSmith_Dev&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;In regard to:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;In database speak, are they similar to "&lt;/SPAN&gt;&lt;STRONG&gt;after &amp;lt;event&amp;gt; for each row&lt;/STRONG&gt;&lt;SPAN&gt;" trigger? e.g. if we want to check count of child features using FeatureSetByRelationshipName, it will include current feature being added as child feature?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;Yes, the rule fires after the triggering event. &lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2025 22:09:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-ideas/control-attribute-rule-execution-order/idc-p/1582466#M284</guid>
      <dc:creator>SSWoodward</dc:creator>
      <dc:date>2025-02-05T22:09:53Z</dc:date>
    </item>
  </channel>
</rss>

