Start building

Orchestration

Python → Java → Go · business logic

Normalize customer data in Python, apply an exact-decimal pricing rule in Java, and choose the route in Go. The gallery uses explicit source-hash-bound fixtures; the Code workbench can separately test real operator-approved source.

  • JSON → JSON
  • via Python, Java and Go code
  • 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 processPython → Java → Go · business logic5 activities

Scroll sideways to see the whole flow.

Flow diagram of Python → Java → Go · business logic5 activities and 4 transitions: Customer order, Python · normalize, Java · pricing rule, Go · route result, Return business result.Customer orderstart1Python · normalizecode.python2Java · pricing rulecode.java3Go · route resultcode.go4Return business resultend
List the 5 activities and 4 transitions

Activities

  1. Customer order start
  2. Python · normalize code.python
  3. Java · pricing rule code.java
  4. Go · route result code.go
  5. Return business result end

Transitions

  • Customer order → Python · normalize (on success)
  • Python · normalize → Java · pricing rule (on success)
  • Java · pricing rule → Go · route result (on success)
  • Go · route result → Return business result (on success)

Walkthrough

  1. Customer orderMap process input to a code activity; only explicitly mapped context reaches the worker.
  2. Python · normalizeInspect the exact source hash. Local execution requires a reviewed operator approval; it is not a sandbox.
  3. Java · pricing ruleUse Test on approved executor for real compilation/execution. Simulation never runs source.
  4. Go · route resultUse Test on approved executor for real compilation/execution. Simulation never runs source.

What you will practise

  • Map process input to a code activity; only explicitly mapped context reaches the worker.
  • Inspect the exact source hash. Local execution requires a reviewed operator approval; it is not a sandbox.
  • Use Test on approved executor for real compilation/execution. Simulation never runs source.

Sample cases

2 cases with 6 assertions, run with python -m server.integration examples --all in simulation.

Priority Order

Passed

The real process engine runs with supplied sample input. Code and external operations use explicit fixtures in gallery simulation.

Expected result Verify the mapped output, successful completion and zero pending simulated receipts.

3/3 assertions

  • Scenario completes
  • Expected business result
  • No pending simulated messages

This sample run only; not a production certification.

Standard Order

Passed

The real process engine runs with supplied sample input. Code and external operations use explicit fixtures in gallery simulation.

Expected result Verify the mapped output, successful completion and zero pending simulated receipts.

3/3 assertions

  • Scenario completes
  • Expected business result
  • No pending simulated messages

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
  • Operator authorization and installed toolchains or executor images for code activities needed only for live connections; simulation uses fixtures
Selected for this closure by the same rules as runtime packaging.
Simulation fixtures
  • code_demo code · code.python, code.java, code.go
Every sample run replaces these connections with the fixtures defined in its case. A live run needs an operator to configure an authorized connection for each.
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
bfcc84f22f2c324de58edfab206efc090197f4378c1669ff11818fbe3918de46
Closure SHA-256
566ec513cfadbea0c59009547bccd083976023086e35772efc5fc8b1b0c25236
Runtime
1.27.0
Results
2/2 cases, 6/6 assertions, mode simulate, external calls: none.
Files in the closure
  • server/integration/example_packs/polyglot_code_lab.json
  • server/integration/templates/polyglot_code_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 polyglot_code_lab
PYTHONPATH=. python scripts/export_public_gallery.py --check