Attribute Rule firing twice in Feature Services?

08-13-2020 01:26 PM
New Contributor III

I am trying to use NextSequenceValue on insert of a record to increment an ID field and it's working fine when editing the feature class directly, but when I create a new record in an associated feature service the ID increments by 2 instead of the 1 specified in the database sequence. I've tried to accomplish the same by adding 1 to the max value in the field and that expression also increments by 2 in feature services and 1 in the feature class. Selecting "Exclude from application evaluation" didn't change the misbehavior either (I'm not actually confident in what that does). Has anyone else experienced this and found a way around it? I am not yet on 2.5 and can't try out originalfeature, but I am curious if I can test to see if there is something written into the field to interrupt the second fire.

I'd love any help or ideas on how to get around this. Thanks!

Tags (2)
0 Kudos
1 Reply
Occasional Contributor

Not sure your issue and hope you have upgraded since this post. But here is a link to information on Exclude from application evaluation


0 Kudos