Orchestration
pain.001 corporate batch to pacs.008
Check batch count and decimal control sum before rendering every transfer in order through pinned subprocesses; no batch is submitted. Synthetic local subset; no SWIFT connectivity, CBPR+ certification, sanctions screening or vendor parity is implied.
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 9 activities and 8 transitions
Activities
- Synthetic input
start - Parse corporate batch
xml.parse - Map totals
data.mapper - Check supported subset and correlation
choice - XSLT lower supported pain.001 subset
data.mapper - Select all payment fragments in source order
xml.xpath - Render every payment with pinned helpers
foreach - Reject unsupported or mismatched input
raise_error - Return evidence
end
Transitions
- Synthetic input → Parse corporate batch (on success)
- Parse corporate batch → Map totals (on success)
- Map totals → Check supported subset and correlation (on success)
- Check supported subset and correlation → XSLT lower supported pain.001 subset (condition)
- Check supported subset and correlation → Reject unsupported or mismatched input (otherwise)
- XSLT lower supported pain.001 subset → Select all payment fragments in source order (on success)
- Select all payment fragments in source order → Render every payment with pinned helpers (on success)
- Render every payment with pinned helpers → Return evidence (on success)
Scroll sideways to see the whole flow.
List the 5 activities and 4 transitions
Activities
- Synthetic input
start - Read one isolated Payment fragment
xml.parse - Map payment
data.mapper - Reuse pinned pacs.008 renderer
call_process - Return evidence
end
Transitions
- Synthetic input → Read one isolated Payment fragment (on success)
- Read one isolated Payment fragment → Map payment (on success)
- Map payment → Reuse pinned pacs.008 renderer (on success)
- Reuse pinned pacs.008 renderer → Return evidence (on success)
Scroll sideways to see the whole flow.
List the 6 activities and 5 transitions
Activities
- Synthetic input
start - Validate synthetic payment contract
json.validate - Check supported subset and correlation
choice - Render BAH and pacs.008 with escaped values
xml.render - Reject unsupported or mismatched input
raise_error - Return evidence
end
Transitions
- Synthetic input → Validate synthetic payment contract (on success)
- Validate synthetic payment contract → Check supported subset and correlation (on success)
- Check supported subset and correlation → Render BAH and pacs.008 with escaped values (condition)
- Check supported subset and correlation → Reject unsupported or mismatched input (otherwise)
- Render BAH and pacs.008 with escaped values → Return evidence (on success)
Walkthrough
- Parse corporate batchCheck batch count and decimal control sum before rendering every transfer in order through pinned subprocesses; no batch is submitted.
- Map totalsCheck batch count and decimal control sum before rendering every transfer in order through pinned subprocesses; no batch is submitted.
- XSLT lower supported pain.001 subsetCheck batch count and decimal control sum before rendering every transfer in order through pinned subprocesses; no batch is submitted.
- Select all payment fragments in source orderCheck batch count and decimal control sum before rendering every transfer in order through pinned subprocesses; no batch is submitted.
- Render every payment with pinned helpersCheck batch count and decimal control sum before rendering every transfer in order through pinned subprocesses; no batch is submitted.
What you will practise
- Check batch count and decimal control sum before rendering every transfer in order through pinned subprocesses; no batch is submitted.
- Inspect exact output and rejection cases using synthetic fixtures.
- Keep external-service acceptance separate from payment settlement.
Sample cases
3 cases with 9 assertions, run with python -m server.integration examples --all in simulation.
Happy path
PassedRun this synthetic case with isolated local fixtures. Synthetic local subset; no SWIFT connectivity, CBPR+ certification, sanctions screening or vendor parity is implied.
Expected result All declared value, outcome and trace checks must pass.
4/4 assertions
- Run outcome
- Verify /count
- Verify /control_sum
- Verify /submitted
This sample run only; not a production certification.
Wrong control sum
Expected failure verifiedRun this synthetic case with isolated local fixtures. Synthetic local subset; no SWIFT connectivity, CBPR+ certification, sanctions screening or vendor parity is implied.
Expected result All declared value, outcome and trace checks must pass.
3/3 assertions
- Run outcome
- Fail closed
- No effect: payments
This sample run only; not a production certification.
Wrong count
Expected failure verifiedRun this synthetic case with isolated local fixtures. Synthetic local subset; no SWIFT connectivity, CBPR+ certification, sanctions screening or vendor parity is implied.
Expected result All declared value, outcome and trace checks must pass.
2/2 assertions
- Run outcome
- Fail closed
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
c68c098a149092eed847975ec596db461e92ec48d6c945d600f99ffbd8b1af19- Closure SHA-256
157dbeec5c8c32b4174342ee2899efbdb9a44980a8858807eba966a6ac77717f- Runtime
1.27.0- Results
- 3/3 cases, 9/9 assertions, mode simulate, external calls: none.
- Files in the closure
server/integration/example_packs/swift_pain001_batch.jsonserver/integration/templates/swift_batch_item.jsonserver/integration/templates/swift_pain001_batch.jsonserver/integration/templates/swift_payment_mx.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 swift_pain001_batch PYTHONPATH=. python scripts/export_public_gallery.py --check