Select to view content in your preferred language

ArcGIS Pro 2.8.4: A model builder tool fails to respect the scratch workspace environment and ends up with an error,

1194
6
08-01-2022 11:08 PM
JamalNUMAN
Legendary Contributor

ArcGIS Pro 2.8.4: A model builder tool fails to respect the scratch workspace environment and ends up with an error,

 

Despite the fact that the scratch workspace environment is set properly, the marked tool in the screenshot below fails to respect this scratch workspace and ends up with an error. The “validate” tool is performed with no luck to resolve the issue

 

What could be the issue here?

 

Clip_1004.jpg

 

Clip_1005.jpg

----------------------------------------
Jamal Numan
Geomolg Geoportal for Spatial Information
Ramallah, West Bank, Palestine
0 Kudos
6 Replies
DanPatterson
MVP Esteemed Contributor

From 

Select (Analysis)—ArcGIS Pro | Documentation

the scratch workspace and the scratch folder are not supported environment parameters in a model or via python

Scratch Workspace (Environment setting)—ArcGIS Pro | Documentation

 


... sort of retired...
JamalNUMAN
Legendary Contributor

They are

 

Clip_1008.jpg

----------------------------------------
Jamal Numan
Geomolg Geoportal for Spatial Information
Ramallah, West Bank, Palestine
DanPatterson
MVP Esteemed Contributor

Not all tools support all environments.  Check the bottom of the link I posted for the "Select" tool


... sort of retired...
Brian_Wilson
Regular Contributor II

Be prepared for the fact that the workspace and scratch workspace settings might be ignored by any given tool and just work around it.

That documentation is wrong because the code is buggy.  Just how it is.

 

 

JamalNUMAN
Legendary Contributor

This needs to be highlighted to esri as an idea for enhancement. The “scratch workspace environment" is supposed to be respected by all model builder tools anyway

----------------------------------------
Jamal Numan
Geomolg Geoportal for Spatial Information
Ramallah, West Bank, Palestine
0 Kudos
JamalNUMAN
Legendary Contributor

Please, vote:

ArcGIS Pro 2.8.4: Enhancing the Pro to make sure that all model builder tools respect the “scratch w...

----------------------------------------
Jamal Numan
Geomolg Geoportal for Spatial Information
Ramallah, West Bank, Palestine
0 Kudos