Transform and map
Two-line records · rows and columns
A customer record spans two physical rows. Line 1 carries identity and name; line 2 carries street and postal code. Nested output can be mapped without manual string slicing.
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 4 activities and 3 transitions
Activities
- Start
start - Parse fields on relative rows 1 and 2
format.parse - Render the same two-line contract
format.render - Return result
end
Transitions
- Start → Parse fields on relative rows 1 and 2 (on success)
- Parse fields on relative rows 1 and 2 → Render the same two-line contract (on success)
- Render the same two-line contract → Return result (on success)
Walkthrough
- Parse fields on relative rows 1 and 2Parse fields on relative rows 1 and 2
- Render the same two-line contractRender the same two-line contract
What you will practise
- Inspect each field position, data type and required rule.
- Run with known sample input and inspect expected versus actual results.
- Add an independent editable copy without activating live external connections.
Sample cases
2 cases with 6 assertions, run with python -m server.integration examples --all in simulation.
Two physical rows become one nested record
PassedRun the actual format and mapping engine; external operations use explicit simulation fixtures.
Expected result Two physical rows become one nested record — every expected result is checked.
4/4 assertions
- Process succeeded
- Nested customer name
- Postal code from row 2
- Round trip preserved
This sample run only; not a production certification.
Incomplete two-line record is rejected
Expected failure verifiedRun the actual format and mapping engine; external operations use explicit simulation fixtures.
Expected result Incomplete two-line record is rejected — every expected result is checked.
2/2 assertions
- Process failed
- Validation error
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
1d6cae17e56e0a8f2fb36dfc03c6f6b0d6f1da46c56cf2a998a12c234da4493d- Closure SHA-256
32d230a9a7afc3db9a5c326fa4f758bc85c9428fd1e7a6ff94cac526cf82a4db- Runtime
1.27.0- Results
- 2/2 cases, 6/6 assertions, mode simulate, external calls: none.
- Files in the closure
server/integration/example_packs/multiline_address_format.jsonserver/integration/templates/multiline_address_format.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 multiline_address_format PYTHONPATH=. python scripts/export_public_gallery.py --check