| Número de ID del error |
BUG-000150440 |
| Enviado | June 29, 2022 |
| Última modificación | November 13, 2025 |
| Relacionado con | ArcGIS Velocity |
| Versión encontrada | N/A |
| Sistema operativo | Windows OS |
| Versión de sistema operativo | 10.0 64 Bit |
| Estado | As Designed
Tras revisión realizada por el equipo de desarrollo, se ha determinado que este comportamiento es acorde con lo designado. Consulte los detalles en la sección Información adicional.
|
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