Hello,
I created a immediate calculation rule to calculate the length of polyline when the insert/update action occurred. I made sure I checked syntax when enter the Arcade codes, but when I tried to save rule, the rule row turned red without telling what's wrong.
Does anyone have idea what's wrong with this rule? The targeted field "Length_" has data type of "float". The polyline feature class uses WGS1984 (WKID 4326) and probably because of that, the default shape_length return incorrect shape length numbers. That's why I decided to set up a new column. I tried to use field calculator just to make sure calculate geometry worked under this spatial reference.
