The workflowAggregation is a GraphQL API schema that retrieves aggregation data for workflows.
The aggregation criteria for the requested data.
The tenant string specifies the client's information for identification purposes.
A string used to filter out data that meets certain criteria.
A boolean value indicating whether to retrieve only the latest version of each workflow. Default is false.
The workflowAggregation returns a data object with the following fields:
Contains the aggregated data according to the specified criteria in the aggregations argument.
Here is a sample GraphQL query using the workflowAggregation schema:
In this query, we are asking for a count of all active workflows (where status equals active) for the exampleTenant tenant, considering only the latest versions of these workflows (with latest set to true). The count result will be returned in the aggregations field.