Select to view content in your preferred language

Field map resetting in modelbuilder

159
1
04-01-2025 02:00 PM
Labels (1)
YusefSamari
Frequent Contributor

I am using ArcGIS Pro 3.4.3 with everything stored in File Geodatabases.

I made a model not very long ago, one of the first steps of which was to Select a layer by location, then export this using the Export Features tool, and in that process drop several of the fields and rename several others using the field map. It was running fine when I last used it a couple of months ago. I just tried it now and it failed on one of the later steps, because the field map has been reset. It now contains all of the original fields, none of them renamed. Does anyone know why this happened and how to prevent it?

Tags (1)
1 Reply
DuncanHornby
MVP Notable Contributor

I too am experiencing this behaviour in 3.5.1 and believe its some sort of bug introduced by ESRI. I have the simplest of models as shown below. On each iteration the field map is lost/reset. The inputs have the same schema they are simply being exported with field lengths being adjusted.

Its really frustrating and makes automation in modelbuilder impossible.

DuncanHornby_0-1749481780338.png

I've tagged a few others who use modelbuilder and may have a solution?

@ShitijMehta , @KoryKramer , @curtvprice 

 

0 Kudos