AnsweredAssumed Answered

Auto-increment with Attribute Rules

Question asked by Alonzone85 on Jun 6, 2019
Latest reply on Jun 7, 2019 by Alonzone85

Hi everyone,
I'm experimenting with using of Attribute Rules on my Enterprise Geodatabase. I'd like to use this useful feature to auto-increment an ID code according to my specific scheme:
I'd need that for each new entry in a table, the field with the id-code (a "long type" field) increments by 10 units with respect to the maximum value already existing in the table. I've tried this expression

Max ($ feature.name_of_the_field) + 10

but without result. The RDBMS is Microsoft SQL Server.   

Can someone help me?