Start building

Event starters

File poller · normalize new orders

Start a saved process from FILE. 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.

  • Files → JSON
  • 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 processFile poller · normalize new orders4 activities

Scroll sideways to see the whole flow.

Flow diagram of File poller · normalize new orders4 activities and 3 transitions: File poller · normalize new orders, Parse event body, Normalize order result, Validated business result.File poller ·normalize new ordersstart1Parse event bodyjson.parse2Normalize order resultdata.mapper3Validated businessresultend
List the 4 activities and 3 transitions

Activities

  1. File poller · normalize new orders start
  2. Parse event body json.parse
  3. Normalize order result data.mapper
  4. Validated business result end

Transitions

  • File poller · normalize new orders → Parse event body (on success)
  • Parse event body → Normalize order result (on success)
  • Normalize order result → Validated business result (on success)

Walkthrough

  1. File poller · normalize new ordersChoose the source on the existing Start node, not a second receiver inside the process.
  2. Parse event bodyPreview and map the event envelope. Test the business flow with a supplied event without connecting to a broker.
  3. Normalize order resultSaving does not subscribe. Continuous sources require explicit live activation and durable journals; REST is served by the application runtime.

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
File poller on connection files_demo. The gallery never activates it; sample runs pass the case input directly.
Optional dependencies
None beyond the base runtime.
Simulation fixtures
No activity uses a connector. The starter's connection files_demo is never opened in simulation; sample runs pass the case input directly.
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
ddd4f64573a1406eccc77a7a627162b2b0f8ca8ca1d551460f75da69869c7909
Closure SHA-256
d97a5b7f9c1ccb4f17e7fc95a84314a8de097c80208e10900fd2d2db13b0f57c
Runtime
1.27.0
Results
1/1 cases, 3/3 assertions, mode simulate, external calls: none.
Files in the closure
  • server/integration/example_packs/file_starter_lab.json
  • server/integration/templates/file_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 file_starter_lab
PYTHONPATH=. python scripts/export_public_gallery.py --check