Product: I'm currently using ArcGIS Pro version 3.2.
Backend Database: SQL
Attached Image
I am working on adding an attribute rule to a feature class using Arcade Expression.
The feature class in question is 'FeatureClassA' with Point Geometry, and I am specifically looking to add an attribute rule named 'RuleA'.
Within 'FeatureClassA,' there exists a field named 'countryCode.'
Additionally, there is another feature class named 'CountryCodeFeatureClass' which contains the Polygon Geometry of all countries.
Am trying to, upon inserting a record into 'FeatureClassA,' performs an overlay/intersection operation with the second feature class 'CountryCodeFeatureClass.' The resulting value should then be updated in the 'countryCode' field of 'FeatureClassA.'
Thank you in advance for any guidance or assistance provided.