Prevent duplicate process instances

Hi there,

while for sending messages, there is a field for a unique id (messageId) to prevent multiple instances of a message being published - is there a similar mechanism (or recommendation) for the creation of processes? For example, if we cannot guarantee, that our process starter does not get multiple requests to start the “same” process instance (with a given business key)? Besides using a separate database to track this business key…

Thanks in advance,
Martin Kresse

Hi @mkresse,

when you start your process instances with a message start event, you can get a single running instance when using the business key as correlation key: Messages | Camunda 8 Docs and Messages | Camunda 8 Docs

Hope this helps, Ingo