camunda / camunda-modeler

An integrated modeling solution for BPMN, DMN and Forms based on bpmn.io.
https://camunda.com/products/modeler
MIT License
1.51k stars 483 forks source link

camunda:topic is not applied to message throw events using element templates #2250

Open ingorichtsmeier opened 3 years ago

ingorichtsmeier commented 3 years ago

Describe the Bug

In the modeler I want to implement a message throw event (intermediate or end) with an external task worker.

If I setup an element template for this, the camunda:topic is not applied in the XML.

Steps to Reproduce

  1. Use this element template: message-correlation.zip

  2. install it in the modeler

  3. model a service task, intermediate message throw event and message end event.

  4. Apply the element temaple to all three bpmn elements

  5. fill values into the fields

  6. inpect the XML

Expected Behavior

camunda:topic is applied to all three elements.

Instead it's only applied to the service task.

Environment


Related to https://github.com/camunda/camunda-modeler/issues/343

MaxTru commented 3 years ago

Thanks for reporting. I can re-produce it and on top: also the implementation type (external) is not applied.

After having a quick look, I would say, that these fields are not set since they would need to be set on the messageEventDefinition. We don't have a direct templating support for them. (Note that one would also not be able to tempalte the message which might need to be referenced)

Related: https://github.com/camunda/camunda-modeler/issues/861