I am trying to create a feature class with attribute rules (ArcPro 2.9.2), where the next sequential number is added to the uniqueID field when a new feature is inserted. The Arcade expression appears to be correct, but the “Save” button is greyed out and I’m not able to test if the attribute rule works. I first created a database sequence I named "MySeq" for the file geodatabase, with sequence start id = 1 and sequence increment value = 1.
Arcade Expression:
var id = NextSequenceValue ("MySeq");
return 'ID-${id}'
Any guidance would be greatly appreciated.