Creating Sequential Numbers via Attribute Rule in Pro for Enterprise

05-01-2023 09:55 AM
New Contributor

Working within Pro trying to create a Database Sequence to be used for an Attribute Rule on a map that is referenced to our enterprise Portal. However each time I go to run the create Database Sequence I am successful but when I go to use it in my Attribute Rule it does not work and it produces an error basically saying that the Database Sequence does not exist. Is there a reason for this?

1 Reply
MVP Frequent Contributor

Normally, that means you are not passing the correct name of the sequence.

are you just using something like:

return NextSequenceValue("SeqName")

How/where did you create the sequence?  SQL, FGDB?