<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Model Builder Variable auto-changing to nonsense during model run in ModelBuilder Questions</title>
    <link>https://community.esri.com/t5/modelbuilder-questions/model-builder-variable-auto-changing-to-nonsense/m-p/1524493#M4018</link>
    <description>&lt;P&gt;Hello-&lt;/P&gt;&lt;P&gt;I have a model variable of a feature class type (named "Lake_ID feature class") that uses 2 different inline variables in the parameter, which is the path to a feature class. However, when I run the model, this value in this variable re-sets from the path to complete nonsense and I can't figure out why. Prior to this, I have run the model successfully dozens of times. The two inline variables in the model are a workspace variable (named "Workspace") that points to the default gdb. The other is a string variable (named "Lake_ID") that provides the name of the lake that I am running the model on. For this variable, the value is "L9820" (I don't use quotes in the parameter). This is a string variable because it is used (successfully) in paths to other files (such as tables) elsewhere in the model.&lt;/P&gt;&lt;P&gt;Before running the model, I set this feature class variable to %Workspace%/Lakes/%Lake_ID%. I save, validate, save, and run the model. The model successfully uses this feature class variable to create points along the edge of the lake, but then when I use the same feature class variable to run the buffer tool, it provides an error that the feature class does not exist. Then when I re-open the feature class variable and look, the path has been replaced by a bunch of numbers. See below for before and after pictures.&lt;/P&gt;&lt;P&gt;I suspect this is some kind of bug, but I don't know how to get rid of it other than building the model back from scratch, which would be pretty labor-intensive.&lt;/P&gt;&lt;P&gt;I have tried:&amp;nbsp;&lt;/P&gt;&lt;P&gt;-subbing backslashes versus slashes in the path&lt;/P&gt;&lt;P&gt;-restarting ArcGIS Pro&lt;/P&gt;&lt;P&gt;-restarting the computer&lt;/P&gt;&lt;P&gt;-copying the model to a new model&lt;/P&gt;&lt;P&gt;-hard-wiring the path to the specific feature class I want to use&lt;/P&gt;&lt;P&gt;-deleting all output from the model and layers from the map, saving and closing then re-opening Pro&lt;/P&gt;&lt;P&gt;-using a different lake&lt;/P&gt;&lt;P&gt;Anyone know how to fix this without complete re-creating the model from scratch?&lt;/P&gt;</description>
    <pubDate>Tue, 20 Aug 2024 16:20:53 GMT</pubDate>
    <dc:creator>Kaksak</dc:creator>
    <dc:date>2024-08-20T16:20:53Z</dc:date>
    <item>
      <title>Model Builder Variable auto-changing to nonsense during model run</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/model-builder-variable-auto-changing-to-nonsense/m-p/1524493#M4018</link>
      <description>&lt;P&gt;Hello-&lt;/P&gt;&lt;P&gt;I have a model variable of a feature class type (named "Lake_ID feature class") that uses 2 different inline variables in the parameter, which is the path to a feature class. However, when I run the model, this value in this variable re-sets from the path to complete nonsense and I can't figure out why. Prior to this, I have run the model successfully dozens of times. The two inline variables in the model are a workspace variable (named "Workspace") that points to the default gdb. The other is a string variable (named "Lake_ID") that provides the name of the lake that I am running the model on. For this variable, the value is "L9820" (I don't use quotes in the parameter). This is a string variable because it is used (successfully) in paths to other files (such as tables) elsewhere in the model.&lt;/P&gt;&lt;P&gt;Before running the model, I set this feature class variable to %Workspace%/Lakes/%Lake_ID%. I save, validate, save, and run the model. The model successfully uses this feature class variable to create points along the edge of the lake, but then when I use the same feature class variable to run the buffer tool, it provides an error that the feature class does not exist. Then when I re-open the feature class variable and look, the path has been replaced by a bunch of numbers. See below for before and after pictures.&lt;/P&gt;&lt;P&gt;I suspect this is some kind of bug, but I don't know how to get rid of it other than building the model back from scratch, which would be pretty labor-intensive.&lt;/P&gt;&lt;P&gt;I have tried:&amp;nbsp;&lt;/P&gt;&lt;P&gt;-subbing backslashes versus slashes in the path&lt;/P&gt;&lt;P&gt;-restarting ArcGIS Pro&lt;/P&gt;&lt;P&gt;-restarting the computer&lt;/P&gt;&lt;P&gt;-copying the model to a new model&lt;/P&gt;&lt;P&gt;-hard-wiring the path to the specific feature class I want to use&lt;/P&gt;&lt;P&gt;-deleting all output from the model and layers from the map, saving and closing then re-opening Pro&lt;/P&gt;&lt;P&gt;-using a different lake&lt;/P&gt;&lt;P&gt;Anyone know how to fix this without complete re-creating the model from scratch?&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2024 16:20:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/model-builder-variable-auto-changing-to-nonsense/m-p/1524493#M4018</guid>
      <dc:creator>Kaksak</dc:creator>
      <dc:date>2024-08-20T16:20:53Z</dc:date>
    </item>
  </channel>
</rss>

