ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Desktop.Workflow.Client.Models Namespace / IJobsManager Interface
Members Example

In This Topic
    IJobsManager Interface
    In This Topic
    Provides access to the jobs within Workflow Manager.
    Syntax
    public interface IJobsManager 
    Public Interface IJobsManager 
    Example
    How to get the job Id associated with the active map view
    // Get the job Id associated with the active map view
    var jobManager = WorkflowClientModule.JobsManager;
    var jobId = jobManager.GetJobId();
    How to get the job Id associated with a map
    // Get the job Id associated with a map
    mapUri = "myMapUri"; // Get a reference to a map using the ArcGIS.Desktop.Mapping API (active view, project item, etc.)
    var jobManager = WorkflowClientModule.JobsManager;
    var jobId = jobManager.GetJobId(mapUri);
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.1 or higher.
    See Also