laptop and a wrench

Error

After ArcGIS Velocity 3.2, multi-line filter by expressions no longer filter as expected.

Última publicación: September 6, 2022 ArcGIS Velocity
Número de ID del error BUG-000150440
EnviadoJune 29, 2022
Última modificaciónNovember 13, 2025
Relacionado conArcGIS Velocity
Versión encontradaN/A
Sistema operativoWindows OS
Versión de sistema operativo10.0 64 Bit
EstadoAs Designed

Información adicional

In ArcGIS Velocity, the 'Filter by Expression' tool retains features when the Arcade expression evaluates to true. If the Arcade expression evaluates to false, the feature is dropped. In the supplied reproduction expression, Arcade returns the last boolean of the expression. This behavior is as designed by Arcade, reproducible in the Arcade playground, and independent of ArcGIS Velocity. Instead, the Arcade expression must be designed to combine multiple expressions using the && operator only to retain features with a value of true for all expressions: $feature.fieldValue > 70 && $feature.fieldValue != '15' && $feature.fieldValue != 'AB' Alternatively, multi-line expressions can be utilized but the Arcade expression must return a boolean value of true or false for the 'Filter by Expression' tool.

Solución alternativa

When utilizing the Filter by Expression tool, create a new filter for each expression.

Pasos para reproducir

ID del error: BUG-000150440

Software:

  • ArcGIS Velocity

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