Select to view content in your preferred language

Validation Rule - Invalid Arcade expression

437
0
05-19-2024 11:38 PM
MarkMindlin_idea
Regular Contributor

ArcGIS Pro 3.2.0

ARCGIS Enterprise 11.2

AWS Aurora database 14.3

 

We have an error saving a Validation Rule with an Arcade expression

if (Length($feature, 'meters') < 25)
{ return false; }
else
{ return true; }

we tried different ways to work with Geometry but have the same error "Invalid Arcade expression"

var line = Geometry($feature);

 

Although we have no error in the Expression Builder, the error appears when we click Save (Validation rule).

And we follow the attached order how to create

https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/overview/validation-attribute-rules....

MarkMindlin_idea_0-1716186757856.png

MarkMindlin_idea_1-1716186808664.png

 

Tags (1)
0 Kudos
0 Replies