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.
![MRReddy_0-1703015125615.png MRReddy_0-1703015125615.png](https://community.esri.com/t5/image/serverpage/image-id/89541i482A8898A2D35D66/image-size/medium?v=v2&px=400)
![MRReddy_1-1703015189826.png MRReddy_1-1703015189826.png](https://community.esri.com/t5/image/serverpage/image-id/89542iD7D9080D422A35F2/image-size/medium?v=v2&px=400)