ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Desktop.Workflow.Client.Models Namespace / JobStatisticsQuery Class
Members Example

In This Topic
    JobStatisticsQuery Class
    In This Topic
    Job statistics query
    Syntax
    public class JobStatisticsQuery 
    Public Class JobStatisticsQuery 
    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.JobStatisticsQuery

    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.2 or higher.
    See Also