workflowAggregation
The workflowAggregation is a GraphQL API schema that retrieves aggregation data for workflows.
Argument | Description |
aggregations | The aggregation criteria for the requested data. |
tenant | The tenant string specifies the client's information for identification purposes. |
filter | A string used to filter out data that meets certain criteria. |
latest | 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:
Field | Description |
aggregations | 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.