Open chillleader opened 2 weeks ago
Concern: correlation key is needed for message start events inside subprocesses
Discussion about the example below (https://camunda.slack.com/archives/C02JLRNQQ05/p1725454462715789)
Example BPNM:
We identified that correlationKey
cannot simply be removed, but there is different use-cases for message start events:
correlationKey
can be defined to tie the message subscription to the parent process instancecorrelationKey
must not be defined.The documentation currently states:
The binding name of correlationKey is not applicable to message start events on a process. In such cases, the property is automatically hidden.
So while this property is redundant in some scenarios, it is applicable in others, and our implementation should already handle that case (*).
* To be verified 🙂
Describe the Bug
All generated message start event element templates have both Correlation key (process) and Correlation key (payload). However, Correlation key (process) does not apply to message start event (since the process is not yet running and has no variables). Although present in the element template, this redundant property doesn't show up in the latest versions of the Modeler.
Steps to Reproduce
Expected Behavior
We should remove this property from all message start event templates