Events and messaging
Processes often outlive the request that starts them. Events and broker messages let work resume when another system has the information it needs.
Correlated waits
A wait state describes the event it expects and its correlation. The instance parks until an appropriate event arrives. RabbitMQ and Kafka can supply broker-bound waits; saved connections configure access to the broker.
The event-driven order sample waits for payment on RabbitMQ, dispatch on Kafka, and delivery confirmation on RabbitMQ. The event coordination pattern illustrates these handoffs.
Start from a message
Definition-level triggers can start a process from a broker message. The technical documentation describes deduplication, rejected starts and Kafka offset handling. A message trigger is distinct from a wait inside an existing instance.
Early arrivals and broadcast
The message inbox can buffer supported broker messages that arrive before an instance parks. Buffering and expiry depend on the wait source configuration. Do not assume that any arbitrary event is retained forever.
POST /signals addresses instances waiting on an event without requiring a single-instance delivery. Review its exact authorization and matching behavior in the API reference before using it operationally.
Publishing from a process
Use the publish action with a configured broker connection. Do not embed credentials in the definition or expose unrestricted broker actions through a public demo.
For a working environment, use Duna’s broker demo walkthrough and connection payloads. Delivery guarantees depend on the configured brokers, consumers and failure handling.