Select to view content in your preferred language

Model Builder Tool Changes Input Layers

2357
16
10-14-2021 05:28 AM
LukeGilner1
Occasional Contributor

I keep having an intermittent issue with several different models.  When I run them from the toolbox, one or more of the original input layers will randomly change to a different layer.  This mostly happens when I reopen my project the next day, but not always.  Sometimes the underlying layer within the model properties changes, sometimes is does not, but the labels always stay correct.

I found that when I open the tool from the toolbox and before running it in the geoprocessing pane, if I  switch to a Layout and then back to the Map view, the tool refreshes and often changes back to the correct layer.

The input layers are hosted feature services and I have them set as parameters.  I'm using Pro 2.8.3.

Am I doing something wrong, or is this a bug, or just a refresh issue?  PLEASE HELP

See the picture below.  The top two parameters are my input layers.  You can see that the first one changed to a different layer in the dropdown.  But the correct layer is shown in the model, and when I open the tool properties everything is correct this time (sometimes it changes though).

LukeGilner1_0-1634213747573.png

 

 

16 Replies
AmberMillison
Occasional Contributor

I am still having this issue in 2023! ESRI, any fixes or workarounds to this bug? Toggling between a layout and back to the model seems to work but it's frustrating to have to keep checking if the model inputs are correct. I am running my model on 2.9.5.

0 Kudos
LukeGilner1
Occasional Contributor

I would suggest to run your models through your toolbox.  As long as it's set up correctly in the model builder initially, it seems to run correctly through the toolbox.  However, if you edit it in model builder, you may have to re-edit all the layers so they are correct again.

0 Kudos
MatthijsAlberts
New Contributor II

Same here. In 3.0.3 this still occurs. It doesn't matter whether I'm running it from modelbuilder or from toolbox. Changing feature layers in the map seems a (the?) trigger.

The only 'solution' is to remove the feature layer from the model and add it again. Changing it from the popup doesn't work. Why doesn't Arcgis have a steady link to the feature layer.....?

0 Kudos
tahunt01
New Contributor II

I'm experiencing this issue as well.

0 Kudos
LindseyGreidanus
New Contributor III

I am having this issue as well, it seems to occur after closing and opening the program. 

0 Kudos
TrinaNair
New Contributor III

I'm experiencing this issue as well.   Very painful to always go in and remap the layer.

0 Kudos
LukeGilner1
Occasional Contributor

Even though they show up wrong in Model Builder, the models appear to run correctly through the Toolbox.  I haven't been remapping any of my models.  If I have parameters on the model, I just change it to the correct layer(s) when I go to run it.  Or if there are no parameters, it just runs correctly.  You could check by sending the model to a Python window - it should show the layer names correctly in there.

0 Kudos