Select to view content in your preferred language

Attribute Rule created but Database Sequence not sequencing

78
2
Jump to solution
Wednesday
TimHayes3
Frequent Contributor

I am using Pro 3.3. I have created a Database Sequence in Toolbox. Next I created a new Attribute Rule to assign the sequence to the ADDR_KEY field in my Feature Class. The name of the Database Sequence and Field are same, ADDR_KEY. I created the Arcade expression. I do see the Execution - Disabled box always seems to be checked, not sure if this is an issue. 

 

Can someone take a look at this screenshot and tell me what I am doing wrong? I add a new point and the ADDR_KEY field remains empty, not populated with the sequence number as expected. 

TimHayes3_0-1749668929702.png

 

0 Kudos
1 Solution

Accepted Solutions
TimHayes3
Frequent Contributor

I found the error. In Attribute Rules, I needed to check the "Exclude from application evaluation".

https://pro.arcgis.com/en/pro-app/latest/tool-reference/tool-errors-and-warnings/001001-010000/tool-...

 

It all works now.

 

View solution in original post

2 Replies
TimHayes3
Frequent Contributor

I found the error. In Attribute Rules, I needed to check the "Exclude from application evaluation".

https://pro.arcgis.com/en/pro-app/latest/tool-reference/tool-errors-and-warnings/001001-010000/tool-...

 

It all works now.

 

AlfredBaldenweck
MVP Regular Contributor

Glad you figured it out. 

For other people reading this, if you mouse over the red square in that screenshot it will generally tell you the problem. 

I did not know that and once spent an hour frantically trying to guess what was wrong, only for it to be that I hadn't turned on globalIds

0 Kudos