The Package Workspace is the location of a folder that locates the contents of a shared geoprocessing package or service.
When a geoprocessing result is shared as either a geoprocessing package or service, all tools, scripts, datasets, and so on, are consolidated into a single folder. During consolidation, the tool being shared is updated with Package Workspace to ensure all tools, scripts, datasets, and so on, can be located when the shared task is reexecuted. Therefore, during reexecution, Package Workspace is set to the local folder that contains all needed elements to ensure that the task can be completed successfully.
- When executing a task, the Package Workspace is guaranteed to exist.
- The Package Workspace environment is read only; you cannot set the location directly.
- Each time a shared task is executed, Package Workspace is reset to the v101 folder for that task.