Start building

Event starters

REST starter · request to response

Start a saved process from REST. Gallery simulation supplies an event envelope directly and does not activate a listener or contact external systems. Export and explicitly activate the configured starter on approved infrastructure.

  • REST API → REST API
  • Intermediate
  • 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 processREST starter · request to response3 activities

Scroll sideways to see the whole flow.

Flow diagram of REST starter · request to response3 activities and 2 transitions: REST starter · request to response, Normalize order result, Validated business result.REST starter · requestto responsestart1Normalize order resultdata.mapper2Validated businessresultend
List the 3 activities and 2 transitions

Activities

  1. REST starter · request to response start
  2. Normalize order result data.mapper
  3. Validated business result end

Transitions

  • REST starter · request to response → Normalize order result (on success)
  • Normalize order result → Validated business result (on success)

Walkthrough

  1. REST starter · request to responseChoose the source on the existing Start node, not a second receiver inside the process.
  2. Normalize order resultPreview and map the event envelope. Test the business flow with a supplied event without connecting to a broker.

What you will practise

  • Choose the source on the existing Start node, not a second receiver inside the process.
  • Preview and map the event envelope. Test the business flow with a supplied event without connecting to a broker.
  • Saving does not subscribe. Continuous sources require explicit live activation and durable journals; REST is served by the application runtime.

Sample cases

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

Sample Event

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
REST request. The gallery never activates it; sample runs pass the case input directly.
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
0dba88b200bccd21d2834d1409ca8780385d8ce0aa6f9d3ae60e4a0c90e83f52
Closure SHA-256
b24a4f7b242fd0b85c37cdd5d45d6ce42ce4c838812f4e3459d857a31fe9fe29
Runtime
1.27.0
Results
1/1 cases, 3/3 assertions, mode simulate, external calls: none.
Files in the closure
  • server/integration/example_packs/rest_starter_lab.json
  • server/integration/templates/rest_starter_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 rest_starter_lab
PYTHONPATH=. python scripts/export_public_gallery.py --check