I need some help setting up an attribute rule. I thought it would be a very straightforward one, but it's not behaving as expected. It is a Calculation rule that is supposed to populate an additional field with the value of the record's ObjectID. The expression I currently have in there is:
$feature.OBJECTID
And the "Insert" trigger checkbox is the only one checked.
Instead of populating each feature with its own ObjectID, what is actually happening is that when someone saves their edits, the entire batch of features that have been added since the last save get populated with the same ObjectID of the first feature in the batch. For example, someone adds 3 features since their last save. ObjectID 10, 11, and 12. The additional ID field that I'm trying to populate instead gets the values 10, 10, and 10.
The data is in an ArcSDE geodatabase, and we are using ArcPro 3.2.1.
Do I need to check the box for "Exclude from application evaluation"? Or edit the expression in some way? Or is this workflow just not possible?