laptop and a wrench

Error

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

ArcGIS Pro
Número de ID del error BUG-000165060
EnviadoFebruary 12, 2024
Última modificaciónMarch 29, 2026
Relacionado conArcGIS Pro
Versión encontrada3.2.1
Sistema operativoWindows OS
Versión de sistema operativoN/A
EstadoWill Not Be Addressed

Información adicional

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.

Pasos para reproducir

ID del error: BUG-000165060

Software:

  • ArcGIS Pro

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga