ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Workflow.Client.Models Namespace / JobStatistics Class
Members Example

In This Topic
    JobStatistics Class
    In This Topic
    Job statistics results
    Syntax
    public class JobStatistics 
    Public Class JobStatistics 
    Example
    Get statistics for jobs
    var query = new JobStatisticsQuery()
    {
      // Search for open jobs assigned to users
      Q = "\"assignedType='User' AND closed=0 \""
    };
    var jobManager = WorkflowClientModule.JobsManager;
    var results = jobManager.CalculateJobStatistics(query);
    var totalJobs = results.Total;
    Inheritance Hierarchy

    System.Object
       ArcGIS.Desktop.Workflow.Client.Models.JobStatistics

    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.2 or higher.
    See Also