Start building

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.

  • JSON → JSON
  • Advanced
  • 5 min

Last verified 2026-10-31 at f4ce7d0 — simulation fixtures

Try this template in Studio

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.

Main processCustomer orders · advanced mapping lab3 activities

Scroll sideways to see the whole flow.

Flow diagram of Customer orders · advanced mapping lab3 activities and 2 transitions: Typed input, Normalize, filter & price, Return result.Typed inputstartNormalize, filter &pricedata.mapper1Return resultend
List the 3 activities and 2 transitions

Activities

  1. Typed input start
  2. Normalize, filter & price data.mapper
  3. Return result end

Transitions

  • Typed input → Normalize, filter & price (on success)
  • Normalize, filter & price → Return result (on success)

Walkthrough

  1. Open the visual mapperConnect fields and inspect each lineage wire; the schema supplies typed input and output trees.
  2. 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

Passed

Two 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

Passed

Empty 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.json
  • server/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