<?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: Delete GPTool's Data type parameter not defaulting properly in WMX in ArcGIS Solutions Questions</title>
    <link>https://community.esri.com/t5/arcgis-solutions-questions/delete-gptool-s-data-type-parameter-not-defaulting/m-p/253233#M303</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: AshleyDIA&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks Brian. That is a great work around. I was so wrapped up in that problem, I couldn't see this alternative solution.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Feb 2011 20:02:21 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2011-02-23T20:02:21Z</dc:date>
    <item>
      <title>Delete GPTool's Data type parameter not defaulting properly in WMX</title>
      <link>https://community.esri.com/t5/arcgis-solutions-questions/delete-gptool-s-data-type-parameter-not-defaulting/m-p/253231#M301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: AshleyDIA&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I created a custom step object in WMX that deletes a temporary folder at the end of a job (the folder is created at the beginning of the job). The step utilizes the "Delete" GPTool (Data Management Tools &amp;gt; General &amp;gt; Delete).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I try to run the step in the WMX client app, I get an error (ERROR 000800: The Value is not a member of Folder). I think the error has to do with Data Type parameter in my step. When I set the step up I did not include a parameter for data type (my understanding is that it cannot be changed anyway). The step defaults to the folder I want to delete, but the data type says "File" when the step launches. The step will not run. However, if I drag the folder (from Windows Explorer or ArcCatalog) I want to delete into the Input Data Element parameter, the data type parameter will change to "Folder." Additionally, the tool will show a red "X" by the data type parameter like there is something wrong, but the tool will run successfully. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Why is WMX reading my "Folder" as a "File?"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I checked the parameters in my step type in WMX Admin and it looks good. I have attached all images that are relevant to my issue:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;DeleteFolderParam.JPG is how the tool looks upon launch in WMX client app&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;DeleteFolderError.JPG is the error I get when I try to run my step&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;DeleteFolderStep.JPG is how my step looks in WMX admin (Launch GPTool)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;DeleteFolderExpl.JPG is what happens if I drag the folder I want to delete into the Input Data Element parameter over my default parameter&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Feb 2011 19:56:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-solutions-questions/delete-gptool-s-data-type-parameter-not-defaulting/m-p/253231#M301</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2011-02-11T19:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: Delete GPTool's Data type parameter not defaulting properly in WMX</title>
      <link>https://community.esri.com/t5/arcgis-solutions-questions/delete-gptool-s-data-type-parameter-not-defaulting/m-p/253232#M302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;GP tools that automatically/"smartly" change their parameters can be tricky to work with.&amp;nbsp; I've run into similar problems in the past and have used wrapper scripts to work around them.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In this case, I tried creating a GP model containing the "Delete" tool, then hardcoded the "Data Type" argument to be "Folder".&amp;nbsp; Calling this wrapper model from a Workflow Manager step seems to work.&amp;nbsp; Functionally, I don't think this is any different from what you did when you set the "data_type" argument to "Folder" in WMX, but it at least prevents any parameter errors from being displayed to the user.&amp;nbsp; Maybe give this a try...?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Brian D.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Feb 2011 13:59:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-solutions-questions/delete-gptool-s-data-type-parameter-not-defaulting/m-p/253232#M302</guid>
      <dc:creator>BrianDemers</dc:creator>
      <dc:date>2011-02-16T13:59:18Z</dc:date>
    </item>
    <item>
      <title>Re: Delete GPTool's Data type parameter not defaulting properly in WMX</title>
      <link>https://community.esri.com/t5/arcgis-solutions-questions/delete-gptool-s-data-type-parameter-not-defaulting/m-p/253233#M303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: AshleyDIA&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks Brian. That is a great work around. I was so wrapped up in that problem, I couldn't see this alternative solution.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Feb 2011 20:02:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-solutions-questions/delete-gptool-s-data-type-parameter-not-defaulting/m-p/253233#M303</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2011-02-23T20:02:21Z</dc:date>
    </item>
  </channel>
</rss>

