laptop and a wrench

Bug

Constraint Attribute rule does not consider subtype on insert

Last Published: July 20, 2021 ArcGIS Pro
Bug ID Number BUG-000140372
SubmittedJune 1, 2021
Last ModifiedJuly 3, 2025
Applies toArcGIS Pro
Version found2.7.2
Operating SystemWindows OS
Operating System Version10.0
Version Fixed2.9/2.8.2
StatusFixed

Workaround

Create a new attribute rule and apply it to all Subtypes (select <All>) instead of selecting a subtype name.

Wrap the original attribute rule expression in an if statement to handle the specific subtype user wish to constrain using the subtype's value. Return false if it is not the subtype so user rules does not execute.

Example:

if($feature.SubType == <subtype value, should be an integer>){

<attribute rule conditions here>

return false

}

Steps to Reproduce

Bug ID: BUG-000140372

Software:

  • ArcGIS Pro

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options