laptop and a wrench

Bug

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

Last Published: September 6, 2022 ArcGIS Velocity
Bug ID Number BUG-000150440
SubmittedJune 29, 2022
Last ModifiedMay 8, 2025
Applies toArcGIS Velocity
Version foundN/A
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusAs Designed

Additional Information

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.

Workaround

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

Steps to Reproduce

Bug ID: BUG-000150440

Software:

  • ArcGIS Velocity

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