ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Help
  • Sign Out
ArcGIS Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS Desktop

A complete professional GIS

ArcGIS Enterprise

GIS in your enterprise

ArcGIS Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

ArcMap

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • Extensions

Making intermediate data managed data

In some cases, model tools are unable to create intermediate data. When a model is meant to create intermediate data but is unable to do so, the model will fail and display error messages. These error messages may contain statements like "Unexpected error" when the model cannot create its intermediate data, typically because the output folder or geodatabase does not exist.

One technique that ensures that models can create and delete intermediate data is to manage all intermediate data variables with the model. When data elements are managed by the model, they are stored by default in the scratch workspace (if this environment is set) or other system paths.

  1. In ModelBuilder, right-click all intermediate data variables one at a time and choose Managed. A check mark appears next to Managed.
  2. Click Model > Model Properties.
  3. Click the Environments tab.
  4. Expand the Workspace category and check Scratch Workspace.
  5. On the Environment Settings dialog box, navigate to the workspace file geodatabase that you want to use for writing the scratch data.
  6. Click OK.
  7. Execute your model.
  8. Making intermediate data managed will ensure that ModelBuilder manages the intermediate data, and setting the scratch workspace ensures that the intermediate data has a place to be created and deleted.

Related topics

  • A quick tour of managing intermediate data

ArcGIS Desktop

  • Home
  • Documentation
  • Support

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Esri Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
Copyright © 2021 Esri. | Privacy | Legal