JobStatistics CalculateJobStatistics( JobStatisticsQuery query )
Function CalculateJobStatistics( _ ByVal query As JobStatisticsQuery _ ) As JobStatistics
Parameters
- query
- The query used to search for jobs
JobStatistics CalculateJobStatistics( JobStatisticsQuery query )
Function CalculateJobStatistics( _ ByVal query As JobStatisticsQuery _ ) As JobStatistics
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;
Target Platforms: Windows 11, Windows 10