laptop and a wrench

Bug

A model created in ArcGIS Pro 3.1.3, including an iterator and the Spatial Join tool with the merge rule set to 'Sum' for one of the attributes, executes unexpectedly. The output from the first iteration is correct, but for the following target feature classes, the tool reverts to the 'First' merge rule (the default rule option).

ArcGIS Pro
Bug ID Number BUG-000161459
SubmittedSeptember 15, 2023
Last ModifiedJune 20, 2025
Applies toArcGIS Pro
Version found3.1.3
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusNon-Reproducible

Additional Information

The steps to reproduce produce the correct result with a new model created in ArcGIS Pro 3.5. The Spatial Join messages from the model indicate that the SUM merge rule is used for each iteration, and manually inspecting the resulting feature classes shows the correctly summed number for each polygon in the output feature classes. Running the model tool with the Command Syntax option enabled shows the three spatial joins run in the model use the SUM merge rule for the field map: Executing (Spatial Join): SpatialJoin Polygon_1_defaultFields InputPoints Case03436011_OutputData.gdb\Polygon_1_defaultFields_SpatialJoin JOIN_ONE_TO_ONE KEEP_ALL "Number "Number" true true false 4 Long 0 0,Sum,#,InputPoints,Number,-1,-1" INTERSECT # # # Executing (Spatial Join): SpatialJoin Polygon_2_defaultFields InputPoints Case03436011_OutputData.gdb\Polygon_2_defaultFields_SpatialJoin JOIN_ONE_TO_ONE KEEP_ALL "Number "Number" true true false 4 Long 0 0,Sum,#,InputPoints,Number,-1,-1" INTERSECT # # # Executing (Spatial Join): SpatialJoin TwoPolygons_defaultFields InputPoints Case03436011_OutputData.gdb\TwoPolygons_defaultFields_SpatialJoin JOIN_ONE_TO_ONE KEEP_ALL "Number "Number" true true false 4 Long 0 0,Sum,#,InputPoints,Number,-1,-1" INTERSECT # # #

Steps to Reproduce

Bug ID: BUG-000161459

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