Transform and map
Customer orders · advanced mapping lab
Practice visual field mapping, nested collection aliases, business filters, exact-decimal totals and date transformations. No connector credentials or AI calls.
Last verified 2026-10-31 at f4ce7d0 — simulation fixtures
Studio activation is a one-time payment of USD 20.
Flow
Drawn at build time from the node positions in the template's process definitions. Numbered markers are the walkthrough stages.
Scroll sideways to see the whole flow.
List the 3 activities and 2 transitions
Activities
- Typed input
start - Normalize, filter & price
data.mapper - Return result
end
Transitions
- Typed input → Normalize, filter & price (on success)
- Normalize, filter & price → Return result (on success)
Walkthrough
- Open the visual mapperConnect fields and inspect each lineage wire; the schema supplies typed input and output trees.
- Calculate without float roundingOnly ready orders are retained. Nested lines keep their parent order ID and calculate decimal-string totals.
What you will practise
- Connect fields and inspect each lineage wire; the schema supplies typed input and output trees.
- Only ready orders are retained. Nested lines keep their parent order ID and calculate decimal-string totals.
Sample cases
2 cases with 10 assertions, run with python -m server.integration examples --all in simulation.
Two ready orders with exact total
PassedTwo ready orders with exact total. This example uses supplied data only.
Expected result Two ready orders with exact total; automatic checks verify the expected result.
7/7 assertions
- Expected process status
- Verify /name
- Verify /total
- Verify /orders/0/lines/0/orderId
- Verify /orders/0/lines/1/amount
- Verify /orders/1/total
- Verify /reviewOn
This sample run only; not a production certification.
Empty order collection
PassedEmpty order collection. This example uses supplied data only.
Expected result Empty order collection; automatic checks verify the expected result.
3/3 assertions
- Expected process status
- Verify /orders
- Verify /total
This sample run only; not a production certification.
Prerequisites
- Runtime
- Cohuno runtime 1.27.0, the version recorded when these cases last passed.
- Starter
- Manual start; no listener.
- Optional dependencies
- None beyond the base runtime.
- Simulation fixtures
- None: no activity in this template uses a connector.
Verification details
Provenance
What was verified, and when. The content part changes whenever the pack, a process in its closure, the runtime version or a case result changes; the gallery check then fails until the gallery is regenerated and the changed templates are verified again.
Verified content
- Pack SHA-256
5b3fcb399dc20a07e418eac1f3b655a2511c4be13729103340b291a57bb46f43- Closure SHA-256
31ea2d468e5cd4a8817f1016c0b28b890c12788d8d6f566d2d552dbf2168c449- Runtime
1.27.0- Results
- 2/2 cases, 10/10 assertions, mode simulate, external calls: none.
- Files in the closure
server/integration/example_packs/advanced_mapping_lab.jsonserver/integration/templates/advanced_mapping_lab.json
Verification event
- Commit
f4ce7d08eedc90267b405ed1974344153a8b3a34- Verified at (UTC)
2026-10-31T21:19:21Z
How the Cohuno team reproduces this check
PYTHONPATH=. python -m server.integration examples --example advanced_mapping_lab PYTHONPATH=. python scripts/export_public_gallery.py --check