Original User: AshleyDIA
Hello,
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 > General > Delete).
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.
Why is WMX reading my "Folder" as a "File?"
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:
DeleteFolderParam.JPG is how the tool looks upon launch in WMX client app
DeleteFolderError.JPG is the error I get when I try to run my step
DeleteFolderStep.JPG is how my step looks in WMX admin (Launch GPTool)
DeleteFolderExpl.JPG is what happens if I drag the folder I want to delete into the Input Data Element parameter over my default parameter