Solved! Go to Solution.
Shiko,
Here's something I do for all of my tools I create for other users.
Create Workspace variable, make it a parameter, and have users navigate to the Selection_Results folder on their system before running the tool. You can then make it a precondition before running the Zonal Statistics as a Table tool.
By default, the workspace variable will be called "Workspace", and for the output table you would simply replace "C:\Work\Selection_Results" with %Workspace%. Your output table variable will then look like: %Workspace%\OutputTable . Note, if you change the variable name from "Workspace" simply call the new variable name between percentage signs.
If Selection_Results folder does not exist on someone's system, the tool will still output the table into whatever workspace the user chooses.
Hope this helps!
Chris B.
for my current model I have several "Workspace" parameters, this was because we needed to save our intermediate files, so we specified them with a workspace parameter named differently. Try setting more then one "workspace" parameter. Our output files have a parameter called "Output Location" and our intermediate files have one called "Temporary Files" ect... don't forget the %Temporary Files%\reclass1 ect.