Select to view content in your preferred language

Attribute rules cannot overwrite invalid domain value

291
1
03-06-2026 11:31 AM
Dennis1
Occasional Contributor

I have a calculation attribute rule that overwrites several fields to null when the feature's subtype is changed. Null values are allowed in the fields. The rule runs correctly when all the fields being overwritten are currently null or have a valid domain value. However, I receive an error on the tool when a field contains an invalid domain value or no value.

Is this an expected behavior? Why is the domain not evaluated after the edit is completed when the field contains a valid value?

Using ArcGIS Pro 3.1.6 and the database is ArcGIS Enterprise 10.9.1

0 Kudos
1 Reply
CalvinHarmin
MVP

Hi Dennis, would you be able to paste your calculation expression here so we can see it and it might provide more context or clues to what might be happening? In my experience there can also be some unintuitive behavior when using subtypes, since each subtype can have their own domain and default values settings independent from the other subtypes and independent from the 'Data Source' field settings. I might be able to try to reproduce your calculation on my end and see if I'm having the same behavior. 

0 Kudos