Messaging and events
Azure Queue → Blob → acknowledge
A bounded manual worker example. No automated redrive or exactly-once claim. A repeated archive key needs a business idempotency/reconciliation policy.
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 10 activities and 10 transitions
Activities
- Manual sample
start - Receive one message
azure_queue.receive - Parse message JSON
json.parse - Normalize order
data.mapper - Render archive JSON
json.render - Archive before acknowledgement
azure_blob.write - Acknowledge successful work
azure_queue.acknowledge - Business receipt
assign - No available message
assign - Return receipt
end
Transitions
- Manual sample → Receive one message (on success)
- Receive one message → Parse message JSON (condition: Message available)
- Receive one message → No available message (otherwise: Empty queue)
- No available message → Return receipt (on success)
- Parse message JSON → Normalize order (on success)
- Normalize order → Render archive JSON (on success)
- Render archive JSON → Archive before acknowledgement (on success)
- Archive before acknowledgement → Acknowledge successful work (on success)
- Acknowledge successful work → Business receipt (on success)
- Business receipt → Return receipt (on success)
Walkthrough
- Receive one messageReview the connected input/output mappings and declared connector permissions.
- Parse message JSONReview the connected input/output mappings and declared connector permissions.
- Normalize orderReview the connected input/output mappings and declared connector permissions.
- Render archive JSONReview the connected input/output mappings and declared connector permissions.
- Archive before acknowledgementReview the connected input/output mappings and declared connector permissions.
- Acknowledge successful workReview the connected input/output mappings and declared connector permissions.
- Business receiptReview the connected input/output mappings and declared connector permissions.
What you will practise
- Handle empty queues explicitly.
- Map JSON into a storage object with a different connection.
- Acknowledge only after business work succeeds.
Sample cases
3 cases with 8 assertions, run with python -m server.integration examples --all in simulation.
Archive then acknowledge
PassedExplicit fixtures only; no cloud request.
Expected result Successful archive followed by explicit acknowledgement.
3/3 assertions
- Completed simulation
- Expected receipt
- No unacknowledged messages
This sample run only; not a production certification.
Empty queue
PassedNo message is a normal routing result, not a failure.
Expected result No downstream business calls.
3/3 assertions
- Completed simulation
- Empty receipt
- No leased message
This sample run only; not a production certification.
Invalid message: never acknowledge
Expected failure verifiedParsing fails; no archive or acknowledgement fixture is available. In live operation the message becomes visible again after its visibility timeout.
Expected result Failed processing retains an unacknowledged message.
2/2 assertions
- Failed processing
- Unacknowledged for investigation
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
- Cloud SDKs (requirements-cloud.txt) needed only for live connections; simulation uses fixtures
- Simulation fixtures
azure_blob_archiveazure_blob · azure_blob.writeazure_queue_ordersazure_queue · azure_queue.receive, azure_queue.acknowledge
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
14b5bdce8a86569c11d18b35f844f3eef4239e1d5668e7f3e55282ea4faa1336- Closure SHA-256
bf15e12692a31db0f0a155021f0a3fce78a63512d39576f14cb4d4cfbf349511- Runtime
1.27.0- Results
- 3/3 cases, 8/8 assertions, mode simulate, external calls: none.
- Files in the closure
server/integration/example_packs/v14_azure_queue_archive.jsonserver/integration/templates/v14_azure_queue_archive.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 v14_azure_queue_archive PYTHONPATH=. python scripts/export_public_gallery.py --check