Skip To Content

Geoprocessing history

The geoprocessing tools you run are logged and saved with your project. You can view detailed information about each tool that was run and reopen them with the same settings you previously used. Geoprocessing history will help you be more productive and allow you to better understand the processes that created the data and layers in your project.

When you run any geoprocessing tool, an entry is added to Geoprocessing Geoprocessing History in the Catalog pane's History tab.

History entries

Each history entry maintains detailed information about the tool, including the following:

Manage history

If you open the project at a later time to continue your work, all of the geoprocessing tools you previously ran in the project will be available to review in geoprocessing history. You can easily reopen and run any of the tools in the history by double-clicking the entry, or right-click and select Open.

You can remove any history entries that you do not want to keep in your project. Select any entries you wish to remove, then right-click and select Remove. Single or multiple selected history entries can also be removed using the Remove button Delete located at the top of the history entries list.

Automate your geoprocessing work

You can use the geoprocessing tools you run from the Geoprocessing pane as a starting point to automate your work with Python or ModelBuilder.

  • Right-click any geoprocessing history entry and select Copy Python command to copy the geoprocessing tool command as a Python snippet. Learn more about running geoprocessing tools in Python
  • You can also directly add the Python snippet from a history entry to the Python window using the command Send To Python Window.
  • Geoprocessing history entries can be drag-and-dropped into ModelBuilder. The tool and all parameter settings will be copied into the model.
  • You can also right-click a history entry and select Add To Model and the tool and all data needed to run the tool will be added to an open model.

Share your analysis

Geoprocessing history plays a key role when sharing your analysis as either a geoprocessing package or a web tool. Any analysis you wish to share must first have been run successfully and logged in your geoprocessing history.

Learn more about sharing analysis

Geoprocessing logging options

There are two geoprocessing options that control how the geoprocessing tools you run are logged.

Write geoprocessing operations to XML log file

This option controls whether information about all the geoprocessing tools you run is written to an external log file. The log file is an .xml file stored in %APPDATA%\ESRI\ArcGISPro\ArcToolbox\History.

Write geoprocessing operations to dataset metadata

This option controls whether geoprocessing tool input and output datasets' metadata is updated to include the tool name, parameters, when the tool was run, and other information.

Note:

The Geoprocessing History section of dataset metadata can be viewed in the FGDC metadata style.