AnsweredAssumed Answered

Arcade and attribut rules

Question asked by on Mar 25, 2020
Latest reply on Mar 25, 2020 by jborgion

Hi Im trying to create my first attribut rule. Im using ArcGis Pro 2.5

When validating the following code


var area= FeatureSetByName($datastore,"TestArea")
var fs = Contains(area,$feature)
var res = First(fs)


It fails with this message


Invalid expression
Error on line 3.
General evaluation error


If i Change First to Count, i do not get a validation error. Why can i not use first?