Databases
Two databases → mapped SMTP notification
Choose two distinct named JDBC bindings and an independent SMTP relay. Simulation uses explicit registered-statement and mail-acceptance fixtures; no email is sent.
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 6 activities and 5 transitions
Activities
- Customer request
start - CRM database · customer lookup
jdbc.query - Billing database · balance lookup
jdbc.query - Compose plain-text notification
data.mapper - Send via notification relay
smtp.send - Return relay acceptance, not delivery
end
Transitions
- Customer request → CRM database · customer lookup (on success)
- CRM database · customer lookup → Billing database · balance lookup (on success)
- Billing database · balance lookup → Compose plain-text notification (on success)
- Compose plain-text notification → Send via notification relay (on success)
- Send via notification relay → Return relay acceptance, not delivery (on success)
Walkthrough
- Customer requestThe CRM lookup and billing lookup use different logical JDBC connections. Select a binding and its registered statement; credentials are never in the flow.
- CRM database · customer lookupMap values from both query outputs into a notification. JDBC driver vendor and network permissions are operator configuration.
- Billing database · balance lookupSend only through the selected SMTP relay and its recipient allowlist. Gallery simulation sends no email; acceptance by a relay is not delivery.
- Compose plain-text notificationSend only through the selected SMTP relay and its recipient allowlist. Gallery simulation sends no email; acceptance by a relay is not delivery.
- Send via notification relaySend only through the selected SMTP relay and its recipient allowlist. Gallery simulation sends no email; acceptance by a relay is not delivery.
What you will practise
- The CRM lookup and billing lookup use different logical JDBC connections. Select a binding and its registered statement; credentials are never in the flow.
- Map values from both query outputs into a notification. JDBC driver vendor and network permissions are operator configuration.
- Send only through the selected SMTP relay and its recipient allowlist. Gallery simulation sends no email; acceptance by a relay is not delivery.
Sample cases
1 case with 3 assertions, run with python -m server.integration examples --all in simulation.
Compose a balance notification
PassedRun the actual deterministic flow with supplied data. External connector effects use fixtures only.
Expected result Validate the exact output and successful execution without external services.
3/3 assertions
- Successful simulation
- Expected output
- No pending receipts
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
- Java 17+, the included JDBC bridge and your vendor JDBC driver (not bundled) needed only for live connections; simulation uses fixtures
- Simulation fixtures
billing_databasejdbc · jdbc.querycrm_databasejdbc · jdbc.querynotification_relaysmtp · smtp.send
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
a4f0ef764e8f565ba275130c01f57017d23000674a083e60da3b30a0397970a6- Closure SHA-256
00b23b61d7dec5867c6b23245b3caa980f64f895e49884ad4b404f3df9a5c6d3- Runtime
1.27.0- Results
- 1/1 cases, 3/3 assertions, mode simulate, external calls: none.
- Files in the closure
server/integration/example_packs/jdbc_smtp_notification_lab.jsonserver/integration/templates/jdbc_smtp_notification_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 jdbc_smtp_notification_lab PYTHONPATH=. python scripts/export_public_gallery.py --check