Select to view content in your preferred language

ModelBuilder alters names of output tables, breaking the model

79
1
yesterday
GiuseppeBaiamonte
New Contributor II

In ArcGIS Pro 3.3.1 ModelBuilder, the first time a model is run it operates correctly.

After the first run, in several tools (but not all) the names of the output tables are altered (_View is appended at the end).

For example, this Export Table uses an AGOL layer as source and outputs the table to a local file geodatabase (path present but not shown):

Step1.PNG

After the first run, with no user interaction, output is altered as following (path is lost):

Step2.PNG

Running the model in this altered state results in Error 000271 (cannot open the input datasets):

Step3-Error.PNG

To have a functional model again, it is necessary to edit all the output table names that have been altered, removing the "_View".

Export Table and Table Select both exhibit this unwanted behaviour.

We have reproduced the issue on several different PCs and with at least two versions of ArcGIS Pro (3.1 and 3.3.1).

Tags (2)
1 Reply
DuncanHornby
MVP Notable Contributor

Over the years I found various ArcPro tools to have unwanted behaviour when employed within a model builder environment, especially field mapping, seems to be quite problematic.  I've always felt it has been a sort of chicken and egg situation in these cases.

By far the path of least resistance in your case is to run the tools in a python script environment. You have much more control over what goes into the parameters.

0 Kudos