Orders by status
FreeLogic@rabbinatix/orders-by-status by Rabbinatixupdated Oct 4, 2026
Orders grouped by their `status`, and the list of statuses found.
Group By with the path status gives one list per status, in the original order; Keys lists the statuses.
Go through the groups with Entries and a For Each, for example to send one summary per status.
Shows: Group By, Keys.
How to use it
Add it to your logic, then add a Call Function step in any logic and pick Orders by status. It belongs to no system, so every system can use it. Or download the TypeScript and call it from your own code.
Inputs
orders: List of records
Outputs
groups: Record
statuses: List of texts
Previewdrag the steps around; scroll to zoom
Function Entry, Input / output. 0 inputs, 2 outputs. step 1 of 4
Orders by status
orders
Group By, Collection. 1 input, 1 output. step 2 of 4
Group By
array
result
Keys, Object. 1 input, 1 output. step 3 of 4
Keys
object
keys
Return, Input / output. 3 inputs, 0 outputs. step 4 of 4
Return
groups
statuses
Arrow keys: next or previous step in flow order. Alt with arrows: nearest step in that direction. Enter: open. Shift F10: more actions.
Examplesrun live against the logic · 2/2 pass
| Passed | Example | Input | Output |
|---|---|---|---|
| Three orders | {"orders":[{"id":1,"status":"paid"},{"id":2,"status":"open"},{"id":3,"status":"paid"}]} | {"groups":{"paid":[{"id":1,"status":"paid"},{"id":3,"status":"paid"}],"open":[{"id":2,"status":"open"}]},"statuses":["paid","open"]} | |
| No orders | {"orders":[]} | {"groups":{},"statuses":[]} |
Try it
Versions
In this package
Orders by status (entry)
