maestro
2.2610
true
Maestro Orchestrate user guide
- Introduction
- Getting started
- Build on any canvas
- Build with Case
- Build with Flow
- Build with BPMN
- Operating
- Monitoring
- Reference information
Group by
Group the entries of a list by a shared field, and compute totals, averages, or counts for each group.
Groups a collection by a shared field and aggregates values like totals, averages, or counts.
Configuration
| Field | Required | Description |
|---|---|---|
| Input | Yes | The collection (array) to group. |
| Group by field | Yes | The field whose value determines the group. |
| Aggregations | No | Additional computed fields per group (count, sum, average, min, max, first, last, collect). |
Example
Group a list of orders by region and count the number of orders per region:
- Input:
$vars.fetchOrders1.output.body - Group by:
region - Aggregation:
orderCount= count
Output available as $vars.groupBy1.output.