Select to view content in your preferred language

Attribute Rules: Inactive Triggering Fields still activating?

48
1
8 hours ago
Labels (2)
SierraPelizza
Emerging Contributor

Hello!

I have an attribute rule set to calculate the current date/time in a field named "DateLtChng", triggering on Insert and Update. I have this rule set to trigger on all field updates EXCEPT Lat & Lon (noted in Inactive triggering fields list). 

I have noticed, that if I go to the Lat/Lon field and do a "Calculate Geometry" function my attribute rule stays true and does not trigger, thereby not updating my DateLtChng field. This is what I want.

However, I noticed if I do a manual update (physically typing in a number) to either of these two fields my rule ends up triggering. I am trying to avoid all updates to my DateLtChng field when it comes to Lat/Lon (we usually do these updates in a batch format, and it would be an inaccurate update to have the DateLtChng field change every time this happens).

Anyone know why a Calculate Geometry follows the rules I set, but a manual update does not? Or if I can adjust my rule to make this distinction?

 

Imaged attached of how my rule is set up for reference. I am on ArcGIS Pro 3.5. My Lat/Lon fields are set to the "Double" Data type.

SierraPelizza_0-1747858613644.png

 

Any help appreciated! 

 

0 Kudos
1 Reply
Robert_LeClair
Esri Esteemed Contributor

So in your screen grab, you have the "editable" box checked.  In the help documentation, it says:

Checked—User-defined attribute edits are permitted on a field. User input for this field can be overwritten by evaluation of an attribute rule based on the rule definition.

Unchecked—User-defined attribute edits are not permitted, and the attribute field the rule is created on is defined as a system-maintained field. The calculation rule will be applied during the triggering event defined in the rule.

What I'm wondering if you uncheck the box, then user-defined edits, such as the user typing in an attribute value, is not allowed and won't be triggered.  If I'm understanding the documentation correctly.  What occurs if you uncheck the box?

0 Kudos