ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Workflow.Client.Models Namespace / IJobsManager Interface / GetJob Method
The id of the job.
Indicates whether to return extended and related properties for the job.
Indicates whether to return hold information for the job.
Example Version

GetJob Method (IJobsManager)
Get the details of a job by jobId. This method must be called on the MCT. Use QueuedTask.Run.
Syntax

Parameters

jobId
The id of the job.
extProps
Indicates whether to return extended and related properties for the job.
holds
Indicates whether to return hold information for the job.
Example
return await QueuedTask.Run(() => { var job = WorkflowClientModule.JobsManager.GetJob("123456789", true, true); });
How to get a job
// GetJob returns an existing job
try
{
  var jobManager = WorkflowClientModule.JobsManager;
  var job = jobManager.GetJob(jobId);
  // Do something with the job
}
catch (NotConnectedException)
{
  // Not connected to Workflow Manager server, do some error handling
}
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3.2 or higher.
See Also