Hello, I trying to add an attribute rule to a branch versioned layer in enterprise 11.2.
The rule I'm trying to add will automatically add a new asset ID (alphanumeric) in a sequential matter when a new asset is added.
I keep getting a variety of errors and have worked through them but I am currently stuck with the error "Error on line 11, Table not found $featureAsset_Id.
I can not figured out why it doesn't see the table (the variable layer name is coming from the table). I am new to coding and have it working in python, but ESRI only has arcade as the option to use in the attribute rule window. My code is below.
Also dose anybody know if the attribute rule window in 11.4 will allow python as an option, Currently in 11.2 Arcade is the only option I'm seeing and it appears it cannot do what I want.