Start building

Orchestration

Parallel order records

Bounded isolated subprocesses with ordered results; no external systems.

  • JSON → JSON
  • Advanced
  • 10 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 processParallel order records3 activities

Scroll sideways to see the whole flow.

Flow diagram of Parallel order records3 activities and 2 transitions: Start, Parallel For Each, Return result.StartstartParallel For Eachparallel.foreach1Return resultend
List the 3 activities and 2 transitions

Activities

  1. Start start
  2. Parallel For Each parallel.foreach
  3. Return result end

Transitions

  • Start → Parallel For Each (on success)
  • Parallel For Each → Return result (on success)
SubprocessPrepare one order3 activities

Scroll sideways to see the whole flow.

Flow diagram of Prepare one order3 activities and 2 transitions: Start, Prepare record, Return result.StartstartPrepare recordassignReturn resultend
List the 3 activities and 2 transitions

Activities

  1. Start start
  2. Prepare record assign
  3. Return result end

Transitions

  • Start → Prepare record (on success)
  • Prepare record → Return result (on success)

Walkthrough

  1. Parallel For EachBounded isolated subprocesses with ordered results; no external systems.

What you will practise

  • Run the example in simulation and inspect recorded activity results.
  • Distinguish simulation assertions from live service qualification.

Sample cases

1 case with 1 assertion, run with python -m server.integration examples --all in simulation.

Safe simulation

Passed

Bounded isolated subprocesses with ordered results; no external systems.

Expected result The process completes in simulation without connecting to external systems.

1/1 assertions

  • Simulation completed

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
ce7cc2786049d92217417c8742dc1e591e755d9d286b79515c9822e8d423dbe4
Closure SHA-256
2526ca68813a571c593477c2a9508aa50a3d22509b051e40c1fa1909d2a9a151
Runtime
1.27.0
Results
1/1 cases, 1/1 assertions, mode simulate, external calls: none.
Files in the closure
  • server/integration/example_packs/v21_parallel_orders.json
  • server/integration/templates/v21_order_record.json
  • server/integration/templates/v21_parallel_orders.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 v21_parallel_orders
PYTHONPATH=. python scripts/export_public_gallery.py --check