laptop and a wrench

Bug

While using the If Field Value Is logical tool in ModelBuilder, the output always returns true, even when the conditions are false.

ArcGIS Pro
Bug ID Number BUG-000165060
SubmittedFebruary 12, 2024
Last ModifiedMarch 29, 2026
Applies toArcGIS Pro
Version found3.2.1
Operating SystemWindows OS
Operating System VersionN/A
StatusWill Not Be Addressed

Additional Information

The Selection Condition parameter of the If Field Value Is tool should be set to 'Greater than', and the count on the tool set to 0. Selection in geoprocessing considers 0 selected records as a selection that exists but contains zero records. This change was made in previous releases to accommodate other use cases. Setting the parameter to 'Greater than' works as expected.

Steps to Reproduce

Bug ID: BUG-000165060

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