// Get the job Id associated with the active map view var jobManager = WorkflowClientModule.JobsManager; var jobId = jobManager.GetJobId();
// 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);
Target Platforms: Windows 11, Windows 10