Configuration
- Source — where the collection lives (usually an Assign holding a list). Anything that isn’t a list is treated as a single item, and an empty or missing source produces no groups.
- Key source — how to compute each item’s group key. Resolved against a
single binding named
itemholding the current element — use Extract with keyitemand a path, or Dated property with keyitemfor dated-property fields. - Value source — optional; what to put in each group’s
items. Leave it blank to keep the whole item. Set it when the list holds wrappers and you want the inner record: group a list of{key, row}pairs bykeyand pullrowout in the same step. - Output assign — where the group list is written. Each group is a map
with
key,itemsandcount. - On nil key — Group (default) keeps items with no key in their own bucket; Drop silently discards them; Halt flow stops the run. Prefer Drop or Halt flow when a missing key means the item can’t produce a valid record.
Tips
- Point a Flow Each at the output, then use Extract with path
itemsto feed an inner Flow Each — the outer loop walks groups, the inner walks that group’s rows. - Group headers live on the first item: Extract with path
items/0/ … reaches them without an extra node. - Groups come out in first-appearance order, so sort the source first if you need a specific ordering.