<?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 Re: Backing Up Files Using Model Builder in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/backing-up-files-using-model-builder/m-p/625924#M20745</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: NobbirAhmed&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You don't get what you want for 2 and 3 with Feature Class to Shapefile (multiple).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. The tool does not override if a file already exists. It appends an underscore and a number to the name. So, if rivers.shp exists then the tool, when you try copy again, will name the data rivers_1.shp&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3. The tool does not compare states.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For the 3rd condition you can use Feature Compare tool. For doing that your workflow will be:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Make copies (using Copy Features in batch mode) of all original data to a base SDE location. These will be your base data to compare with. Ideally, base data should be in SDE workspace. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- As Feature Class To Shapefile will not override your existing data, I would suggest using Copy Features in batch mode. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- When updating (if you don't use SDE base data):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;first compare SDE current data with the base SDE data (using, for example, Feature Compare). If a dataset is changed the tool will return False in which case copy that data as a shapefile to the folder. Also, update the base data with the changed SDE data.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Jun 2012 20:25:11 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2012-06-15T20:25:11Z</dc:date>
    <item>
      <title>Backing Up Files Using Model Builder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/backing-up-files-using-model-builder/m-p/625923#M20744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: MCline19&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to create a model, using model builder, that will back up multiple files under certain conditions.&amp;nbsp; The files being backed up are .sde files and I need them to be backed up as .shp files.&amp;nbsp; I am using the "Feature Class To Shapefile (multiple)" conversion tool to accomplish this.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The conditions I need to meet include:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Keeps current file names&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Overwrites existing files&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Only backup files which have been modified since the previous backup&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Currently, using the "Feature Class to Shapefile (multiple)" conversion tool, I have been able to meet my first two conditions; however I have not been able to figure out how to satisfy my third condition or if their is a tool capable of doing this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would appreciate any advise on how to solve this issue.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;THANKS!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Marie&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2012 15:22:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/backing-up-files-using-model-builder/m-p/625923#M20744</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-06-15T15:22:11Z</dc:date>
    </item>
    <item>
      <title>Re: Backing Up Files Using Model Builder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/backing-up-files-using-model-builder/m-p/625924#M20745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: NobbirAhmed&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You don't get what you want for 2 and 3 with Feature Class to Shapefile (multiple).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. The tool does not override if a file already exists. It appends an underscore and a number to the name. So, if rivers.shp exists then the tool, when you try copy again, will name the data rivers_1.shp&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3. The tool does not compare states.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For the 3rd condition you can use Feature Compare tool. For doing that your workflow will be:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Make copies (using Copy Features in batch mode) of all original data to a base SDE location. These will be your base data to compare with. Ideally, base data should be in SDE workspace. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- As Feature Class To Shapefile will not override your existing data, I would suggest using Copy Features in batch mode. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- When updating (if you don't use SDE base data):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;first compare SDE current data with the base SDE data (using, for example, Feature Compare). If a dataset is changed the tool will return False in which case copy that data as a shapefile to the folder. Also, update the base data with the changed SDE data.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2012 20:25:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/backing-up-files-using-model-builder/m-p/625924#M20745</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-06-15T20:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: Backing Up Files Using Model Builder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/backing-up-files-using-model-builder/m-p/625925#M20746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Try the feature &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//001700000004000000"&gt;Compare tool&lt;/A&gt;&lt;SPAN&gt; in your model. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am assuming you are using the &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Iterate_Feature_Classes/00400000000r000000/"&gt;Feature Class Iterator&lt;/A&gt;&lt;SPAN&gt; in your model to iterate and copy your feature classes. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Use the Feature Compare tool and for the test feature class parameter (open the tool dialog. It&amp;nbsp; is the second parameter) give the path to your workspace that already contains the feature classes from previous backup : some thing like this C://Backup/%Name%. This %Name% is the variable name of the output of the Iterator. As long as the feature classes you are copying and the feature classes that already exists share the same name this will work.&amp;nbsp; For the first time you can just copy the feature class without worrying about copying only the feature classes that have been modified.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One of the outputs of&amp;nbsp; the feature compare tool is &lt;/SPAN&gt;&lt;STRONG&gt;Compare status&lt;/STRONG&gt;&lt;SPAN&gt; which becomes false if the feature classes you are comparing are different. You will have to set an if-then-else condition here to say if it is false run the feature class to shapefile tool, else do nothing. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There is a series of blogs on if-then-else blogs that will help you. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://blogs.esri.com/esri/arcgis/2011/06/06/modelbuilderifthenelse1/"&gt;If you are stuck at "if" �?? Part 1&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://blogs.esri.com/esri/arcgis/2011/06/06/modelbuilderifthenelse2/"&gt;If you are stuck at "if" �?? Part 2 �?? Example of using Script tool to create branches using if-else logic&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://blogs.esri.com/esri/arcgis/2011/09/12/modelbuilderifthenelse3/"&gt;If you are stuck at "if" �?? Part 3 �?? Does Extension Exists model example&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://blogs.esri.com/esri/arcgis/2011/09/20/modelbuilderifthenelse4/"&gt;If you are stuck at "if" �?? Part 4 �?? Does Selection Exists model example&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For your case just using the &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Calculate_Value/004000000004000000/"&gt;Calculate Value&lt;/A&gt;&lt;SPAN&gt; tool as shown in this blog &lt;/SPAN&gt;&lt;A href="http://blogs.esri.com/esri/arcgis/2011/06/06/modelbuilderifthenelse1/"&gt;If you are stuck at "if" �?? Part 1&lt;/A&gt;&lt;SPAN&gt; will suffice.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2012 20:39:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/backing-up-files-using-model-builder/m-p/625925#M20746</guid>
      <dc:creator>ShitijMehta</dc:creator>
      <dc:date>2012-06-15T20:39:07Z</dc:date>
    </item>
    <item>
      <title>Re: Backing Up Files Using Model Builder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/backing-up-files-using-model-builder/m-p/625926#M20747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: shitijmehta&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As Nobbir suggested you can use the Copy Features tool.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2012 20:44:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/backing-up-files-using-model-builder/m-p/625926#M20747</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-06-15T20:44:56Z</dc:date>
    </item>
    <item>
      <title>Re: Backing Up Files Using Model Builder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/backing-up-files-using-model-builder/m-p/625927#M20748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: MCline19&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The base data I am using are .sde files in a sde location.&amp;nbsp; When I try to make copies (using Copy Features) of the original .sde data, with my output location outside of the sde database, I am returned an error (which says, "A locator with this name does not exist.").&amp;nbsp; I need the output location to be outside of the sde database, which seems to be causing the problem.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Am I doing something wrong or is there something I can do to make this work?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2012 13:31:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/backing-up-files-using-model-builder/m-p/625927#M20748</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-06-18T13:31:39Z</dc:date>
    </item>
    <item>
      <title>Re: Backing Up Files Using Model Builder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/backing-up-files-using-model-builder/m-p/625928#M20749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you try copying one feature class manually? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Rigth-click on your data in the SDE database and select Copy... &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then, right-click on the local file geodatabase (outside of any SDE) and paste it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does it work?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2012 15:37:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/backing-up-files-using-model-builder/m-p/625928#M20749</guid>
      <dc:creator>NobbirAhmed</dc:creator>
      <dc:date>2012-06-19T15:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: Backing Up Files Using Model Builder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/backing-up-files-using-model-builder/m-p/625929#M20750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: bblankner&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi.&amp;nbsp; I'm helping Marie get this project done in her office.&amp;nbsp; We have the compare tool working and it outputs two items - 1. Output compare, and 2. Compare status.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Compare status is a boolean.&amp;nbsp; How exactly do we connect that to the rest of the model that executes?&amp;nbsp; Do we create an if-then code block and then draw a line from the Compare Status to it?&amp;nbsp; And what should go in the if-then code block?&amp;nbsp; We're trying to get it to work, but keep hitting dead ends.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2012 17:35:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/backing-up-files-using-model-builder/m-p/625929#M20750</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-06-19T17:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: Backing Up Files Using Model Builder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/backing-up-files-using-model-builder/m-p/625930#M20751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What values you are setting for your Compare Status output? I guess True/False. Just connect your next step to this output. When you run your model the subsequent steps will only be executed if the status is True.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2012 20:43:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/backing-up-files-using-model-builder/m-p/625930#M20751</guid>
      <dc:creator>NobbirAhmed</dc:creator>
      <dc:date>2012-06-19T20:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: Backing Up Files Using Model Builder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/backing-up-files-using-model-builder/m-p/625931#M20752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: shitijmehta&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you try the if-then-else blogs? Please try the &lt;/SPAN&gt;&lt;A href="http://blogs.esri.com/esri/arcgis/2011/06/06/modelbuilderifthenelse1/"&gt;Part 1&lt;/A&gt;&lt;SPAN&gt; using Calculate Value tool. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One of the outputs of the feature compare tool is Compare status which becomes false if the feature classes you are comparing are different. You will have to set an if-then-else condition here to say if it is false run the feature class to shapefile tool, else do nothing. The sequence of tools would be &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;OL&gt;&lt;BR /&gt;&lt;LI&gt;Feature Compare&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Calculate Value with if-then-else condition. Connect the output of feature compare tool to the calculate value tool as a &lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/A_quick_tour_of_using_preconditions/002w0000007r000000/"&gt;precondition&lt;/A&gt;. Pass the variable name of the output as &lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/A_quick_tour_of_using_inline_variable_substitution/002w0000001t000000/"&gt;inline variable&lt;/A&gt; in the Calculate Value tool like this %Compare Status%. See examples in the Part 1 blog. Your code has to say if the variable value is false return true. Set the data type parameter of the Calculate Value to Boolean.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Feature Class to Shapefile tool with the output of the Calculate Value tool connected to the Feature Class to Feature Class tool as a &lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/A_quick_tour_of_using_preconditions/002w0000007r000000/"&gt;precondition&lt;/A&gt;.&lt;/LI&gt;&lt;BR /&gt;&lt;/OL&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is a series of blogs on if-then-else blogs that will help you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://blogs.esri.com/esri/arcgis/2011/06/06/modelbuilderifthenelse1/"&gt;If you are stuck at "if" �?? Part 1&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://blogs.esri.com/esri/arcgis/2011/06/06/modelbuilderifthenelse2/"&gt;If you are stuck at "if" �?? Part 2 �?? Example of using Script tool to create branches using if-else logic&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://blogs.esri.com/esri/arcgis/2011/09/12/modelbuilderifthenelse3/"&gt;If you are stuck at "if" �?? Part 3 �?? Does Extension Exists model example&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://blogs.esri.com/esri/arcgis/2011/09/20/modelbuilderifthenelse4/"&gt;If you are stuck at "if" �?? Part 4 �?? Does Selection Exists model example&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For your case just using the Calculate Value tool as shown in this blog If you are stuck at "if" �?? Part 1 will suffice.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2012 21:57:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/backing-up-files-using-model-builder/m-p/625931#M20752</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-06-19T21:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: Backing Up Files Using Model Builder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/backing-up-files-using-model-builder/m-p/625932#M20753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: MCline19&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Shitijmehta,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This is how I am understanding your explaination of how to implement the If-Then condition using the Calculate Value tool; however, I'm sure my code block syntax is incorrect. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Expression: %CompareStatus(2)%&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Code Block:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IF %CompareStatus(2)% is false THEN&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; return true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; ELSE IF %CompareStatus(2)% is true THEN&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; return false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; ELSE end processing&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Data type:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Boolean&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After entering this information into the Calculate Value tool, the tool will still not accept a connection from the CompareStatus(2) output. It returns the following error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The Boolean value true does not meet the input requirements for any of the parameters of the Calculate Value tool.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Expression: (null)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Code Block: (null)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Data type: (null)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As always, thank you for your help!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2012 13:20:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/backing-up-files-using-model-builder/m-p/625932#M20753</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-06-20T13:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: Backing Up Files Using Model Builder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/backing-up-files-using-model-builder/m-p/625933#M20754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: MCline19&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;UPDATE:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was able to get the precondition set and the connection has been made between Compare Status and Calculate Value.&amp;nbsp; Additional to your suggestions, I had to right click on the Calculate Value tool, go to Properties, click the Precondition tab, and check the box next to Compare Status.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, I am still getting an error with regard to my syntax.&amp;nbsp; Any suggestions would be appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2012 14:53:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/backing-up-files-using-model-builder/m-p/625933#M20754</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-06-20T14:53:23Z</dc:date>
    </item>
    <item>
      <title>Re: Backing Up Files Using Model Builder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/backing-up-files-using-model-builder/m-p/625934#M20755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi MCline19, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Check the attached image. Hope this helps. Write back if this does not work.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2012 16:49:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/backing-up-files-using-model-builder/m-p/625934#M20755</guid>
      <dc:creator>ShitijMehta</dc:creator>
      <dc:date>2012-06-20T16:49:16Z</dc:date>
    </item>
    <item>
      <title>Re: Backing Up Files Using Model Builder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/backing-up-files-using-model-builder/m-p/625935#M20756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: MCline19&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Shitij,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was able to make a lot of progress with your last post.&amp;nbsp; Thank you!&amp;nbsp; However, there still seems to be something wrong with the code block.&amp;nbsp; It returns an error.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have attached an image of the model, the calculate value if-then code block, and the error message I receive when running the entire model.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The error states 'true' is not defined.&amp;nbsp; I also ran the model using 2 files I knew to be different, which returned the same error stating 'false' is not defined.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I apprecaite your help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2012 14:02:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/backing-up-files-using-model-builder/m-p/625935#M20756</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-06-21T14:02:13Z</dc:date>
    </item>
    <item>
      <title>Re: Backing Up Files Using Model Builder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/backing-up-files-using-model-builder/m-p/625936#M20757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi MCline19, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Try this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Put quotes around the x("%CompareStatus%") in the expression of the Calculate Value tool. Does that work?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2012 15:59:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/backing-up-files-using-model-builder/m-p/625936#M20757</guid>
      <dc:creator>ShitijMehta</dc:creator>
      <dc:date>2012-06-21T15:59:51Z</dc:date>
    </item>
  </channel>
</rss>

