Check job status

Tasks in the Spatial Analysis service run asynchronously, meaning that you submit a request (or job) and then poll the service for status. When you submit a request, the Spatial Analysis service returns a unique job ID for the transaction. You can use the job ID to periodically check the status of the job and messages.

Syntax:

1
http://<analysis url>/arcgis/rest/services/tasks/GPServer/<task name>/jobs/<jobId>

The job will start with a status of esriJobSubmitted. When the job has successfully completed, the job status will change to esriJobSucceeded and the resultsresource will be populated. You can append the paramUrlvalue from the resultsresource to the request with the job ID to retrieve the results of the task.

jobStatus values

The jobStatus property can have the following values:

  • esriJobSubmitted
  • esriJobWaiting
  • esriJobExecuting
  • esriJobSucceeded
  • esriJobFailed
  • esriJobTimedOut
  • esriJobCancelling
  • esriJobCancelled

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close