AnsweredAssumed Answered

ModelBuilder Inline Variable Sub coming out as literal

Question asked by GabrielMarcus on Aug 6, 2018
Latest reply on Aug 6, 2018 by curtvprice

My model will be run on successive days and I want a month and date to be appended to the end. I'm using a parameter  In my frustration to get this to work, I created a model variable,  (tried string, variant and 'any value' for the data type and made each a parameter. 


My problem is that inline variable substitution comes out as the literal input. For example "CombinedData_%StrDa%" 

StrDa is the name of the variable. Instead of substituting %StrDa% for its value, CombinedData_%StrDa%" is the name of the shapefile. I even tried %n% and it comes out as CombinedData_%n%


I've browsed and searched for the answer, but I haven't found anything. I'm running ArcGIS Pro 2.2.1